I'm debugging my python program.
I have np.cos(param_t_10[0])
returns 5.9168e-06
where param_t_10[0] == tensor(-1.5708)
If I print np.cos(-1.5708)
I get -3.673205103346574e-06
which is the correct value.
Can anyone explain me what am I doing wrong?