pub struct Zoneout {
pub cell_zoneout_rate: f64,
pub hidden_zoneout_rate: f64,
pub is_training: bool,
}
Expand description
Zoneout implementation specifically for LSTM hidden and cell states
Fields§
§cell_zoneout_rate: f64
§is_training: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Zoneout
impl RefUnwindSafe for Zoneout
impl Send for Zoneout
impl Sync for Zoneout
impl Unpin for Zoneout
impl UnwindSafe for Zoneout
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