Quiz question 2

Please see question 2 of this week’s quiz:

I believe my answer would be right since the function does take 2 different arguments X_train and Y_train. It seems from the function definition that the question wants me to write code for training a noisy image like in the exercise in which case I think my answer should be right. Of course, I could have missed something.

1 Like

The function definition provided there is a decoy to trick you into the answer you picked. Check out this TensorFlow doc Intro to Autoencoders which includes this narrative Train the model using x_train as both the input and the target and this code example…

autoencoder.fit(x_train, x_train,
                validation_data=(x_test, x_test))