MachineSpec constructor

MachineSpec({
  1. String machineType = '',
  2. AcceleratorType acceleratorType = AcceleratorType.$default,
  3. int acceleratorCount = 0,
  4. String gpuPartitionSize = '',
  5. String tpuTopology = '',
  6. int multihostGpuNodeCount = 0,
  7. ReservationAffinity? reservationAffinity,
})

Implementation

MachineSpec({
  this.machineType = '',
  this.acceleratorType = AcceleratorType.$default,
  this.acceleratorCount = 0,
  this.gpuPartitionSize = '',
  this.tpuTopology = '',
  this.multihostGpuNodeCount = 0,
  this.reservationAffinity,
}) : super(fullyQualifiedName);