#[non_exhaustive]pub enum ParallelAxis {
Tensor,
Pipeline,
Expert,
Data,
}Expand description
Logical parallel axis.
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.
Tensor
Tensor parallelism.
Pipeline
Pipeline parallelism.
Expert
Expert parallelism.
Data
Data parallelism.
Trait Implementations§
Source§impl Clone for ParallelAxis
impl Clone for ParallelAxis
Source§fn clone(&self) -> ParallelAxis
fn clone(&self) -> ParallelAxis
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 ParallelAxis
Source§impl Debug for ParallelAxis
impl Debug for ParallelAxis
Source§impl<'de> Deserialize<'de> for ParallelAxis
impl<'de> Deserialize<'de> for ParallelAxis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ParallelAxis
Source§impl Hash for ParallelAxis
impl Hash for ParallelAxis
Source§impl Ord for ParallelAxis
impl Ord for ParallelAxis
Source§fn cmp(&self, other: &ParallelAxis) -> Ordering
fn cmp(&self, other: &ParallelAxis) -> 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 PartialEq for ParallelAxis
impl PartialEq for ParallelAxis
Source§impl PartialOrd for ParallelAxis
impl PartialOrd for ParallelAxis
Source§impl Serialize for ParallelAxis
impl Serialize for ParallelAxis
impl StructuralPartialEq for ParallelAxis
Auto Trait Implementations§
impl Freeze for ParallelAxis
impl RefUnwindSafe for ParallelAxis
impl Send for ParallelAxis
impl Sync for ParallelAxis
impl Unpin for ParallelAxis
impl UnsafeUnpin for ParallelAxis
impl UnwindSafe for ParallelAxis
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