RuntimeAcceleratorConfig class
Definition of the types of hardware accelerators that can be used. See Compute Engine AcceleratorTypes. Examples: * nvidia-tesla-k80 * nvidia-tesla-p100 * nvidia-tesla-v100 * nvidia-tesla-p4 * nvidia-tesla-t4 * nvidia-tesla-a100
Constructors
-
RuntimeAcceleratorConfig({Input<
String> ? coreCount, Input<RuntimeAcceleratorConfigType> ? type}) -
Creates a new RuntimeAcceleratorConfig.
coreCountCount of cores of this accelerator.typeAccelerator model.const -
RuntimeAcceleratorConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
coreCount
→ Input<
String> ? -
Count of cores of this accelerator.
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<
RuntimeAcceleratorConfigType> ? -
Accelerator model.
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