pub struct RuntimeProfile {
pub batch_size: usize,
pub sequence_len: usize,
pub bytes_per_param: usize,
pub bytes_per_activation: usize,
pub bytes_per_kv: usize,
}Fields§
§batch_size: usize§sequence_len: usize§bytes_per_param: usize§bytes_per_activation: usize§bytes_per_kv: usizeImplementations§
Trait Implementations§
Source§impl Clone for RuntimeProfile
impl Clone for RuntimeProfile
Source§fn clone(&self) -> RuntimeProfile
fn clone(&self) -> RuntimeProfile
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 RuntimeProfile
impl Debug for RuntimeProfile
Source§impl PartialEq for RuntimeProfile
impl PartialEq for RuntimeProfile
impl Copy for RuntimeProfile
impl Eq for RuntimeProfile
impl StructuralPartialEq for RuntimeProfile
Auto Trait Implementations§
impl Freeze for RuntimeProfile
impl RefUnwindSafe for RuntimeProfile
impl Send for RuntimeProfile
impl Sync for RuntimeProfile
impl Unpin for RuntimeProfile
impl UnsafeUnpin for RuntimeProfile
impl UnwindSafe for RuntimeProfile
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