pub enum OpKey {
Show 60 variants
Const,
Unique,
Device,
Noop,
Invalid,
DefineLocal,
Sink,
Group,
Unary(UnaryOp),
Binary(BinaryOp),
Ternary(TernaryOp),
Cast,
BitCast,
MSelect,
Special,
Param,
Buffer,
BufferView,
Bufferize,
Index,
PointerIndex,
Copy,
MStack,
Reshape,
Permute,
Expand,
Pad,
Shrink,
Flip,
Multi,
ReduceAxis,
Reduce,
AllReduce,
If,
EndIf,
Range,
End,
Barrier,
Vectorize,
Gep,
VConst,
Cat,
PtrCat,
DefineVar,
Bind,
DefineReg,
Wmma,
Contract,
Unroll,
Kernel,
Assign,
Detach,
Contiguous,
ContiguousBackward,
After,
Precast,
Custom,
CustomI,
Load,
Store,
}Expand description
Operation key for pattern indexing.
Variants§
Const
Unique
Device
Noop
Invalid
DefineLocal
Sink
Group
Unary(UnaryOp)
Binary(BinaryOp)
Ternary(TernaryOp)
Cast
BitCast
MSelect
Special
Param
Buffer
BufferView
Bufferize
Index
PointerIndex
Copy
MStack
Reshape
Permute
Expand
Pad
Shrink
Flip
Multi
ReduceAxis
Reduce
AllReduce
If
EndIf
Range
End
Barrier
Vectorize
Gep
VConst
Cat
PtrCat
DefineVar
Bind
DefineReg
Wmma
Contract
Unroll
Kernel
Assign
Detach
Contiguous
ContiguousBackward
After
Precast
Custom
CustomI
Load
Store
Implementations§
Trait Implementations§
impl Eq for OpKey
impl StructuralPartialEq for OpKey
Auto Trait Implementations§
impl Freeze for OpKey
impl RefUnwindSafe for OpKey
impl Send for OpKey
impl Sync for OpKey
impl Unpin for OpKey
impl UnsafeUnpin for OpKey
impl UnwindSafe for OpKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.