pub struct NasBuilderConfig {
pub pop_size: usize,
pub arch_mutation_rate: f32,
pub weight_mutation_std: f32,
pub weight_init_std: f32,
pub tournament_size: usize,
pub elite_count: usize,
}Expand description
Knobs ArchNasBuilder::build cannot derive from the registered variants.
Fields§
§pop_size: usizeNumber of individuals per generation.
arch_mutation_rate: f32Per-individual architecture-mutation probability.
weight_mutation_std: f32Gaussian weight-perturbation standard deviation.
weight_init_std: f32Gaussian weight-initialization standard deviation.
tournament_size: usizeTournament size for parent selection.
elite_count: usizeNumber of elites preserved unmutated each generation.
Trait Implementations§
Source§impl Clone for NasBuilderConfig
impl Clone for NasBuilderConfig
Source§fn clone(&self) -> NasBuilderConfig
fn clone(&self) -> NasBuilderConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NasBuilderConfig
Source§impl Debug for NasBuilderConfig
impl Debug for NasBuilderConfig
Source§impl Validate for NasBuilderConfig
impl Validate for NasBuilderConfig
Source§fn validate_all(&self) -> Result<(), Vec<ConfigError>>
fn validate_all(&self) -> Result<(), Vec<ConfigError>>
Returns every violated invariant rather than just the first. Read more
Auto Trait Implementations§
impl Freeze for NasBuilderConfig
impl RefUnwindSafe for NasBuilderConfig
impl Send for NasBuilderConfig
impl Sync for NasBuilderConfig
impl Unpin for NasBuilderConfig
impl UnsafeUnpin for NasBuilderConfig
impl UnwindSafe for NasBuilderConfig
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
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more