#[non_exhaustive]pub struct DefaultContinuousHyperParameterRangeBuilder { /* private fields */ }Expand description
A builder for DefaultContinuousHyperParameterRange.
Implementations§
source§impl DefaultContinuousHyperParameterRangeBuilder
impl DefaultContinuousHyperParameterRangeBuilder
sourcepub fn set_min_value(self, input: Option<f64>) -> Self
pub fn set_min_value(self, input: Option<f64>) -> Self
The minimum allowable value for the hyperparameter.
sourcepub fn get_min_value(&self) -> &Option<f64>
pub fn get_min_value(&self) -> &Option<f64>
The minimum allowable value for the hyperparameter.
sourcepub fn set_max_value(self, input: Option<f64>) -> Self
pub fn set_max_value(self, input: Option<f64>) -> Self
The maximum allowable value for the hyperparameter.
sourcepub fn get_max_value(&self) -> &Option<f64>
pub fn get_max_value(&self) -> &Option<f64>
The maximum allowable value for the hyperparameter.
sourcepub fn is_tunable(self, input: bool) -> Self
pub fn is_tunable(self, input: bool) -> Self
Whether the hyperparameter is tunable.
sourcepub fn set_is_tunable(self, input: Option<bool>) -> Self
pub fn set_is_tunable(self, input: Option<bool>) -> Self
Whether the hyperparameter is tunable.
sourcepub fn get_is_tunable(&self) -> &Option<bool>
pub fn get_is_tunable(&self) -> &Option<bool>
Whether the hyperparameter is tunable.
sourcepub fn build(self) -> DefaultContinuousHyperParameterRange
pub fn build(self) -> DefaultContinuousHyperParameterRange
Consumes the builder and constructs a DefaultContinuousHyperParameterRange.
Trait Implementations§
source§impl Clone for DefaultContinuousHyperParameterRangeBuilder
impl Clone for DefaultContinuousHyperParameterRangeBuilder
source§fn clone(&self) -> DefaultContinuousHyperParameterRangeBuilder
fn clone(&self) -> DefaultContinuousHyperParameterRangeBuilder
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 Default for DefaultContinuousHyperParameterRangeBuilder
impl Default for DefaultContinuousHyperParameterRangeBuilder
source§fn default() -> DefaultContinuousHyperParameterRangeBuilder
fn default() -> DefaultContinuousHyperParameterRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DefaultContinuousHyperParameterRangeBuilder
impl PartialEq for DefaultContinuousHyperParameterRangeBuilder
source§fn eq(&self, other: &DefaultContinuousHyperParameterRangeBuilder) -> bool
fn eq(&self, other: &DefaultContinuousHyperParameterRangeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DefaultContinuousHyperParameterRangeBuilder
Auto Trait Implementations§
impl Freeze for DefaultContinuousHyperParameterRangeBuilder
impl RefUnwindSafe for DefaultContinuousHyperParameterRangeBuilder
impl Send for DefaultContinuousHyperParameterRangeBuilder
impl Sync for DefaultContinuousHyperParameterRangeBuilder
impl Unpin for DefaultContinuousHyperParameterRangeBuilder
impl UnwindSafe for DefaultContinuousHyperParameterRangeBuilder
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> 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>
Creates a shared type from an unshared type.