Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::TrainTrialSpec.
Represent spec for train trials.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#frequency
def frequency() -> ::Integer
Returns
- (::Integer) — Required. Frequency of search trials to start train stage. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.
#frequency=
def frequency=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Frequency of search trials to start train stage. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.
Returns
- (::Integer) — Required. Frequency of search trials to start train stage. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.
#max_parallel_trial_count
def max_parallel_trial_count() -> ::Integer
Returns
- (::Integer) — Required. The maximum number of trials to run in parallel.
#max_parallel_trial_count=
def max_parallel_trial_count=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The maximum number of trials to run in parallel.
Returns
- (::Integer) — Required. The maximum number of trials to run in parallel.
#train_trial_job_spec
def train_trial_job_spec() -> ::Google::Cloud::AIPlatform::V1::CustomJobSpec
Returns
- (::Google::Cloud::AIPlatform::V1::CustomJobSpec) — Required. The spec of a train trial job. The same spec applies to all train trials.
#train_trial_job_spec=
def train_trial_job_spec=(value) -> ::Google::Cloud::AIPlatform::V1::CustomJobSpec
Parameter
- value (::Google::Cloud::AIPlatform::V1::CustomJobSpec) — Required. The spec of a train trial job. The same spec applies to all train trials.
Returns
- (::Google::Cloud::AIPlatform::V1::CustomJobSpec) — Required. The spec of a train trial job. The same spec applies to all train trials.