#[non_exhaustive]pub struct TrainingDataResultBuilder { /* private fields */ }Expand description
A builder for TrainingDataResult.
Implementations§
source§impl TrainingDataResultBuilder
impl TrainingDataResultBuilder
sourcepub fn input(self, input: TrainingData) -> Self
pub fn input(self, input: TrainingData) -> Self
The training data that you supplied.
sourcepub fn set_input(self, input: Option<TrainingData>) -> Self
pub fn set_input(self, input: Option<TrainingData>) -> Self
The training data that you supplied.
sourcepub fn get_input(&self) -> &Option<TrainingData>
pub fn get_input(&self) -> &Option<TrainingData>
The training data that you supplied.
sourcepub fn output(self, input: TrainingData) -> Self
pub fn output(self, input: TrainingData) -> Self
Reference to images (assets) that were actually used during training with trained model predictions.
sourcepub fn set_output(self, input: Option<TrainingData>) -> Self
pub fn set_output(self, input: Option<TrainingData>) -> Self
Reference to images (assets) that were actually used during training with trained model predictions.
sourcepub fn get_output(&self) -> &Option<TrainingData>
pub fn get_output(&self) -> &Option<TrainingData>
Reference to images (assets) that were actually used during training with trained model predictions.
sourcepub fn validation(self, input: ValidationData) -> Self
pub fn validation(self, input: ValidationData) -> Self
A manifest that you supplied for training, with validation results for each line.
sourcepub fn set_validation(self, input: Option<ValidationData>) -> Self
pub fn set_validation(self, input: Option<ValidationData>) -> Self
A manifest that you supplied for training, with validation results for each line.
sourcepub fn get_validation(&self) -> &Option<ValidationData>
pub fn get_validation(&self) -> &Option<ValidationData>
A manifest that you supplied for training, with validation results for each line.
sourcepub fn build(self) -> TrainingDataResult
pub fn build(self) -> TrainingDataResult
Consumes the builder and constructs a TrainingDataResult.
Trait Implementations§
source§impl Clone for TrainingDataResultBuilder
impl Clone for TrainingDataResultBuilder
source§fn clone(&self) -> TrainingDataResultBuilder
fn clone(&self) -> TrainingDataResultBuilder
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 Debug for TrainingDataResultBuilder
impl Debug for TrainingDataResultBuilder
source§impl Default for TrainingDataResultBuilder
impl Default for TrainingDataResultBuilder
source§fn default() -> TrainingDataResultBuilder
fn default() -> TrainingDataResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TrainingDataResultBuilder
impl PartialEq for TrainingDataResultBuilder
source§fn eq(&self, other: &TrainingDataResultBuilder) -> bool
fn eq(&self, other: &TrainingDataResultBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TrainingDataResultBuilder
Auto Trait Implementations§
impl Freeze for TrainingDataResultBuilder
impl RefUnwindSafe for TrainingDataResultBuilder
impl Send for TrainingDataResultBuilder
impl Sync for TrainingDataResultBuilder
impl Unpin for TrainingDataResultBuilder
impl UnwindSafe for TrainingDataResultBuilder
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>
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 moreCreates a shared type from an unshared type.