How to convert datatype

hi guys, please how do i convert .float64 to .float32 on my colab?
please help

1 Like

Use .float() method of the tensor.

2 Likes

Ok let me check for .float argument