whenever I’m trying sin in a tensor , it’s showing this error …
I’m guessing you created the tensor incorrectly.
Try changing the dtype to float (whatevernameforyourtensor.float()
)
whenever I’m trying sin in a tensor , it’s showing this error …
I’m guessing you created the tensor incorrectly.
Try changing the dtype to float (whatevernameforyourtensor.float()
)