pub struct SparseFfn {
pub w1: Linear,
pub w2: Linear,
pub predictor: Option<LowRankPredictor>,
}Fields§
§w1: Linear§w2: Linear§predictor: Option<LowRankPredictor>Implementations§
Auto Trait Implementations§
impl Freeze for SparseFfn
impl RefUnwindSafe for SparseFfn
impl Send for SparseFfn
impl Sync for SparseFfn
impl Unpin for SparseFfn
impl UnwindSafe for SparseFfn
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