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 and accelerators for online prediction.

Constructors

GoogleCloudMlV1AcceleratorConfig({Input<String>? count, Input<GoogleCloudMlV1AcceleratorConfigType>? type})
Creates a new GoogleCloudMlV1AcceleratorConfig. count The number of accelerators to attach to each machine running the job. type The type of accelerator to use.
const
GoogleCloudMlV1AcceleratorConfig.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<GoogleCloudMlV1AcceleratorConfigType>?
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