candle_core::safetensors

Function load_buffer

Source
pub fn load_buffer(
    data: &[u8],
    device: &Device,
) -> Result<HashMap<String, Tensor>>