Struct aws_sdk_sagemaker::model::InferenceSpecification
source · #[non_exhaustive]pub struct InferenceSpecification { /* private fields */ }
Expand description
Defines how to perform inference generation after a training job is run.
Implementations§
source§impl InferenceSpecification
impl InferenceSpecification
sourcepub fn containers(&self) -> Option<&[ModelPackageContainerDefinition]>
pub fn containers(&self) -> Option<&[ModelPackageContainerDefinition]>
The Amazon ECR registry path of the Docker image that contains the inference code.
sourcepub fn supported_transform_instance_types(
&self
) -> Option<&[TransformInstanceType]>
pub fn supported_transform_instance_types(
&self
) -> Option<&[TransformInstanceType]>
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
This parameter is required for unversioned models, and optional for versioned models.
sourcepub fn supported_realtime_inference_instance_types(
&self
) -> Option<&[ProductionVariantInstanceType]>
pub fn supported_realtime_inference_instance_types(
&self
) -> Option<&[ProductionVariantInstanceType]>
A list of the instance types that are used to generate inferences in real-time.
This parameter is required for unversioned models, and optional for versioned models.
sourcepub fn supported_content_types(&self) -> Option<&[String]>
pub fn supported_content_types(&self) -> Option<&[String]>
The supported MIME types for the input data.
sourcepub fn supported_response_mime_types(&self) -> Option<&[String]>
pub fn supported_response_mime_types(&self) -> Option<&[String]>
The supported MIME types for the output data.
source§impl InferenceSpecification
impl InferenceSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InferenceSpecification
.
Trait Implementations§
source§impl Clone for InferenceSpecification
impl Clone for InferenceSpecification
source§fn clone(&self) -> InferenceSpecification
fn clone(&self) -> InferenceSpecification
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 InferenceSpecification
impl Debug for InferenceSpecification
source§impl PartialEq<InferenceSpecification> for InferenceSpecification
impl PartialEq<InferenceSpecification> for InferenceSpecification
source§fn eq(&self, other: &InferenceSpecification) -> bool
fn eq(&self, other: &InferenceSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.