Struct coaster_nn::frameworks::native::helper::DropoutConfig
source · pub struct DropoutConfig {
pub probability: f32,
pub seed: u64,
}
Fields§
§probability: f32
§seed: u64
Trait Implementations§
source§impl Clone for DropoutConfig
impl Clone for DropoutConfig
source§fn clone(&self) -> DropoutConfig
fn clone(&self) -> DropoutConfig
Returns a copy 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 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