candle_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<'a> Load for TensorView<'a>

Source§

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

Implementors§