pub struct ComponentTypeConfig {
pub name: String,
pub parameters: Vec<String>,
pub defaults: HashMap<String, String>,
pub enabled: bool,
pub probability: f64,
pub hyperparameter_ranges: HashMap<String, ParameterRange>,
pub dependencies: Vec<String>,
pub component_type: ComponentType,
pub constraints: ArchitectureConstraints,
}Expand description
Component type configuration
Fields§
§name: StringComponent type name
parameters: Vec<String>Available parameters
defaults: HashMap<String, String>Default configuration
enabled: boolWhether this component type is enabled
probability: f64Probability of selection during search
hyperparameter_ranges: HashMap<String, ParameterRange>Hyperparameter ranges for this component
dependencies: Vec<String>Dependencies on other components
component_type: ComponentTypeComponent type
constraints: ArchitectureConstraintsArchitecture constraints
Trait Implementations§
Source§impl Clone for ComponentTypeConfig
impl Clone for ComponentTypeConfig
Auto Trait Implementations§
impl Freeze for ComponentTypeConfig
impl RefUnwindSafe for ComponentTypeConfig
impl Send for ComponentTypeConfig
impl Sync for ComponentTypeConfig
impl Unpin for ComponentTypeConfig
impl UnsafeUnpin for ComponentTypeConfig
impl UnwindSafe for ComponentTypeConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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