Enum tvm_rt::errors::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.