What is the difference between tf.keras.Input((a, b, c)) and tf.keras.layers.InputLayer(input_shape=(a,b,c))

The reason for this post is because in the first exercise of task 2 of week 1 the function tf.keras.layers.InputLayer(input_shape=(a,b,c)) was not working and gave me this error
image
so I searched the internet and found the first function mentioned(tf.keras.Input((a, b, c))) and everything worked, but with the second function it didn’t work, does anyone know why this happens?

Sorry, but I don’t understand your description.
There are two assignments in Week 1: “Step by step”, and “Convolutional NN: Application”.
What’s the name of the assignment and function you’re working on?

Also, I found this thread by searching the internet:

2 Likes

man! thanks this link resolves my question