Learn practical skills, build real-world projects, and advance your career
import torch

 
t1 = torch.tensor(4.)
t1
tensor(4.)
t1.dtype
torch.float32