每torch.Tensor有一个torch.dtype,torch.device和torch.layout。

1 torch.dtype

2 torch.device

3 torch.layout