diffusion_rs_common::core::safetensors

Function load

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