diffusion_rs_common::core::safetensors

Function load_buffer

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