I was working on problem 18 and it is throwing an assertion error when checking the equality between the target and the function output. However, the two tensors seem to be equal. Am I missing something?
This is our fault. All the other problems are integers so torch.equal works. However for this one it is a float so it should be ".almost_equal". But your answer looks right.
I was working on problem 18 and it is throwing an assertion error when checking the equality between the target and the function output. However, the two tensors seem to be equal. Am I missing something?