loadTensorStorageMapped

Create a file-backed TensorStorage that references the tensor's bytes in the original file without loading them into heap.

Parameters

tensor

The tensor info from tensors list

filePath

Path to the SafeTensors file