Skip to main content

storage_payload_native_read_input

Function storage_payload_native_read_input 

Source
pub fn storage_payload_native_read_input(
    storage: &Storage,
) -> Result<NativeTensorReadInput<'_>>
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.