pub struct Gradients {
pub value: Float,
pub grads: Vec<(String, Float)>,
}Fields§
§value: Float§grads: Vec<(String, Float)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gradients
impl RefUnwindSafe for Gradients
impl Send for Gradients
impl Sync for Gradients
impl Unpin for Gradients
impl UnsafeUnpin for Gradients
impl UnwindSafe for Gradients
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