Created
November 9, 2021 16:21
-
-
Save gallettilance/822e250ad334328781d1a0125f8dbd33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tensorflow import keras | |
model = keras.models.Sequential() | |
model.add(keras.layers.Dense(4, input_dim=1, activation='relu')) | |
model.add(keras.layers.Dense(1)) | |
model.compile(loss="mean_squared_error") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment