pub struct ExpertTables {
pub a: Vec<u64>,
pub b: Vec<u64>,
pub scale: Vec<f32>,
pub n_experts: u32,
}Expand description
Host-side packed tables from pack_expert_tables, ready for H2D upload.
Fields§
§a: Vec<u64>§b: Vec<u64>§scale: Vec<f32>§n_experts: u32Trait Implementations§
Source§impl Clone for ExpertTables
impl Clone for ExpertTables
Source§fn clone(&self) -> ExpertTables
fn clone(&self) -> ExpertTables
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExpertTables
impl Debug for ExpertTables
Source§impl PartialEq for ExpertTables
impl PartialEq for ExpertTables
impl StructuralPartialEq for ExpertTables
Auto Trait Implementations§
impl Freeze for ExpertTables
impl RefUnwindSafe for ExpertTables
impl Send for ExpertTables
impl Sync for ExpertTables
impl Unpin for ExpertTables
impl UnwindSafe for ExpertTables
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