Trait candle_lora::Saveable

source ·
pub trait Saveable {
    // Required method
    fn get_tensors(&self, accum: &mut HashMap<String, Tensor>);
}

Required Methods§

source

fn get_tensors(&self, accum: &mut HashMap<String, Tensor>)

Implementations on Foreign Types§

source§

impl Saveable for Conv1d

source§

fn get_tensors(&self, _accum: &mut HashMap<String, Tensor>)

source§

impl Saveable for Conv2d

source§

fn get_tensors(&self, _accum: &mut HashMap<String, Tensor>)

source§

impl Saveable for Embedding

source§

fn get_tensors(&self, _accum: &mut HashMap<String, Tensor>)

source§

impl Saveable for Linear

source§

fn get_tensors(&self, _accum: &mut HashMap<String, Tensor>)

Implementors§