pub struct LuOp { /* private fields */ }Implementations§
Trait Implementations§
Source§impl LinearizableOp<DynTensor> for LuOp
impl LinearizableOp<DynTensor> for LuOp
type Linearized = LuLinearized
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 LuOp
Auto Trait Implementations§
impl Freeze for LuOp
impl RefUnwindSafe for LuOp
impl Send for LuOp
impl Sync for LuOp
impl Unpin for LuOp
impl UnwindSafe for LuOp
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