GoogleCloudMlV1__AcceleratorConfigArgs

data class GoogleCloudMlV1__AcceleratorConfigArgs(val count: Output<String>? = null, val type: Output<GoogleCloudMlV1__AcceleratorConfigType>? = null) : ConvertibleToJava<GoogleCloudMlV1__AcceleratorConfigArgs>

Represents a hardware accelerator request config. Note that the AcceleratorConfig can be used in both Jobs and Versions. Learn more about /ml-engine/docs/using-gpus and /ml-engine/docs/machine-types-online-prediction#gpus.

Constructors

Link copied to clipboard
constructor(count: Output<String>? = null, type: Output<GoogleCloudMlV1__AcceleratorConfigType>? = null)

Properties

Link copied to clipboard
val count: Output<String>? = null

The number of accelerators to attach to each machine running the job.

Link copied to clipboard

The type of accelerator to use.

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudMlV1__AcceleratorConfigArgs