pub enum FusionType {
ElementWise,
ReductionElementWise,
MultiReduction,
EinsumChain,
}Expand description
Type of fusion that can be applied
Variants§
ElementWise
Element-wise operations can be fused
ReductionElementWise
Reduction followed by element-wise
MultiReduction
Multiple reductions on same input
EinsumChain
Einsum operations with compatible specs
Trait Implementations§
Source§impl Clone for FusionType
impl Clone for FusionType
Source§fn clone(&self) -> FusionType
fn clone(&self) -> FusionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FusionType
impl Debug for FusionType
Source§impl PartialEq for FusionType
impl PartialEq for FusionType
impl Copy for FusionType
impl Eq for FusionType
impl StructuralPartialEq for FusionType
Auto Trait Implementations§
impl Freeze for FusionType
impl RefUnwindSafe for FusionType
impl Send for FusionType
impl Sync for FusionType
impl Unpin for FusionType
impl UnwindSafe for FusionType
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