pub struct EigOp;Trait Implementations§
Source§impl LinearizableOp<DynTensor> for EigOp
impl LinearizableOp<DynTensor> for EigOp
type Linearized = EigLinearized
fn primal(&self, inputs: &[&DynTensor]) -> AdResult<Vec<DynTensor>>
fn input_schema(&self, _inputs: &[&DynTensor]) -> AdResult<Schema>
fn output_schema( &self, _inputs: &[&DynTensor], _outputs: &[DynTensor], ) -> AdResult<Schema>
fn linearize( &self, inputs: &[&DynTensor], _outputs: &[DynTensor], ) -> AdResult<Self::Linearized>
Source§fn checkpoint_hint(&self) -> CheckpointHint
fn checkpoint_hint(&self) -> CheckpointHint
Return a retain-vs-replay hint for the runtime checkpoint policy.
fn apply(&self, inputs: &[&Value<V>]) -> Result<Vec<Value<V>>, AutodiffError>
fn apply_one(&self, inputs: &[&Value<V>]) -> Result<Value<V>, AutodiffError>
impl Copy for EigOp
Auto Trait Implementations§
impl Freeze for EigOp
impl RefUnwindSafe for EigOp
impl Send for EigOp
impl Sync for EigOp
impl Unpin for EigOp
impl UnwindSafe for EigOp
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>,
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