#[non_exhaustive]pub enum GroupedOperationRequirement {
GatedProduct,
GatedProductTensorParallelPartial,
Relu2,
Relu2TensorParallelPartial,
}Expand description
One required grouped-compute mechanism.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GatedProduct
Ordinary grouped gated-product output.
GatedProductTensorParallelPartial
Rank-local gated-product partial with an explicit post-reduce term.
Relu2
Ordinary grouped ReLU-squared output.
Relu2TensorParallelPartial
Rank-local ReLU-squared partial with an explicit post-reduce term.
Trait Implementations§
Source§impl Clone for GroupedOperationRequirement
impl Clone for GroupedOperationRequirement
Source§fn clone(&self) -> GroupedOperationRequirement
fn clone(&self) -> GroupedOperationRequirement
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 GroupedOperationRequirement
Source§impl Debug for GroupedOperationRequirement
impl Debug for GroupedOperationRequirement
impl Eq for GroupedOperationRequirement
Source§impl Hash for GroupedOperationRequirement
impl Hash for GroupedOperationRequirement
Source§impl Ord for GroupedOperationRequirement
impl Ord for GroupedOperationRequirement
Source§fn cmp(&self, other: &GroupedOperationRequirement) -> Ordering
fn cmp(&self, other: &GroupedOperationRequirement) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for GroupedOperationRequirement
impl PartialOrd for GroupedOperationRequirement
impl StructuralPartialEq for GroupedOperationRequirement
Auto Trait Implementations§
impl Freeze for GroupedOperationRequirement
impl RefUnwindSafe for GroupedOperationRequirement
impl Send for GroupedOperationRequirement
impl Sync for GroupedOperationRequirement
impl Unpin for GroupedOperationRequirement
impl UnsafeUnpin for GroupedOperationRequirement
impl UnwindSafe for GroupedOperationRequirement
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