KdaTensorSource

Trait KdaTensorSource 

Source
pub trait KdaTensorSource {
    // Required methods
    fn get(&self, name: &str) -> Option<RawTensor<'_>>;
    fn names(&self) -> Vec<String>;
}
Expand description

A checkpoint slice scoped to ONE decoder layer. Names are layer-relative (self_attn.q_proj.weight), so the same binder works for any layer index and any container.

Required Methods§

Source

fn get(&self, name: &str) -> Option<RawTensor<'_>>

Source

fn names(&self) -> Vec<String>

Every layer-relative name present, including non-attention ones.

Implementors§