class Google::Apis::NotebooksV1::SchedulerAcceleratorConfig

Definition of a hardware accelerator. Note that not all combinations of `type` and `core_count` are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Attributes

core_count[RW]

Count of cores of this accelerator. Corresponds to the JSON property `coreCount` @return [Fixnum]

type[RW]

Type of this accelerator. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 2207
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 2212
def update!(**args)
  @core_count = args[:core_count] if args.key?(:core_count)
  @type = args[:type] if args.key?(:type)
end