Hi, I am new to TensorFlow and have some questions.
- What’s the difference between
model = tf.keras.Sequential( [tfl…])
and
model = tf.keras.Sequential()
model.add(tfl…) …
I have some codes that work in the latter setting but not the former.
-
For zero padding, can I use the following code
tfl.ZeroPadding2D((?,?), input_shape=(?))
something like that? Questions marks were used to respect the honor code. -
I got the following error message: File “”, line 38
tfl.Conv2D(32, kernel_size=(7, 7), strides=1)
^
SyntaxError: invalid syntax
What’s wrong here?