pub fn storage_payload_native_read_input(
storage: &Storage,
) -> Result<NativeTensorReadInput<'_>, BridgeError>Expand description
Build a read-only native tensor input over the compact storage payload.
Contiguous payloads are borrowed without copying. Non-contiguous payloads are materialized into an owned native tensor.
ยงErrors
Returns an error when the storage payload cannot be read into a native buffer (a scalar-kind mismatch or backend failure).