pub struct MatrixExpOp;Trait Implementations§
Source§impl Clone for MatrixExpOp
impl Clone for MatrixExpOp
Source§fn clone(&self) -> MatrixExpOp
fn clone(&self) -> MatrixExpOp
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 LinearizableOp<DynTensor> for MatrixExpOp
impl LinearizableOp<DynTensor> for MatrixExpOp
type Linearized = MatrixExpLinearized
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 MatrixExpOp
Auto Trait Implementations§
impl Freeze for MatrixExpOp
impl RefUnwindSafe for MatrixExpOp
impl Send for MatrixExpOp
impl Sync for MatrixExpOp
impl Unpin for MatrixExpOp
impl UnwindSafe for MatrixExpOp
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