Skip to content

Instantly share code, notes, and snippets.

@bhavbhavyaa
Created July 13, 2021 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhavbhavyaa/343e88f6b7b8fdbc7674c4c91794258e to your computer and use it in GitHub Desktop.
Save bhavbhavyaa/343e88f6b7b8fdbc7674c4c91794258e to your computer and use it in GitHub Desktop.
input_size = 15
hidden_layer_size = 50
model = tf.keras.Sequential([
tf.keras.layers.Dense(hidden_layer_size, activation='relu'),
tf.keras.layers.Dense(hidden_layer_size, activation='relu'),
tf.keras.layers.Dense(hidden_layer_size, activation='relu'),
tf.keras.layers.Dense(2, activation='relu'),
tf.keras.layers.Dense(1, activation = 'sigmoid')
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment