pub enum ValidationWarningKind {
UnusedTensor,
UnusedInput,
GeneratedTensorName,
LargeGraph,
DeepNesting,
}Expand description
Types of validation warnings.
Variants§
UnusedTensor
Tensor is produced but never consumed
UnusedInput
Input tensor is never used
GeneratedTensorName
Tensor has unnamed or generated name
LargeGraph
Large number of operations (may be slow)
DeepNesting
Deep operation nesting (may cause stack issues)
Trait Implementations§
Source§impl Clone for ValidationWarningKind
impl Clone for ValidationWarningKind
Source§fn clone(&self) -> ValidationWarningKind
fn clone(&self) -> ValidationWarningKind
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 ValidationWarningKind
impl Debug for ValidationWarningKind
Source§impl PartialEq for ValidationWarningKind
impl PartialEq for ValidationWarningKind
impl StructuralPartialEq for ValidationWarningKind
Auto Trait Implementations§
impl Freeze for ValidationWarningKind
impl RefUnwindSafe for ValidationWarningKind
impl Send for ValidationWarningKind
impl Sync for ValidationWarningKind
impl Unpin for ValidationWarningKind
impl UnwindSafe for ValidationWarningKind
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