pub enum GraphIROperationError {
InvalidInputShape(Shape),
MismatchedInputShapes(Vec<Shape>),
OutOfBounds(Shape, [usize; 2]),
IncorrectDataLayout,
BatchedInputNotSupported,
InvalidMatmulDims,
AnnotatedNodeWithIdAlreadyExists,
MismatchedBatching,
GradientNotSupported,
RequiresGradient,
}Variants§
InvalidInputShape(Shape)
MismatchedInputShapes(Vec<Shape>)
OutOfBounds(Shape, [usize; 2])
IncorrectDataLayout
BatchedInputNotSupported
InvalidMatmulDims
AnnotatedNodeWithIdAlreadyExists
MismatchedBatching
GradientNotSupported
RequiresGradient
Trait Implementations§
Source§impl Clone for GraphIROperationError
impl Clone for GraphIROperationError
Source§impl Debug for GraphIROperationError
impl Debug for GraphIROperationError
Source§impl From<GraphIROperationError> for GraphIRError
impl From<GraphIROperationError> for GraphIRError
Source§fn from(value: GraphIROperationError) -> Self
fn from(value: GraphIROperationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GraphIROperationError
impl PartialEq for GraphIROperationError
impl StructuralPartialEq for GraphIROperationError
Auto Trait Implementations§
impl Freeze for GraphIROperationError
impl RefUnwindSafe for GraphIROperationError
impl Send for GraphIROperationError
impl Sync for GraphIROperationError
impl Unpin for GraphIROperationError
impl UnsafeUnpin for GraphIROperationError
impl UnwindSafe for GraphIROperationError
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