pub struct GRUConfig {
pub w_ih_init: Init,
pub w_hh_init: Init,
pub b_ih_init: Option<Init>,
pub b_hh_init: Option<Init>,
}
Fields§
§w_ih_init: Init
§w_hh_init: Init
§b_ih_init: Option<Init>
§b_hh_init: Option<Init>
Implementations§
source§impl GRUConfig
impl GRUConfig
pub fn default_no_bias() -> Self
Trait Implementations§
impl Copy for GRUConfig
Auto Trait Implementations§
impl Freeze for GRUConfig
impl RefUnwindSafe for GRUConfig
impl Send for GRUConfig
impl Sync for GRUConfig
impl Unpin for GRUConfig
impl UnwindSafe for GRUConfig
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