pub enum ValidationErrorKind {
TensorOutOfBounds,
UndefinedTensor,
UnproducedTensor,
OutputWithoutProducer,
CyclicDependency,
EmptyEinsumSpec,
InvalidEinsumSpec,
NoOutputs,
DuplicateOutput,
}Expand description
Types of validation errors.
Variants§
TensorOutOfBounds
Tensor index out of bounds
UndefinedTensor
Undefined tensor referenced
UnproducedTensor
Tensor is never produced (no node writes to it)
OutputWithoutProducer
Output tensor has no producer
CyclicDependency
Cyclic dependency detected
EmptyEinsumSpec
Empty einsum specification
InvalidEinsumSpec
Invalid einsum specification syntax
NoOutputs
Node has no outputs
DuplicateOutput
Duplicate output (two nodes write to same tensor)
Trait Implementations§
Source§impl Clone for ValidationErrorKind
impl Clone for ValidationErrorKind
Source§fn clone(&self) -> ValidationErrorKind
fn clone(&self) -> ValidationErrorKind
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 ValidationErrorKind
impl Debug for ValidationErrorKind
Source§impl PartialEq for ValidationErrorKind
impl PartialEq for ValidationErrorKind
impl StructuralPartialEq for ValidationErrorKind
Auto Trait Implementations§
impl Freeze for ValidationErrorKind
impl RefUnwindSafe for ValidationErrorKind
impl Send for ValidationErrorKind
impl Sync for ValidationErrorKind
impl Unpin for ValidationErrorKind
impl UnwindSafe for ValidationErrorKind
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