Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.