Is there a mistake in the C2W2, Data Tensorflow section on the slide?
Can someone explain why numbers represented in Tensor differ after we transform them into Numpy Array?
tensor([0.2. 0.7 0.3])
array([1.466 1.12 3.21])
Hello @Ali_Zeynalli, thank you for the question!
Yes, they should be the same as you said when you print them one right after the other. The key idea here is we can use .numpy()
to get a numpy output. And we have also reported this to the team. Thank you again!