GoogleCloudMlV1AcceleratorConfigResponse class
Represents a hardware accelerator request config. Note that the AcceleratorConfig can be used in both Jobs and Versions. Learn more about accelerators for training and accelerators for online prediction.
Constructors
-
GoogleCloudMlV1AcceleratorConfigResponse({required Input<
String> count, required Input<String> type}) -
Creates a new GoogleCloudMlV1AcceleratorConfigResponse.
countThe number of accelerators to attach to each machine running the job.typeThe type of accelerator to use.const -
GoogleCloudMlV1AcceleratorConfigResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
count
→ Input<
String> -
The number of accelerators to attach to each machine running the job.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<
String> -
The type of accelerator to use.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited