#[non_exhaustive]pub struct RecommendationJobInferenceBenchmark {
pub metrics: Option<RecommendationMetrics>,
pub endpoint_metrics: Option<InferenceMetrics>,
pub endpoint_configuration: Option<EndpointOutputConfiguration>,
pub model_configuration: Option<ModelConfiguration>,
pub failure_reason: Option<String>,
pub invocation_end_time: Option<DateTime>,
pub invocation_start_time: Option<DateTime>,
}
Expand description
The details for a specific benchmark from an Inference Recommender job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.metrics: Option<RecommendationMetrics>
The metrics of recommendations.
endpoint_metrics: Option<InferenceMetrics>
The metrics for an existing endpoint compared in an Inference Recommender job.
endpoint_configuration: Option<EndpointOutputConfiguration>
The endpoint configuration made by Inference Recommender during a recommendation job.
model_configuration: Option<ModelConfiguration>
Defines the model configuration. Includes the specification name and environment parameters.
failure_reason: Option<String>
The reason why a benchmark failed.
invocation_end_time: Option<DateTime>
A timestamp that shows when the benchmark completed.
invocation_start_time: Option<DateTime>
A timestamp that shows when the benchmark started.
Implementations§
source§impl RecommendationJobInferenceBenchmark
impl RecommendationJobInferenceBenchmark
sourcepub fn metrics(&self) -> Option<&RecommendationMetrics>
pub fn metrics(&self) -> Option<&RecommendationMetrics>
The metrics of recommendations.
sourcepub fn endpoint_metrics(&self) -> Option<&InferenceMetrics>
pub fn endpoint_metrics(&self) -> Option<&InferenceMetrics>
The metrics for an existing endpoint compared in an Inference Recommender job.
sourcepub fn endpoint_configuration(&self) -> Option<&EndpointOutputConfiguration>
pub fn endpoint_configuration(&self) -> Option<&EndpointOutputConfiguration>
The endpoint configuration made by Inference Recommender during a recommendation job.
sourcepub fn model_configuration(&self) -> Option<&ModelConfiguration>
pub fn model_configuration(&self) -> Option<&ModelConfiguration>
Defines the model configuration. Includes the specification name and environment parameters.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason why a benchmark failed.
sourcepub fn invocation_end_time(&self) -> Option<&DateTime>
pub fn invocation_end_time(&self) -> Option<&DateTime>
A timestamp that shows when the benchmark completed.
sourcepub fn invocation_start_time(&self) -> Option<&DateTime>
pub fn invocation_start_time(&self) -> Option<&DateTime>
A timestamp that shows when the benchmark started.
source§impl RecommendationJobInferenceBenchmark
impl RecommendationJobInferenceBenchmark
sourcepub fn builder() -> RecommendationJobInferenceBenchmarkBuilder
pub fn builder() -> RecommendationJobInferenceBenchmarkBuilder
Creates a new builder-style object to manufacture RecommendationJobInferenceBenchmark
.
Trait Implementations§
source§impl Clone for RecommendationJobInferenceBenchmark
impl Clone for RecommendationJobInferenceBenchmark
source§fn clone(&self) -> RecommendationJobInferenceBenchmark
fn clone(&self) -> RecommendationJobInferenceBenchmark
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RecommendationJobInferenceBenchmark
impl PartialEq for RecommendationJobInferenceBenchmark
source§fn eq(&self, other: &RecommendationJobInferenceBenchmark) -> bool
fn eq(&self, other: &RecommendationJobInferenceBenchmark) -> bool
self
and other
values to be equal, and is used
by ==
.