pub struct QuantizedViewExpand<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> { /* private fields */ }Implementations§
Source§impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> QuantizedViewExpand<Q, S, F, C>
impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> QuantizedViewExpand<Q, S, F, C>
pub fn new( values: ViewExpand<Line<Q>, C>, scales: ViewExpand<S, C>, scheme: QuantScheme, ) -> Self
pub fn __expand_view_method( self, _scope: &mut Scope, ) -> ViewExpand<Line<F>, C, ReadOnly>
Trait Implementations§
Source§impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> Clone for QuantizedViewExpand<Q, S, F, C>
impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> Clone for QuantizedViewExpand<Q, S, F, C>
Source§impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> CubeDebug for QuantizedViewExpand<Q, S, F, C>
impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> CubeDebug for QuantizedViewExpand<Q, S, F, C>
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
Source§impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> IntoMut for QuantizedViewExpand<Q, S, F, C>
impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> IntoMut for QuantizedViewExpand<Q, S, F, C>
Source§impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> LinedExpand for QuantizedViewExpand<Q, S, F, C>
impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> LinedExpand for QuantizedViewExpand<Q, S, F, C>
Source§impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> ViewOperationsExpand<Line<F>, C> for QuantizedViewExpand<Q, S, F, C>
impl<Q: CubePrimitive, S: CubePrimitive, F: Numeric, C: Coordinates + 'static> ViewOperationsExpand<Line<F>, C> for QuantizedViewExpand<Q, S, F, C>
fn __expand_read_method( &self, scope: &mut Scope, pos: C::ExpandType, ) -> ExpandElementTyped<Line<F>>
fn __expand_read_checked_method( &self, scope: &mut Scope, pos: C::ExpandType, ) -> ExpandElementTyped<Line<F>>
fn __expand_read_masked_method( &self, scope: &mut Scope, pos: C::ExpandType, mask_value: ExpandElementTyped<Line<F>>, ) -> ExpandElementTyped<Line<F>>
fn __expand_read_unchecked_method( &self, scope: &mut Scope, pos: C::ExpandType, ) -> ExpandElementTyped<Line<F>>
fn __expand_to_linear_slice_method( &self, _scope: &mut Scope, _pos: C::ExpandType, _end: C::ExpandType, ) -> SliceExpand<Line<F>, ReadOnly>
fn __expand_as_tensor_map_method( &self, scope: &mut Scope, ) -> CubeOptionExpand<TensorMap<Line<F>>>
fn __expand_shape_method(&self, scope: &mut Scope) -> C::ExpandType
fn __expand_is_in_bounds_method( &self, scope: &mut Scope, pos: C::ExpandType, ) -> ExpandElementTyped<bool>
fn __expand_tensor_map_load_method( &self, _scope: &mut Scope, _barrier: BarrierExpand, _shared_memory: SliceExpand<Line<F>, ReadWrite>, _pos: C::ExpandType, )
Auto Trait Implementations§
impl<Q, S, F, C> Freeze for QuantizedViewExpand<Q, S, F, C>
impl<Q, S, F, C> !RefUnwindSafe for QuantizedViewExpand<Q, S, F, C>
impl<Q, S, F, C> !Send for QuantizedViewExpand<Q, S, F, C>
impl<Q, S, F, C> !Sync for QuantizedViewExpand<Q, S, F, C>
impl<Q, S, F, C> Unpin for QuantizedViewExpand<Q, S, F, C>where
F: Unpin,
impl<Q, S, F, C> !UnwindSafe for QuantizedViewExpand<Q, S, F, C>
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