Skip to content

Instantly share code, notes, and snippets.

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