Resource: NasJob
Represents a Neural Architecture Search (NAS) job.
JSON representation |
---|
{ "name": string, "displayName": string, "nasJobSpec": { object ( |
Fields | |
---|---|
name |
Output only. Resource name of the NasJob. |
displayName |
Required. The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. |
nasJobSpec |
Required. The specification of a NasJob. |
nasJobOutput |
Output only. Output of the NasJob. |
state |
Output only. The detailed state of the job. |
createTime |
Output only. time when the NasJob was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
startTime |
Output only. time when the NasJob for the first time entered the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. time when the NasJob entered any of the following states: A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. time when the NasJob was most recently updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
error |
Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED. |
labels |
The labels with user-defined metadata to organize NasJobs. label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. |
encryptionSpec |
Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key. |
enableRestrictedImageTraining |
Optional. Enable a separation of Custom model training and restricted image training for tenant project. |
NasJobSpec
Represents the spec of a NasJob.
JSON representation |
---|
{ "resumeNasJobId": string, "searchSpaceSpec": string, // Union field |
Fields | |
---|---|
resumeNasJobId |
The id of the existing NasJob in the same Project and Location which will be used to resume search. searchSpaceSpec and nas_algorithm_spec are obtained from previous NasJob hence should not provide them again for this NasJob. |
searchSpaceSpec |
It defines the search space for Neural Architecture Search (NAS). |
Union field nas_algorithm_spec . The Neural Architecture Search (NAS) algorithm specification. nas_algorithm_spec can be only one of the following: |
|
multiTrialAlgorithmSpec |
The spec of multi-trial algorithms. |
MultiTrialAlgorithmSpec
The spec of multi-trial Neural Architecture Search (NAS).
JSON representation |
---|
{ "multiTrialAlgorithm": enum ( |
Fields | |
---|---|
multiTrialAlgorithm |
The multi-trial Neural Architecture Search (NAS) algorithm type. Defaults to |
metric |
Metric specs for the NAS job. Validation for this field is done at |
searchTrialSpec |
Required. Spec for search trials. |
trainTrialSpec |
Spec for train trials. top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched. |
MultiTrialAlgorithm
The available types of multi-trial algorithms.
Enums | |
---|---|
MULTI_TRIAL_ALGORITHM_UNSPECIFIED |
Defaults to REINFORCEMENT_LEARNING . |
REINFORCEMENT_LEARNING |
The Reinforcement Learning algorithm for Multi-trial Neural Architecture Search (NAS). |
GRID_SEARCH |
The Grid Search algorithm for Multi-trial Neural Architecture Search (NAS). |
MetricSpec
Represents a metric to optimize.
JSON representation |
---|
{
"metricId": string,
"goal": enum ( |
Fields | |
---|---|
metricId |
Required. The id of the metric. Must not contain whitespaces. |
goal |
Required. The optimization goal of the metric. |
GoalType
The available types of optimization goals.
Enums | |
---|---|
GOAL_TYPE_UNSPECIFIED |
Goal type will default to maximize. |
MAXIMIZE |
Maximize the goal metric. |
MINIMIZE |
Minimize the goal metric. |
SearchTrialSpec
Represent spec for search trials.
JSON representation |
---|
{
"searchTrialJobSpec": {
object ( |
Fields | |
---|---|
searchTrialJobSpec |
Required. The spec of a search trial job. The same spec applies to all search trials. |
maxTrialCount |
Required. The maximum number of Neural Architecture Search (NAS) trials to run. |
maxParallelTrialCount |
Required. The maximum number of trials to run in parallel. |
maxFailedTrialCount |
The number of failed trials that need to be seen before failing the NasJob. If set to 0, Vertex AI decides how many trials must fail before the whole job fails. |
TrainTrialSpec
Represent spec for train trials.
JSON representation |
---|
{
"trainTrialJobSpec": {
object ( |
Fields | |
---|---|
trainTrialJobSpec |
Required. The spec of a train trial job. The same spec applies to all train trials. |
maxParallelTrialCount |
Required. The maximum number of trials to run in parallel. |
frequency |
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. |
NasJobOutput
Represents a uCAIP NasJob output.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field output . The output of this Neural Architecture Search (NAS) job. output can be only one of the following: |
|
multiTrialJobOutput |
Output only. The output of this multi-trial Neural Architecture Search (NAS) job. |
MultiTrialJobOutput
The output of a multi-trial Neural Architecture Search (NAS) jobs.
JSON representation |
---|
{ "searchTrials": [ { object ( |
Fields | |
---|---|
searchTrials[] |
Output only. List of NasTrials that were started as part of search stage. |
trainTrials[] |
Output only. List of NasTrials that were started as part of train stage. |
Methods |
|
---|---|
|
Cancels a NasJob. |
|
Creates a NasJob |
|
Deletes a NasJob. |
|
Gets a NasJob |
|
Lists NasJobs in a Location. |