mindspore.Tensor.storage

Tensor.storage()

Returns the tensor's storage, which is dtype-agnostic. Currently only supported on the Ascend platform.

Returns

UntypedStorage, the underlying storage implementation.

Raises

RuntimeError – The storage of the tensor does not exist on Ascend.