pub fn read(source: &dyn ByteSource, object: ObjectId) -> Result<Inventory>Expand description
Read one safetensors header through a byte source. Tensor payloads remain in that source; successful inspection does not claim their bytes were verified.
pub fn read(source: &dyn ByteSource, object: ObjectId) -> Result<Inventory>Read one safetensors header through a byte source. Tensor payloads remain in that source; successful inspection does not claim their bytes were verified.