GoogleCloudMlV1AcceleratorConfig 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](/ml-engine/docs/using-gpus) and [accelerators for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
Constructors
- GoogleCloudMlV1AcceleratorConfig({String? count, String? type})
- GoogleCloudMlV1AcceleratorConfig.fromJson(Map json_)
Properties
- count ↔ String?
-
The number of accelerators to attach to each machine running the job.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
The type of accelerator to use.
Possible string values are:
getter/setter pair
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