#[non_exhaustive]pub struct RecommendationJobContainerConfig { /* private fields */ }Expand description
Specifies mandatory fields for running an Inference Recommender job directly in the CreateInferenceRecommendationsJob API. The fields specified in ContainerConfig override the corresponding fields in the model package. Use ContainerConfig if you want to specify these fields for the recommendation job but don't want to edit them in your model package.
Implementations
sourceimpl RecommendationJobContainerConfig
 
impl RecommendationJobContainerConfig
sourcepub fn domain(&self) -> Option<&str>
 
pub fn domain(&self) -> Option<&str>
The machine learning domain of the model and its components.
Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING 
sourcepub fn task(&self) -> Option<&str>
 
pub fn task(&self) -> Option<&str>
The machine learning task that the model accomplishes.
Valid Values: IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER 
sourcepub fn framework(&self) -> Option<&str>
 
pub fn framework(&self) -> Option<&str>
The machine learning framework of the container image.
Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN 
sourcepub fn framework_version(&self) -> Option<&str>
 
pub fn framework_version(&self) -> Option<&str>
The framework version of the container image.
sourcepub fn payload_config(&self) -> Option<&RecommendationJobPayloadConfig>
 
pub fn payload_config(&self) -> Option<&RecommendationJobPayloadConfig>
Specifies the SamplePayloadUrl and all other sample payload-related fields.
sourcepub fn nearest_model_name(&self) -> Option<&str>
 
pub fn nearest_model_name(&self) -> Option<&str>
The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender that matches your model.
Valid Values: efficientnetb7 | unet | xgboost | faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 | mask-rcnn | sagemaker-scikit-learn | densenet201-gluon | resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 | bert-base-cased | xceptionV1-keras | resnet50 | retinanet 
sourcepub fn supported_instance_types(&self) -> Option<&[String]>
 
pub fn supported_instance_types(&self) -> Option<&[String]>
A list of the instance types that are used to generate inferences in real-time.
sourceimpl RecommendationJobContainerConfig
 
impl RecommendationJobContainerConfig
sourcepub fn builder() -> Builder
 
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationJobContainerConfig.
Trait Implementations
sourceimpl Clone for RecommendationJobContainerConfig
 
impl Clone for RecommendationJobContainerConfig
sourcefn clone(&self) -> RecommendationJobContainerConfig
 
fn clone(&self) -> RecommendationJobContainerConfig
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more