06af62ba91f893e34e70c3aa1f272d758cd0c8bd,python/ray/tune/suggest/variant_generator.py,,_generate_variants,#Any#,118
Before Change
yield {}, spec
return
grid_vars = []
lambda_vars = []
for path, value in unresolved.items():
if callable(value):
lambda_vars.append((path, value))
else:
grid_vars.append((path, value))
grid_vars.sort()
grid_search = _grid_search_generator(spec, grid_vars)
for resolved_spec in grid_search:
After Change
def _generate_variants(spec):
spec = copy.deepcopy(spec)
_ , domain_vars, grid_vars = parse_spec_vars(spec)
if not domain_vars and not grid_vars:
yield {}, spec
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: ray-project/ray
Commit Name: 06af62ba91f893e34e70c3aa1f272d758cd0c8bd
Time: 2020-09-03
Author: krfricke@users.noreply.github.com
File Name: python/ray/tune/suggest/variant_generator.py
Class Name:
Method Name: _generate_variants
Project Name: ClimbsRocks/auto_ml
Commit Name: 9b9e491bb00be66b732d2f44b3e4375206940e61
Time: 2016-10-19
Author: climbsbytes@gmail.com
File Name: auto_ml/predictor.py
Class Name: Predictor
Method Name: make_sub_x_and_y_test
Project Name: OpenNMT/OpenNMT-py
Commit Name: 63871d5ab3301d015805abddd8f4259680d6a24a
Time: 2017-09-21
Author: bpeters@coli.uni-saarland.de
File Name: translate.py
Class Name:
Method Name: main