pub enum FusionPlanError {
LengthMismatch {
dims: usize,
src_strides: usize,
dst_strides: usize,
},
DimensionOverflow,
}Expand description
Failure while validating or constructing a bilateral fusion plan.
Variants§
LengthMismatch
Shape and stride ranks do not agree.
Fields
DimensionOverflow
A dimension cannot be represented for stride arithmetic, or a fused
dimension product exceeds usize.
Trait Implementations§
Source§impl Clone for FusionPlanError
impl Clone for FusionPlanError
Source§fn clone(&self) -> FusionPlanError
fn clone(&self) -> FusionPlanError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FusionPlanError
impl Debug for FusionPlanError
Source§impl Display for FusionPlanError
impl Display for FusionPlanError
Source§impl Error for FusionPlanError
impl Error for FusionPlanError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for FusionPlanError
impl PartialEq for FusionPlanError
Source§fn eq(&self, other: &FusionPlanError) -> bool
fn eq(&self, other: &FusionPlanError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FusionPlanError
impl StructuralPartialEq for FusionPlanError
Auto Trait Implementations§
impl Freeze for FusionPlanError
impl RefUnwindSafe for FusionPlanError
impl Send for FusionPlanError
impl Sync for FusionPlanError
impl Unpin for FusionPlanError
impl UnsafeUnpin for FusionPlanError
impl UnwindSafe for FusionPlanError
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