Class CfnModelCard.InferenceSpecificationProperty
Defines how to perform inference generation after a training job is run.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InferenceSpecificationProperty : Object, CfnModelCard.IInferenceSpecificationProperty
Syntax (vb)
Public Class InferenceSpecificationProperty
Inherits Object
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
Inference |
Properties
Containers | The Amazon ECR registry path of the Docker image that contains the inference code. |
Constructors
InferenceSpecificationProperty()
public InferenceSpecificationProperty()
Properties
Containers
The Amazon ECR registry path of the Docker image that contains the inference code.
public object Containers { get; set; }
Property Value
System.