Question from the TensorFlow test

Define a regression neural network in TensorFlow

Medium

How would you define the following neural network?

model= keras.models.Sequential()

model.add(keras.layers.Dense(30, activation="relu", input_shape=x_train_scaled.shape[1:]))

model.add(keras.layers.Dense(15, activation="relu"))

model.add(keras.layers.Dense(1))
Author: W3D TeamStatus: PublishedQuestion passed 79 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!