Tensor Attributes

API名称

是否支持

限制与说明

torch.dtype

是

  

torch.device

否

  

torch.layout

是

  

torch.memory_format

否