torch.Tensor.Tensor.getCPUStorage
Tensor.getCPUStorage(): Float32Array | Int32Array | Uint32Array | Int8Array | Uint8ArrayGet the CPU storage (throws if tensor is on GPU).
Returns
Float32Array | Int32Array | Uint32Array | Int8Array | Uint8ArrayTensor.getCPUStorage(): Float32Array | Int32Array | Uint32Array | Int8Array | Uint8ArrayGet the CPU storage (throws if tensor is on GPU).
Float32Array | Int32Array | Uint32Array | Int8Array | Uint8Array