#[non_exhaustive]pub struct ObjectiveStatusCountersBuilder { /* private fields */ }
Expand description
A builder for ObjectiveStatusCounters
.
Implementations§
source§impl ObjectiveStatusCountersBuilder
impl ObjectiveStatusCountersBuilder
sourcepub fn succeeded(self, input: i32) -> Self
pub fn succeeded(self, input: i32) -> Self
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn set_succeeded(self, input: Option<i32>) -> Self
pub fn set_succeeded(self, input: Option<i32>) -> Self
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn get_succeeded(&self) -> &Option<i32>
pub fn get_succeeded(&self) -> &Option<i32>
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn pending(self, input: i32) -> Self
pub fn pending(self, input: i32) -> Self
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn set_pending(self, input: Option<i32>) -> Self
pub fn set_pending(self, input: Option<i32>) -> Self
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn get_pending(&self) -> &Option<i32>
pub fn get_pending(&self) -> &Option<i32>
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn failed(self, input: i32) -> Self
pub fn failed(self, input: i32) -> Self
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn set_failed(self, input: Option<i32>) -> Self
pub fn set_failed(self, input: Option<i32>) -> Self
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn get_failed(&self) -> &Option<i32>
pub fn get_failed(&self) -> &Option<i32>
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn build(self) -> ObjectiveStatusCounters
pub fn build(self) -> ObjectiveStatusCounters
Consumes the builder and constructs a ObjectiveStatusCounters
.
Trait Implementations§
source§impl Clone for ObjectiveStatusCountersBuilder
impl Clone for ObjectiveStatusCountersBuilder
source§fn clone(&self) -> ObjectiveStatusCountersBuilder
fn clone(&self) -> ObjectiveStatusCountersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ObjectiveStatusCountersBuilder
impl Default for ObjectiveStatusCountersBuilder
source§fn default() -> ObjectiveStatusCountersBuilder
fn default() -> ObjectiveStatusCountersBuilder
source§impl PartialEq for ObjectiveStatusCountersBuilder
impl PartialEq for ObjectiveStatusCountersBuilder
source§fn eq(&self, other: &ObjectiveStatusCountersBuilder) -> bool
fn eq(&self, other: &ObjectiveStatusCountersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectiveStatusCountersBuilder
Auto Trait Implementations§
impl Freeze for ObjectiveStatusCountersBuilder
impl RefUnwindSafe for ObjectiveStatusCountersBuilder
impl Send for ObjectiveStatusCountersBuilder
impl Sync for ObjectiveStatusCountersBuilder
impl Unpin for ObjectiveStatusCountersBuilder
impl UnwindSafe for ObjectiveStatusCountersBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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