PyTorch: Fundamentals: C1M4_assingment.ipynb - Programming Assignment (EXERCISE 1)

Hi,
I am getting the output as expected. However, unittest for the exercise keeps failing. Please see the image.

Could someone explain what is wrong in this?

It is possible that the decimals following the ones shown here might not be the same; in that case, your solution might not be right! Just an idea…

Hi @Anton_Aro,

This is happening because you have hardcoded the values of mean and std in your implementation, instead of using the function arguments to set those.

Best,
Mubsi

2 Likes