Struct easy_ml::differentiation::Derivatives [−][src]
pub struct Derivatives<T> { /* fields omitted */ }
Computed derivatives of a computational graph for some output Record variable.
This can be indexed by any Record used in the computational graph to get the derivative with respect to that input.
Indexing using Records not involved in the computational graph, or involved in a different one will return nonsense or index out of bounds and panic. In the future this may be changed to always panic.
Implementations
impl<T: Clone + Primitive> Derivatives<T>
[src]
impl<T: Clone + Primitive> Derivatives<T>
[src]Trait Implementations
impl<T: Clone> Clone for Derivatives<T>
[src]
impl<T: Clone> Clone for Derivatives<T>
[src]Any derivatives of a Cloneable type implements clone
impl<T: Debug> Debug for Derivatives<T>
[src]
impl<T: Debug> Debug for Derivatives<T>
[src]impl<'a, T: Primitive> Index<&'_ Record<'a, T>> for Derivatives<T>
[src]
impl<'a, T: Primitive> Index<&'_ Record<'a, T>> for Derivatives<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for Derivatives<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Derivatives<T> where
T: Send,
T: Send,
impl<T> Sync for Derivatives<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Derivatives<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Derivatives<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more