print(my_tensor.shape) cuda:0 True torch.float32 torch.Size([2, 3]) x=torch.empty(size=(3,3)) print(x) tensor([[0., 0., 0.], [0., 0., 0.] ...
確定! 回上一頁