megengine.Tensor.device

property Tensor.device

Returns a string represents the device a Tensor storaged on.

See also

see The device where the Tensor is located for more details.