This API is used to obtain information about the YAML template of an auto search job.
GET /v2/{project_id}/training-jobs/autosearch/yaml-templates
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
None
Status code: 200
Parameter |
Type |
Description |
---|---|---|
yaml_templates |
Array of YamlTemplate objects |
Directories and file names of all YAML files. |
The following shows how to query information about the YAML configuration template of an auto search job.
GET https://endpoint/v2/{project_id}/training-jobs/autosearch/yaml-templates
Status code: 200
ok
{ "yaml_templates" : [ { "algorithm_type_en" : "hpo", "algorithm_type_zh" : "algorithm_type_zh to translate", "algorithm_names" : [ "Anneal", "Bayes", "DragonFly", "FixNorm", "GridSearch", "TPE" ] }, { "algorithm_type_en" : "nas", "algorithm_type_zh" : "algorithm_type_zh to translate", "algorithm_names" : [ "AutoBSS", "AutoEvo", "AutoTopo", "MBNAS" ] }, { "algorithm_type_en" : "augment", "algorithm_type_zh" : "algorithm_type_zh to translate", "algorithm_names" : [ "AdvAutoAugment", "AutoAugment" ] }, { "algorithm_type_en" : "compression", "algorithm_type_zh" : "algorithm_type_zh to translate", "algorithm_names" : [ "AutoCompress" ] } ] }
Status Code |
Description |
---|---|
200 |
ok |
See Error Codes.