OutputConfig class
Contains information about the output location for the compiled model and
the target device that the model runs on. TargetDevice
and
TargetPlatform
are mutually exclusive, so you need to choose
one between the two to specify your target device or platform. If you cannot
find your device you want to use from the TargetDevice
list,
use TargetPlatform
to describe the platform of your edge device
and CompilerOptions
if there are specific settings that are
required or recommended to use for particular TargetPlatform.
Constructors
- OutputConfig({required String s3OutputLocation, String? compilerOptions, String? kmsKeyId, TargetDevice? targetDevice, TargetPlatform? targetPlatform})
-
OutputConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- compilerOptions → String?
-
Specifies additional parameters for compiler options in JSON format. The
compiler options are
TargetPlatform
specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specifyCompilerOptions.
final - hashCode → int
-
The hash code for this object.
no setterinherited
- kmsKeyId → String?
-
The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
encrypt data on the storage volume after compilation job. If you don't
provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
S3 for your role's account
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- s3OutputLocation → String
-
Identifies the S3 bucket where you want Amazon SageMaker to store the model
artifacts. For example,
s3://bucket-name/key-name-prefix
.final - targetDevice → TargetDevice?
-
Identifies the target device or the machine learning instance that you want
to run your model on after the compilation has completed. Alternatively, you
can specify OS, architecture, and accelerator using TargetPlatform
fields. It can be used instead of
TargetPlatform
.final - targetPlatform → TargetPlatform?
-
Contains information about a target platform that you want your model to run
on, such as OS, architecture, and accelerators. It is an alternative of
TargetDevice
.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