#[non_exhaustive]pub struct TfiTrainingMetricsValueBuilder { /* private fields */ }
Expand description
A builder for TfiTrainingMetricsValue
.
Implementations§
source§impl TfiTrainingMetricsValueBuilder
impl TfiTrainingMetricsValueBuilder
sourcepub fn metric_data_points(self, input: TfiMetricDataPoint) -> Self
pub fn metric_data_points(self, input: TfiMetricDataPoint) -> Self
Appends an item to metric_data_points
.
To override the contents of this collection use set_metric_data_points
.
The model's performance metrics data points.
sourcepub fn set_metric_data_points(
self,
input: Option<Vec<TfiMetricDataPoint>>
) -> Self
pub fn set_metric_data_points( self, input: Option<Vec<TfiMetricDataPoint>> ) -> Self
The model's performance metrics data points.
sourcepub fn get_metric_data_points(&self) -> &Option<Vec<TfiMetricDataPoint>>
pub fn get_metric_data_points(&self) -> &Option<Vec<TfiMetricDataPoint>>
The model's performance metrics data points.
sourcepub fn model_performance(self, input: TfiModelPerformance) -> Self
pub fn model_performance(self, input: TfiModelPerformance) -> Self
The model performance score.
sourcepub fn set_model_performance(self, input: Option<TfiModelPerformance>) -> Self
pub fn set_model_performance(self, input: Option<TfiModelPerformance>) -> Self
The model performance score.
sourcepub fn get_model_performance(&self) -> &Option<TfiModelPerformance>
pub fn get_model_performance(&self) -> &Option<TfiModelPerformance>
The model performance score.
sourcepub fn build(self) -> TfiTrainingMetricsValue
pub fn build(self) -> TfiTrainingMetricsValue
Consumes the builder and constructs a TfiTrainingMetricsValue
.
Trait Implementations§
source§impl Clone for TfiTrainingMetricsValueBuilder
impl Clone for TfiTrainingMetricsValueBuilder
source§fn clone(&self) -> TfiTrainingMetricsValueBuilder
fn clone(&self) -> TfiTrainingMetricsValueBuilder
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 TfiTrainingMetricsValueBuilder
impl Default for TfiTrainingMetricsValueBuilder
source§fn default() -> TfiTrainingMetricsValueBuilder
fn default() -> TfiTrainingMetricsValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TfiTrainingMetricsValueBuilder
impl PartialEq for TfiTrainingMetricsValueBuilder
source§fn eq(&self, other: &TfiTrainingMetricsValueBuilder) -> bool
fn eq(&self, other: &TfiTrainingMetricsValueBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TfiTrainingMetricsValueBuilder
Auto Trait Implementations§
impl Freeze for TfiTrainingMetricsValueBuilder
impl RefUnwindSafe for TfiTrainingMetricsValueBuilder
impl Send for TfiTrainingMetricsValueBuilder
impl Sync for TfiTrainingMetricsValueBuilder
impl Unpin for TfiTrainingMetricsValueBuilder
impl UnwindSafe for TfiTrainingMetricsValueBuilder
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.