Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created April 19, 2019 12:39
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 NMZivkovic/897133c9d80e0917d4504172d6fab293 to your computer and use it in GitHub Desktop.
Save NMZivkovic/897133c9d80e0917d4504172d6fab293 to your computer and use it in GitHub Desktop.
import tensorflow as tf
from tensorflow.keras.layers import Input, Dense
input_layer = Input(shape=(2,))
model = Dense(3, activation='relu')(input_layer)
model = Dense(1, activation='softmax')(model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment