pub enum TensorConflictKind {
Dtype,
Device,
Shape,
Layout,
RequiresGrad,
}Expand description
Which tensor attribute disagreed across observations sharing a static_id.
Variants§
Trait Implementations§
Source§impl Clone for TensorConflictKind
impl Clone for TensorConflictKind
Source§fn clone(&self) -> TensorConflictKind
fn clone(&self) -> TensorConflictKind
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 TensorConflictKind
Source§impl Debug for TensorConflictKind
impl Debug for TensorConflictKind
Source§impl<'de> Deserialize<'de> for TensorConflictKind
impl<'de> Deserialize<'de> for TensorConflictKind
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 TensorConflictKind
Source§impl Hash for TensorConflictKind
impl Hash for TensorConflictKind
Source§impl Ord for TensorConflictKind
impl Ord for TensorConflictKind
Source§fn cmp(&self, other: &TensorConflictKind) -> Ordering
fn cmp(&self, other: &TensorConflictKind) -> 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
Source§impl PartialEq for TensorConflictKind
impl PartialEq for TensorConflictKind
Source§impl PartialOrd for TensorConflictKind
impl PartialOrd for TensorConflictKind
Source§impl Serialize for TensorConflictKind
impl Serialize for TensorConflictKind
impl StructuralPartialEq for TensorConflictKind
Auto Trait Implementations§
impl Freeze for TensorConflictKind
impl RefUnwindSafe for TensorConflictKind
impl Send for TensorConflictKind
impl Sync for TensorConflictKind
impl Unpin for TensorConflictKind
impl UnsafeUnpin for TensorConflictKind
impl UnwindSafe for TensorConflictKind
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