pub struct LinalgAdOutputSupport {
pub index: usize,
pub name: &'static str,
pub status: LinalgAdRuleSupport,
}Expand description
AD support status for one output of a linalg operation.
§Examples
use tenferro_linalg::{linalg_ad_support, LinalgAdOpKind, LinalgAdRuleSupport};
let full_piv_lu = linalg_ad_support(LinalgAdOpKind::FullPivLu);
let l_output = full_piv_lu.outputs.iter().find(|output| output.name == "l").unwrap();
assert_eq!(l_output.status, LinalgAdRuleSupport::SupportedViaLinearize);Fields§
§index: usizeOutput position in the linalg operation result tuple.
name: &'static strStable output name used by tests and support dashboards.
status: LinalgAdRuleSupportAD support status for this specific output.
Trait Implementations§
Source§impl Clone for LinalgAdOutputSupport
impl Clone for LinalgAdOutputSupport
Source§fn clone(&self) -> LinalgAdOutputSupport
fn clone(&self) -> LinalgAdOutputSupport
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 LinalgAdOutputSupport
impl Debug for LinalgAdOutputSupport
Source§impl PartialEq for LinalgAdOutputSupport
impl PartialEq for LinalgAdOutputSupport
impl Copy for LinalgAdOutputSupport
impl Eq for LinalgAdOutputSupport
impl StructuralPartialEq for LinalgAdOutputSupport
Auto Trait Implementations§
impl Freeze for LinalgAdOutputSupport
impl RefUnwindSafe for LinalgAdOutputSupport
impl Send for LinalgAdOutputSupport
impl Sync for LinalgAdOutputSupport
impl Unpin for LinalgAdOutputSupport
impl UnsafeUnpin for LinalgAdOutputSupport
impl UnwindSafe for LinalgAdOutputSupport
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<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
§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