#[non_exhaustive]pub enum OpDifferentiation {
None,
Reverse,
}Expand description
Reverse-differentiation behavior declared by an operation schema.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
The operation has no reverse derivative.
Reverse
The operation participates in reverse-mode differentiation.
Implementations§
Trait Implementations§
Source§impl Clone for OpDifferentiation
impl Clone for OpDifferentiation
impl Copy for OpDifferentiation
Source§impl Debug for OpDifferentiation
impl Debug for OpDifferentiation
Source§impl Default for OpDifferentiation
impl Default for OpDifferentiation
impl Eq for OpDifferentiation
Source§impl PartialEq for OpDifferentiation
impl PartialEq for OpDifferentiation
impl StructuralPartialEq for OpDifferentiation
Auto Trait Implementations§
impl Forget for OpDifferentiation
impl Freeze for OpDifferentiation
impl Move for OpDifferentiation
impl RefUnwindSafe for OpDifferentiation
impl Send for OpDifferentiation
impl Sync for OpDifferentiation
impl Unpin for OpDifferentiation
impl UnsafeUnpin for OpDifferentiation
impl UnwindSafe for OpDifferentiation
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