pub struct DropoutConfig {
pub probability: f32,
pub seed: u64,
}Fields§
§probability: f32§seed: u64Trait Implementations§
Source§impl Clone for DropoutConfig
impl Clone for DropoutConfig
Source§fn clone(&self) -> DropoutConfig
fn clone(&self) -> DropoutConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DropoutConfig
impl Debug for DropoutConfig
impl Copy for DropoutConfig
impl<T> NNOperationConfig<T> for DropoutConfig
Auto Trait Implementations§
impl Freeze for DropoutConfig
impl RefUnwindSafe for DropoutConfig
impl Send for DropoutConfig
impl Sync for DropoutConfig
impl Unpin for DropoutConfig
impl UnwindSafe for DropoutConfig
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