Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Commit 34dabe4

Browse files
committed
workflow with sm pipelines: model def file
1 parent ff27449 commit 34dabe4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import tensorflow as tf
2+
3+
4+
def get_model():
5+
6+
inputs = tf.keras.Input(shape=(13,))
7+
hidden_1 = tf.keras.layers.Dense(13, activation='tanh')(inputs)
8+
hidden_2 = tf.keras.layers.Dense(6, activation='sigmoid')(hidden_1)
9+
outputs = tf.keras.layers.Dense(1)(hidden_2)
10+
return tf.keras.Model(inputs=inputs, outputs=outputs)

0 commit comments

Comments
 (0)