candle_core::safetensors

Function load

Source
pub fn load<P: AsRef<Path>>(
    filename: P,
    device: &Device,
) -> Result<HashMap<String, Tensor>>