megengine.Tensor.device

property Tensor.device

返回一个表示 Tensor 所在的设备的字符串

参见

see Tensor 所在设备 for more details.