Struct aws_sdk_sagemaker::types::RecommendationMetrics
source · #[non_exhaustive]pub struct RecommendationMetrics { /* private fields */ }
Expand description
The metrics of recommendations.
Implementations§
source§impl RecommendationMetrics
impl RecommendationMetrics
sourcepub fn cost_per_hour(&self) -> f32
pub fn cost_per_hour(&self) -> f32
Defines the cost per hour for the instance.
sourcepub fn cost_per_inference(&self) -> f32
pub fn cost_per_inference(&self) -> f32
Defines the cost per inference for the instance .
sourcepub fn max_invocations(&self) -> i32
pub fn max_invocations(&self) -> i32
The expected maximum number of requests per minute for the instance.
sourcepub fn model_latency(&self) -> i32
pub fn model_latency(&self) -> i32
The expected model latency at maximum invocation per minute for the instance.
sourcepub fn cpu_utilization(&self) -> Option<f32>
pub fn cpu_utilization(&self) -> Option<f32>
The expected CPU utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
sourcepub fn memory_utilization(&self) -> Option<f32>
pub fn memory_utilization(&self) -> Option<f32>
The expected memory utilization at maximum invocations per minute for the instance.
NaN
indicates that the value is not available.
source§impl RecommendationMetrics
impl RecommendationMetrics
sourcepub fn builder() -> RecommendationMetricsBuilder
pub fn builder() -> RecommendationMetricsBuilder
Creates a new builder-style object to manufacture RecommendationMetrics
.
Trait Implementations§
source§impl Clone for RecommendationMetrics
impl Clone for RecommendationMetrics
source§fn clone(&self) -> RecommendationMetrics
fn clone(&self) -> RecommendationMetrics
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 RecommendationMetrics
impl Debug for RecommendationMetrics
source§impl PartialEq<RecommendationMetrics> for RecommendationMetrics
impl PartialEq<RecommendationMetrics> for RecommendationMetrics
source§fn eq(&self, other: &RecommendationMetrics) -> bool
fn eq(&self, other: &RecommendationMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.