pub struct Regularization<RHS, LHS>{
pub rhs: RefCell<RHS>,
pub lhs: RefCell<LHS>,
pub output: RefCell<Value<NDArray<f64>>>,
pub gradient: RefCell<Value<NDArray<f64>>>,
pub learning_rate: f64,
}Fields§
§rhs: RefCell<RHS>§lhs: RefCell<LHS>§output: RefCell<Value<NDArray<f64>>>§gradient: RefCell<Value<NDArray<f64>>>§learning_rate: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<RHS, LHS> !Freeze for Regularization<RHS, LHS>
impl<RHS, LHS> !RefUnwindSafe for Regularization<RHS, LHS>
impl<RHS, LHS> !Send for Regularization<RHS, LHS>
impl<RHS, LHS> !Sync for Regularization<RHS, LHS>
impl<RHS, LHS> Unpin for Regularization<RHS, LHS>
impl<RHS, LHS> !UnwindSafe for Regularization<RHS, LHS>
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