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)
Trait Implementations§
Source§impl Clone for ReduceOperationExpand
impl Clone for ReduceOperationExpand
Source§impl IntoMut for ReduceOperationExpand
impl IntoMut for ReduceOperationExpand
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 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