shard_bytes

Function shard_bytes 

Source
pub fn shard_bytes(plan: &KdaTensorPlan, full: &[u8]) -> Result<Vec<u8>>
Expand description

This rank’s bytes for one tensor, given its plan entry.

full is the whole on-disk tensor. Returns a fresh buffer because a column slice is not contiguous and cannot be borrowed.