GoogleCloudMlV1TrainingInput class
Represents input parameters for a training job.
When using the gcloud command to submit your training job, you can specify the input parameters as command-line arguments and/or in a YAML configuration file referenced from the --config command-line argument. For details, see the guide to [submitting a training job](/ai-platform/training/docs/training-jobs).
Constructors
-
GoogleCloudMlV1TrainingInput({List<
String> ? args, bool? enableWebAccess, GoogleCloudMlV1EncryptionConfig? encryptionConfig, GoogleCloudMlV1ReplicaConfig? evaluatorConfig, String? evaluatorCount, String? evaluatorType, GoogleCloudMlV1HyperparameterSpec? hyperparameters, String? jobDir, GoogleCloudMlV1ReplicaConfig? masterConfig, String? masterType, String? network, List<String> ? packageUris, GoogleCloudMlV1ReplicaConfig? parameterServerConfig, String? parameterServerCount, String? parameterServerType, String? pythonModule, String? pythonVersion, String? region, String? runtimeVersion, String? scaleTier, GoogleCloudMlV1Scheduling? scheduling, String? serviceAccount, bool? useChiefInTfConfig, GoogleCloudMlV1ReplicaConfig? workerConfig, String? workerCount, String? workerType}) - GoogleCloudMlV1TrainingInput.fromJson(Map json_)
Properties
-
args
↔ List<
String> ? -
Command-line arguments passed to the training application when it starts.
getter/setter pair
- enableWebAccess ↔ bool?
-
Whether you want AI Platform Training to enable
interactive shell access
to training containers.
getter/setter pair
- encryptionConfig ↔ GoogleCloudMlV1EncryptionConfig?
-
Options for using customer-managed encryption keys (CMEK) to protect
resources created by a training job, instead of using Google's default
encryption.
getter/setter pair
- evaluatorConfig ↔ GoogleCloudMlV1ReplicaConfig?
-
The configuration for evaluators.
getter/setter pair
- evaluatorCount ↔ String?
-
The number of evaluator replicas to use for the training job.
getter/setter pair
- evaluatorType ↔ String?
-
Specifies the type of virtual machine to use for your training job's
evaluator nodes.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hyperparameters ↔ GoogleCloudMlV1HyperparameterSpec?
-
The set of Hyperparameters to tune.
getter/setter pair
- jobDir ↔ String?
-
A Google Cloud Storage path in which to store training outputs and other
data needed for training.
getter/setter pair
- masterConfig ↔ GoogleCloudMlV1ReplicaConfig?
-
The configuration for your master worker.
getter/setter pair
- masterType ↔ String?
-
Specifies the type of virtual machine to use for your training job's
master worker.
getter/setter pair
- network ↔ String?
-
The full name of the [Compute Engine network](/vpc/docs/vpc) to which
the Job is peered.
getter/setter pair
-
packageUris
↔ List<
String> ? -
The Google Cloud Storage location of the packages with the training
program and any additional dependencies.
getter/setter pair
- parameterServerConfig ↔ GoogleCloudMlV1ReplicaConfig?
-
The configuration for parameter servers.
getter/setter pair
- parameterServerCount ↔ String?
-
The number of parameter server replicas to use for the training job.
getter/setter pair
- parameterServerType ↔ String?
-
Specifies the type of virtual machine to use for your training job's
parameter server.
getter/setter pair
- pythonModule ↔ String?
-
The Python module name to run after installing the packages.
getter/setter pair
- pythonVersion ↔ String?
-
The version of Python used in training.
getter/setter pair
- region ↔ String?
-
The region to run the training job in.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeVersion ↔ String?
-
The AI Platform runtime version to use for training.
getter/setter pair
- scaleTier ↔ String?
-
Specifies the machine types, the number of replicas for workers and
parameter servers.
getter/setter pair
- scheduling ↔ GoogleCloudMlV1Scheduling?
-
Scheduling options for a training job.
getter/setter pair
- serviceAccount ↔ String?
-
The email address of a service account to use when running the training
appplication.
getter/setter pair
- useChiefInTfConfig ↔ bool?
-
Use
chief
instead ofmaster
in theTF_CONFIG
environment variable when training with a custom container.getter/setter pair - workerConfig ↔ GoogleCloudMlV1ReplicaConfig?
-
The configuration for workers.
getter/setter pair
- workerCount ↔ String?
-
The number of worker replicas to use for the training job.
getter/setter pair
- workerType ↔ String?
-
Specifies the type of virtual machine to use for your training job's
worker nodes.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited