pub struct DropoutState<T: Num, D: DeviceBase> {
pub rate: f32,
pub state: Option<Matrix<Owned<T>, DimDyn, Cpu>>,
/* private fields */
}
Fields§
§rate: f32
§state: Option<Matrix<Owned<T>, DimDyn, Cpu>>
Implementations§
Auto Trait Implementations§
impl<T, D> Freeze for DropoutState<T, D>
impl<T, D> RefUnwindSafe for DropoutState<T, D>where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, D> !Send for DropoutState<T, D>
impl<T, D> !Sync for DropoutState<T, D>
impl<T, D> Unpin for DropoutState<T, D>
impl<T, D> UnwindSafe for DropoutState<T, D>
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