Enum tvm::NDArrayError [−][src]
pub enum NDArrayError {
EmptyArray,
InvalidDatatype(ParseDataTypeError),
ShapeError(ShapeError),
DataTypeMismatch {
expected: DataType,
actual: DataType,
},
}
Variants
EmptyArray
InvalidDatatype(ParseDataTypeError)
Tuple Fields
ShapeError(ShapeError)
Tuple Fields
0: ShapeError
DataTypeMismatch
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NDArrayError
impl Send for NDArrayError
impl Sync for NDArrayError
impl Unpin for NDArrayError
impl UnwindSafe for NDArrayError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more