InferenceSpecification class

Defines how to perform inference generation after a training job is run.

Constructors

InferenceSpecification({required List<ModelPackageContainerDefinition> containers, required List<String> supportedContentTypes, required List<String> supportedResponseMIMETypes, List<ProductionVariantInstanceType>? supportedRealtimeInferenceInstanceTypes, List<TransformInstanceType>? supportedTransformInstanceTypes})
InferenceSpecification.fromJson(Map<String, dynamic> json)
factory

Properties

containers List<ModelPackageContainerDefinition>
The Amazon ECR registry path of the Docker image that contains the inference code.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedContentTypes List<String>
The supported MIME types for the input data.
final
supportedRealtimeInferenceInstanceTypes List<ProductionVariantInstanceType>?
A list of the instance types that are used to generate inferences in real-time.
final
supportedResponseMIMETypes List<String>
The supported MIME types for the output data.
final
supportedTransformInstanceTypes List<TransformInstanceType>?
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited