MachineSpec constructor
MachineSpec({
- String? machineType,
- AcceleratorType? acceleratorType,
- int? acceleratorCount,
Implementation
factory MachineSpec({
$core.String? machineType,
AcceleratorType? acceleratorType,
$core.int? acceleratorCount,
}) {
final $result = create();
if (machineType != null) {
$result.machineType = machineType;
}
if (acceleratorType != null) {
$result.acceleratorType = acceleratorType;
}
if (acceleratorCount != null) {
$result.acceleratorCount = acceleratorCount;
}
return $result;
}