pub struct RowWiseExpand<E: Numeric> {
pub vals: <Array<E> as CubeType>::ExpandType,
pub num_rows: usize,
}Fields§
§vals: <Array<E> as CubeType>::ExpandType§num_rows: usizeImplementations§
Source§impl<E: Float> RowWiseExpand<E>
impl<E: Float> RowWiseExpand<E>
pub fn __expand_recip_inplace_method( self, scope: &mut Scope, ) -> <() as CubeType>::ExpandType
pub fn __expand_recip_inplace( scope: &mut Scope, this: Self, ) -> <() as CubeType>::ExpandType
Source§impl<E: Numeric> RowWiseExpand<E>
impl<E: Numeric> RowWiseExpand<E>
pub fn __expand_clone_method(&self, _scope: &mut Scope) -> Self
Source§impl<E: Numeric> RowWiseExpand<E>
impl<E: Numeric> RowWiseExpand<E>
pub fn __expand_fill_method( self, scope: &mut Scope, val: <E as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_copy_from_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_add_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_add_inplace_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_mul_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_mul_inplace_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_max_inplace_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_replace_at_method( self, scope: &mut Scope, i: <usize as CubeType>::ExpandType, new_val: <E as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_new_filled( scope: &mut Scope, num_rows: usize, val: <E as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_fill( scope: &mut Scope, this: Self, val: <E as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_new_min_value( scope: &mut Scope, num_rows: usize, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_new_zero( scope: &mut Scope, num_rows: usize, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_copy_from( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_add( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_add_inplace( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_mul( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_mul_inplace( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_max_inplace( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_replace_at( scope: &mut Scope, this: Self, i: <usize as CubeType>::ExpandType, new_val: <E as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_cast_from<E2: Float>( scope: &mut Scope, row_wise: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E2> as CubeType>::ExpandType
Source§impl<E: Float> RowWiseExpand<E>
impl<E: Float> RowWiseExpand<E>
pub fn __expand_exp_diff_method( self, scope: &mut Scope, other: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_exp_diff( scope: &mut Scope, this: Self, other: <RowWise<E> as CubeType>::ExpandType, ) -> <RowWise<E> as CubeType>::ExpandType
Trait Implementations§
Source§impl<E: Numeric> Clone for RowWiseExpand<E>
impl<E: Numeric> Clone for RowWiseExpand<E>
Source§impl<E: Numeric> CubeDebug for RowWiseExpand<E>
impl<E: Numeric> CubeDebug for RowWiseExpand<E>
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<E> Freeze for RowWiseExpand<E>
impl<E> RefUnwindSafe for RowWiseExpand<E>where
E: RefUnwindSafe,
impl<E> !Send for RowWiseExpand<E>
impl<E> !Sync for RowWiseExpand<E>
impl<E> Unpin for RowWiseExpand<E>where
E: Unpin,
impl<E> UnsafeUnpin for RowWiseExpand<E>
impl<E> UnwindSafe for RowWiseExpand<E>where
E: UnwindSafe,
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