diffusion_rs_common::core::safetensors

Trait Load

source
pub trait Load {
    // Required method
    fn load(&self, device: &Device) -> Result<Tensor>;
}

Required Methods§

source

fn load(&self, device: &Device) -> Result<Tensor>

Implementations on Foreign Types§

source§

impl Load for TensorView<'_>

source§

fn load(&self, device: &Device) -> Result<Tensor>

Implementors§