#[non_exhaustive]pub struct TestingDataResultBuilder { /* private fields */ }Expand description
A builder for TestingDataResult.
Implementations§
source§impl TestingDataResultBuilder
impl TestingDataResultBuilder
sourcepub fn input(self, input: TestingData) -> Self
pub fn input(self, input: TestingData) -> Self
The testing dataset that was supplied for training.
sourcepub fn set_input(self, input: Option<TestingData>) -> Self
pub fn set_input(self, input: Option<TestingData>) -> Self
The testing dataset that was supplied for training.
sourcepub fn get_input(&self) -> &Option<TestingData>
pub fn get_input(&self) -> &Option<TestingData>
The testing dataset that was supplied for training.
sourcepub fn output(self, input: TestingData) -> Self
pub fn output(self, input: TestingData) -> Self
The subset of the dataset that was actually tested. Some images (assets) might not be tested due to file formatting and other issues.
sourcepub fn set_output(self, input: Option<TestingData>) -> Self
pub fn set_output(self, input: Option<TestingData>) -> Self
The subset of the dataset that was actually tested. Some images (assets) might not be tested due to file formatting and other issues.
sourcepub fn get_output(&self) -> &Option<TestingData>
pub fn get_output(&self) -> &Option<TestingData>
The subset of the dataset that was actually tested. Some images (assets) might not be tested due to file formatting and other issues.
sourcepub fn validation(self, input: ValidationData) -> Self
pub fn validation(self, input: ValidationData) -> Self
The location of the data validation manifest. The data validation manifest is created for the test dataset during model training.
sourcepub fn set_validation(self, input: Option<ValidationData>) -> Self
pub fn set_validation(self, input: Option<ValidationData>) -> Self
The location of the data validation manifest. The data validation manifest is created for the test dataset during model training.
sourcepub fn get_validation(&self) -> &Option<ValidationData>
pub fn get_validation(&self) -> &Option<ValidationData>
The location of the data validation manifest. The data validation manifest is created for the test dataset during model training.
sourcepub fn build(self) -> TestingDataResult
pub fn build(self) -> TestingDataResult
Consumes the builder and constructs a TestingDataResult.
Trait Implementations§
source§impl Clone for TestingDataResultBuilder
impl Clone for TestingDataResultBuilder
source§fn clone(&self) -> TestingDataResultBuilder
fn clone(&self) -> TestingDataResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TestingDataResultBuilder
impl Debug for TestingDataResultBuilder
source§impl Default for TestingDataResultBuilder
impl Default for TestingDataResultBuilder
source§fn default() -> TestingDataResultBuilder
fn default() -> TestingDataResultBuilder
source§impl PartialEq for TestingDataResultBuilder
impl PartialEq for TestingDataResultBuilder
source§fn eq(&self, other: &TestingDataResultBuilder) -> bool
fn eq(&self, other: &TestingDataResultBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestingDataResultBuilder
Auto Trait Implementations§
impl Freeze for TestingDataResultBuilder
impl RefUnwindSafe for TestingDataResultBuilder
impl Send for TestingDataResultBuilder
impl Sync for TestingDataResultBuilder
impl Unpin for TestingDataResultBuilder
impl UnwindSafe for TestingDataResultBuilder
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> 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