pub enum ReduceOperationExpand {
Sum(<Sum as RudaType>::ExpandType),
Prod(<Prod as RudaType>::ExpandType),
Mean(<Mean as RudaType>::ExpandType),
MaxAbs(<MaxAbs as RudaType>::ExpandType),
ArgMax(<ArgMax as RudaType>::ExpandType),
ArgMin(<ArgMin as RudaType>::ExpandType),
Max(<Max as RudaType>::ExpandType),
Min(<Min as RudaType>::ExpandType),
ArgTopK(<ArgTopK as RudaType>::ExpandType),
TopK(<TopK as RudaType>::ExpandType),
}Variants§
Sum(<Sum as RudaType>::ExpandType)
Prod(<Prod as RudaType>::ExpandType)
Mean(<Mean as RudaType>::ExpandType)
MaxAbs(<MaxAbs as RudaType>::ExpandType)
ArgMax(<ArgMax as RudaType>::ExpandType)
ArgMin(<ArgMin as RudaType>::ExpandType)
Max(<Max as RudaType>::ExpandType)
Min(<Min as RudaType>::ExpandType)
ArgTopK(<ArgTopK as RudaType>::ExpandType)
TopK(<TopK as RudaType>::ExpandType)
Implementations§
Source§impl ReduceOperationExpand
impl ReduceOperationExpand
pub fn __expand_field_3_Sum_index_0(&self) -> <Sum as RudaType>::ExpandType
pub fn __expand_field_3_Sum_reverse_0(&self) -> <Sum as RudaType>::ExpandType
pub fn __expand_field_4_Prod_index_0(&self) -> <Prod as RudaType>::ExpandType
pub fn __expand_field_4_Prod_reverse_0(&self) -> <Prod as RudaType>::ExpandType
pub fn __expand_field_4_Mean_index_0(&self) -> <Mean as RudaType>::ExpandType
pub fn __expand_field_4_Mean_reverse_0(&self) -> <Mean as RudaType>::ExpandType
pub fn __expand_field_6_MaxAbs_index_0( &self, ) -> <MaxAbs as RudaType>::ExpandType
pub fn __expand_field_6_MaxAbs_reverse_0( &self, ) -> <MaxAbs as RudaType>::ExpandType
pub fn __expand_field_6_ArgMax_index_0( &self, ) -> <ArgMax as RudaType>::ExpandType
pub fn __expand_field_6_ArgMax_reverse_0( &self, ) -> <ArgMax as RudaType>::ExpandType
pub fn __expand_field_6_ArgMin_index_0( &self, ) -> <ArgMin as RudaType>::ExpandType
pub fn __expand_field_6_ArgMin_reverse_0( &self, ) -> <ArgMin as RudaType>::ExpandType
pub fn __expand_field_3_Max_index_0(&self) -> <Max as RudaType>::ExpandType
pub fn __expand_field_3_Max_reverse_0(&self) -> <Max as RudaType>::ExpandType
pub fn __expand_field_3_Min_index_0(&self) -> <Min as RudaType>::ExpandType
pub fn __expand_field_3_Min_reverse_0(&self) -> <Min as RudaType>::ExpandType
pub fn __expand_field_7_ArgTopK_index_0( &self, ) -> <ArgTopK as RudaType>::ExpandType
pub fn __expand_field_7_ArgTopK_reverse_0( &self, ) -> <ArgTopK as RudaType>::ExpandType
pub fn __expand_field_4_TopK_index_0(&self) -> <TopK as RudaType>::ExpandType
pub fn __expand_field_4_TopK_reverse_0(&self) -> <TopK as RudaType>::ExpandType
Trait Implementations§
Source§impl Clone for ReduceOperationExpand
impl Clone for ReduceOperationExpand
Source§impl IntoMut for ReduceOperationExpand
impl IntoMut for ReduceOperationExpand
Source§fn into_mut(self, scope: &mut Scope) -> Self
fn into_mut(self, scope: &mut Scope) -> Self
Convert the variable into a potentially new mutable variable in
scope, copying if needed.fn expand_reference_value(self, scope: &mut Scope) -> Self
fn expand_inactive_value(self, _scope: &mut Scope) -> Self
fn expand_reference(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_absent_reference(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_reborrow(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_return_reference(self, scope: &mut Scope, writable: bool) -> Self
fn expand_deref(self, _scope: &mut Scope) -> Self
Source§impl RudaDebug for ReduceOperationExpand
impl RudaDebug for ReduceOperationExpand
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 RudaEnum for ReduceOperationExpand
impl RudaEnum for ReduceOperationExpand
type RuntimeValue = ()
fn snapshot_for_match(self, scope: &mut Scope) -> Self
fn discriminant(&self) -> NativeExpand<i32>
Source§fn runtime_value(self) -> Self::RuntimeValue
fn runtime_value(self) -> Self::RuntimeValue
Return the runtime value of this enum, if only one variant has a value.
Should return () for all other cases.
fn discriminant_of(variant_name: &'static str) -> i32
fn discriminant_of_value(&self, variant_name: &'static str) -> i32
Auto Trait Implementations§
impl Freeze for ReduceOperationExpand
impl RefUnwindSafe for ReduceOperationExpand
impl Send for ReduceOperationExpand
impl Sync for ReduceOperationExpand
impl Unpin for ReduceOperationExpand
impl UnsafeUnpin for ReduceOperationExpand
impl UnwindSafe for ReduceOperationExpand
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