781613df62c6a6e0843ed787490d9ffe63c711dc,tools/nnicmd/config_schema.py,,,#,24

Before Change


    "className": str,
    Optional("classArgs"): {
        Optional("optimize_mode"): Or("maximize", "minimize"),
        Optional("speed"): int
        },
    Optional("gpuNum"): And(int, lambda x: 0 <= x <= 99999),
}),

After Change


"experimentName": str,
"trialConcurrency": And(int, lambda n: 1 <=n <= 999999),
Optional("maxExecDuration"): Regex(r"^[1-9][0-9]*[s|m|h|d]$"),
Optional("maxTrialNum"): And(int, lambda x: 1 <= x <= 99999),
"trainingServicePlatform": And(str, lambda x: x in ["remote", "local", "pai"]),
Optional("searchSpacePath"): os.path.exists,
"useAnnotation": bool,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: microsoft/nni
Commit Name: 781613df62c6a6e0843ed787490d9ffe63c711dc
Time: 2018-09-25
Author: shinaiyang@pku.edu.cn
File Name: tools/nnicmd/config_schema.py
Class Name:
Method Name:


Project Name: microsoft/nni
Commit Name: 851955e68aeff31026d5af9af270b1855d79de7f
Time: 2018-11-23
Author: shinaiyang@pku.edu.cn
File Name: tools/nni_cmd/config_schema.py
Class Name:
Method Name:


Project Name: microsoft/nni
Commit Name: d3506e3420a06f076acb8d419beac81b1d8e98ac
Time: 2018-09-27
Author: yudeshui2007@gmail.com
File Name: tools/nnicmd/config_schema.py
Class Name:
Method Name: