Class CfnModelCard.InferenceSpecificationProperty
Defines how to perform inference generation after a training job is run.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnModelCard.InferenceSpecificationProperty : CfnModelCard.IInferenceSpecificationProperty
Syntax (vb)
Public Class CfnModelCard.InferenceSpecificationProperty Implements CfnModelCard.IInferenceSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var inferenceSpecificationProperty = new InferenceSpecificationProperty {
Containers = new [] { new ContainerProperty {
Image = "image",
// the properties below are optional
ModelDataUrl = "modelDataUrl",
NearestModelName = "nearestModelName"
} }
};
Synopsis
Constructors
InferenceSpecificationProperty() | Defines how to perform inference generation after a training job is run. |
Properties
Containers | The Amazon ECR registry path of the Docker image that contains the inference code. |
Constructors
InferenceSpecificationProperty()
Defines how to perform inference generation after a training job is run.
public InferenceSpecificationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var inferenceSpecificationProperty = new InferenceSpecificationProperty {
Containers = new [] { new ContainerProperty {
Image = "image",
// the properties below are optional
ModelDataUrl = "modelDataUrl",
NearestModelName = "nearestModelName"
} }
};
Properties
Containers
The Amazon ECR registry path of the Docker image that contains the inference code.
public object Containers { get; set; }