mindspore.Tensor.storage

Tensor.storage()

Returns the tensor's storage, which is dtype-agnostic. Supported on the CPU/GPU/Ascend platform.

Returns:

UntypedStorage, the underlying storage implementation.

Raises:

RuntimeError – The storage of the tensor does not exist.