pub struct Dense { /* private fields */ }Expand description
Feed-forward function with activiation function.
This layer takes a fixed-sized sentence embedding and passes it through a feed-forward layer. Can be used to generate deep averaging networs (DAN).
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Dense
impl Send for Dense
impl !Sync for Dense
impl Unpin for Dense
impl UnwindSafe for Dense
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