View source: R/workflow_airflow.R
model_config | R Documentation |
Export Airflow model config from a SageMaker model
model_config(model, instance_type = NULL, role = NULL, image_uri = NULL)
model |
(sagemaker.model.Model): The Model object from which to export the Airflow config |
instance_type |
(str): The EC2 instance type to deploy this Model to. For example, 'ml.p2.xlarge' |
role |
(str): The “ExecutionRoleArn“ IAM Role ARN for the model |
image_uri |
(str): An Docker image URI to use for deploying the model |
dict: Model config that can be directly used by SageMakerModelOperator in Airflow. It can also be part of the config used by SageMakerEndpointOperator and SageMakerTransformOperator in Airflow.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.