Struct google_ml1_beta1::GoogleCloudMlV1beta1__TrainingInput [] [src]

pub struct GoogleCloudMlV1beta1__TrainingInput {
    pub worker_type: Option<String>,
    pub scale_tier: Option<String>,
    pub master_type: Option<String>,
    pub hyperparameters: Option<GoogleCloudMlV1beta1__HyperparameterSpec>,
    pub region: Option<String>,
    pub args: Option<Vec<String>>,
    pub python_module: Option<String>,
    pub package_uris: Option<Vec<String>>,
    pub worker_count: Option<i64>,
    pub parameter_server_type: Option<String>,
    pub parameter_server_count: Option<i64>,
}

Represents input parameters for a training job.

This type is not used in any activity, and only used as part of another schema.

Fields

Optional. Specifies the type of virtual machine to use for your training job's worker nodes.

The supported values are the same as those described in the entry for masterType.

This value must be present when scaleTier is set to CUSTOM and workerCount is greater than zero.

Required. Specifies the machine types, the number of replicas for workers and parameter servers.

Optional. Specifies the type of virtual machine to use for your training job's master worker.

The following types are supported:

standard
A basic machine configuration suitable for training simple models with small to moderate datasets.
large_model
A machine with a lot of memory, specially suited for parameter servers when your model is large (having many hidden layers or layers with very large numbers of nodes).
complex_model_s
A machine suitable for the master and workers of the cluster when your model requires more computation than the standard machine can handle satisfactorily.
complex_model_m
A machine with roughly twice the number of cores and roughly double the memory of complex_model_s.
complex_model_l
A machine with roughly twice the number of cores and roughly double the memory of complex_model_m.

You must set this value when scaleTier is set to CUSTOM.

Optional. The set of Hyperparameters to tune.

Required. The Google Compute Engine region to run the training job in.

Optional. Command line arguments to pass to the program.

Required. The Python module name to run after installing the packages.

Required. The Google Cloud Storage location of the packages with the training program and any additional dependencies.

Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in worker_type.

This value can only be used when scale_tier is set to CUSTOM. If you set this value, you must also set worker_type.

Optional. Specifies the type of virtual machine to use for your training job's parameter server.

The supported values are the same as those described in the entry for master_type.

This value must be present when scaleTier is set to CUSTOM and parameter_server_count is greater than zero.

Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in parameter_server_type.

This value can only be used when scale_tier is set to CUSTOM.If you set this value, you must also set parameter_server_type.

Trait Implementations

impl Debug for GoogleCloudMlV1beta1__TrainingInput
[src]

Formats the value using the given formatter.

impl Clone for GoogleCloudMlV1beta1__TrainingInput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for GoogleCloudMlV1beta1__TrainingInput
[src]

Returns the "default value" for a type. Read more

impl Part for GoogleCloudMlV1beta1__TrainingInput
[src]