pub struct SearchSpace {
pub layer_types: Vec<LayerType>,
pub depth_range: (usize, usize),
pub width_range: (usize, usize),
pub activations: Vec<ActivationType>,
pub optimizers: Vec<OptimizerType>,
pub connections: Vec<ConnectionType>,
pub skip_connection_prob: f64,
pub dropout_range: (f64, f64),
}
Expand description
Search space configuration for neural architectures
Fields§
§layer_types: Vec<LayerType>
Available layer types
depth_range: (usize, usize)
Depth range (min, max layers)
width_range: (usize, usize)
Width range for each layer (min, max units)
activations: Vec<ActivationType>
Available activation functions
optimizers: Vec<OptimizerType>
Available optimizers
connections: Vec<ConnectionType>
Available connection patterns
skip_connection_prob: f64
Skip connection probability
dropout_range: (f64, f64)
Dropout rate range
Trait Implementations§
Source§impl Clone for SearchSpace
impl Clone for SearchSpace
Source§fn clone(&self) -> SearchSpace
fn clone(&self) -> SearchSpace
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 SearchSpace
impl Debug for SearchSpace
Auto Trait Implementations§
impl Freeze for SearchSpace
impl RefUnwindSafe for SearchSpace
impl Send for SearchSpace
impl Sync for SearchSpace
impl Unpin for SearchSpace
impl UnwindSafe for SearchSpace
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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