评价此页

torch.Tensor.data_ptr#

Tensor.data_ptr() int#

返回 self 张量第一个元素的地址。