megengine.Tensor.device#

property Tensor.device#

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

参见

更多信息参考 Tensor 所在设备