pub enum GeneralContractionPolicy {
Preferred,
Required,
}Expand description
Policy applied when the configured general-contraction provider reports a typed capability miss.
§Examples
use tenferro_cpu::GeneralContractionPolicy;
assert_ne!(
GeneralContractionPolicy::Preferred,
GeneralContractionPolicy::Required,
);Variants§
Preferred
Continue to the configured layout-plus-GEMM path.
Required
Convert a capability miss into a structured unsupported error.
Trait Implementations§
Source§impl Clone for GeneralContractionPolicy
impl Clone for GeneralContractionPolicy
Source§fn clone(&self) -> GeneralContractionPolicy
fn clone(&self) -> GeneralContractionPolicy
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 GeneralContractionPolicy
impl Debug for GeneralContractionPolicy
Source§impl Default for GeneralContractionPolicy
impl Default for GeneralContractionPolicy
Source§fn default() -> GeneralContractionPolicy
fn default() -> GeneralContractionPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for GeneralContractionPolicy
impl PartialEq for GeneralContractionPolicy
Source§fn eq(&self, other: &GeneralContractionPolicy) -> bool
fn eq(&self, other: &GeneralContractionPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GeneralContractionPolicy
impl Eq for GeneralContractionPolicy
impl StructuralPartialEq for GeneralContractionPolicy
Auto Trait Implementations§
impl Freeze for GeneralContractionPolicy
impl RefUnwindSafe for GeneralContractionPolicy
impl Send for GeneralContractionPolicy
impl Sync for GeneralContractionPolicy
impl Unpin for GeneralContractionPolicy
impl UnsafeUnpin for GeneralContractionPolicy
impl UnwindSafe for GeneralContractionPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more