Accelerator class
An accelerator card attached to the instance.
Constructors
-
Accelerator({Input<
int> ? count, Input<String> ? type}) -
Creates a new Accelerator.
countOptional. Number of accelerator cards exposed to the instance.typeOptional. Type of accelerator resource to attach to the instance, for example,"nvidia-tesla-p100".const -
Accelerator.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
count
→ Input<
int> ? -
Optional. Number of accelerator cards exposed to the instance.
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> ? -
Optional. Type of accelerator resource to attach to the instance, for example,
"nvidia-tesla-p100".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