pub struct QParamsExpand { /* private fields */ }Implementations§
Source§impl QParamsExpand
impl QParamsExpand
pub fn __expand_values_method( self, context: &mut Scope, tensor: <QTensor as CubeType>::ExpandType, ) -> <(f32, i32) as CubeType>::ExpandType
pub fn __expand_new( context: &mut Scope, scheme: <QuantizationScheme as CubeType>::ExpandType, ) -> Self
pub fn __expand_values( context: &mut Scope, this: Self, tensor: <QTensor as CubeType>::ExpandType, ) -> <(f32, i32) as CubeType>::ExpandType
Trait Implementations§
Source§impl Clone for QParamsExpand
impl Clone for QParamsExpand
Source§impl CubeDebug for QParamsExpand
impl CubeDebug for QParamsExpand
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Auto Trait Implementations§
impl Freeze for QParamsExpand
impl RefUnwindSafe for QParamsExpand
impl Send for QParamsExpand
impl Sync for QParamsExpand
impl Unpin for QParamsExpand
impl UnwindSafe for QParamsExpand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more