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