pub struct K3Graph {
pub layers: Vec<K3LayerSpec>,
pub hidden: usize,
pub attn_res_block_size: usize,
pub situ_beta: f32,
pub situ_linear_beta: f32,
pub use_full_rank_gate: bool,
pub mla_use_nope: bool,
pub mla_use_output_gate: bool,
}Fields§
§layers: Vec<K3LayerSpec>§attn_res_block_size: usize§situ_beta: f32§situ_linear_beta: f32§use_full_rank_gate: bool§mla_use_nope: bool§mla_use_output_gate: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for K3Graph
impl RefUnwindSafe for K3Graph
impl Send for K3Graph
impl Sync for K3Graph
impl Unpin for K3Graph
impl UnwindSafe for K3Graph
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more