Hi,
the code for the model in Lab1 has the input_shape parameter:
model = tf.keras.Sequential([keras.layers.Dense(units=1, input_shape=[1])])
Our training data set has a batch size of 6. In the documentation, tf.keras.layers.Dense | TensorFlow v2.12.0 , there is no mention of this argument.
further down the documentation, Input Shape, it says: N-D tensor with shape: (batch_size, …, input_dim)
tried removing this argument from the layer, the code did not work.
Please, advise what is this arg for.
Thanks in advance!