pub enum OpCategory {
Elementwise,
Analytic,
Structural,
Reduction,
Contraction,
Indexing,
Dynamic,
Host,
}Expand description
High-level category for a core primitive operation.
§Examples
use tenferro_core_ops::{descriptor, OpCategory, PrimitiveOpKind};
assert_eq!(
descriptor(PrimitiveOpKind::ShapeOf).category,
OpCategory::Host
);Variants§
Trait Implementations§
Source§impl Clone for OpCategory
impl Clone for OpCategory
Source§fn clone(&self) -> OpCategory
fn clone(&self) -> OpCategory
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 OpCategory
impl Debug for OpCategory
Source§impl Hash for OpCategory
impl Hash for OpCategory
Source§impl PartialEq for OpCategory
impl PartialEq for OpCategory
impl Copy for OpCategory
impl Eq for OpCategory
impl StructuralPartialEq for OpCategory
Auto Trait Implementations§
impl Freeze for OpCategory
impl RefUnwindSafe for OpCategory
impl Send for OpCategory
impl Sync for OpCategory
impl Unpin for OpCategory
impl UnsafeUnpin for OpCategory
impl UnwindSafe for OpCategory
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