#[repr(u64)]pub enum ModelWorkKind {
Show 16 variants
Pointwise = 1,
Reduction = 2,
Scan = 3,
Fill = 4,
Contraction = 5,
Softmax = 6,
LogSoftmax = 7,
LogSumExp = 8,
Scatter = 9,
Gather = 10,
CopyBytes = 11,
Cast = 12,
SortKeys = 13,
BucketQueries = 14,
SavedCopyBytes = 15,
ModelInvocation = 16,
}Variants§
Pointwise = 1
Reduction = 2
Scan = 3
Fill = 4
Contraction = 5
Softmax = 6
LogSoftmax = 7
LogSumExp = 8
Scatter = 9
Gather = 10
CopyBytes = 11
Cast = 12
SortKeys = 13
BucketQueries = 14
SavedCopyBytes = 15
ModelInvocation = 16
An executed model-call marker, separate from logical device work.
Implementations§
Trait Implementations§
Source§impl Clone for ModelWorkKind
impl Clone for ModelWorkKind
Source§fn clone(&self) -> ModelWorkKind
fn clone(&self) -> ModelWorkKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModelWorkKind
Source§impl Debug for ModelWorkKind
impl Debug for ModelWorkKind
impl Eq for ModelWorkKind
Source§impl PartialEq for ModelWorkKind
impl PartialEq for ModelWorkKind
impl StructuralPartialEq for ModelWorkKind
Auto Trait Implementations§
impl Freeze for ModelWorkKind
impl RefUnwindSafe for ModelWorkKind
impl Send for ModelWorkKind
impl Sync for ModelWorkKind
impl Unpin for ModelWorkKind
impl UnsafeUnpin for ModelWorkKind
impl UnwindSafe for ModelWorkKind
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more