pub struct SolveOp;Trait Implementations§
Source§impl LinearizableOp<DynTensor> for SolveOp
impl LinearizableOp<DynTensor> for SolveOp
type Linearized = SolveLinearized
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 SolveOp
Auto Trait Implementations§
impl Freeze for SolveOp
impl RefUnwindSafe for SolveOp
impl Send for SolveOp
impl Sync for SolveOp
impl Unpin for SolveOp
impl UnwindSafe for SolveOp
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