08af7771d1f1149f3da5a98bcdbf7e65abd409ba,nni/retiarii/strategies/tpe_strategy.py,TPEStrategy,run,#TPEStrategy#Any#Any#,43
Before Change
wait_models(model)
self.tpe_sampler.receive_result(self.model_id, model.metric)
self.model_id += 1
_logger.info("Strategy says: %s", model.metric)
except Exception:
_logger.error(logging.exception("message"))
After Change
self.running_models[self.model_id] = model
self.model_id += 1
else:
time.sleep(2)
_logger.warning("num of running models: %d", len(self.running_models))
to_be_deleted = []
for _id, _model in self.running_models.items():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: Microsoft/nni
Commit Name: 08af7771d1f1149f3da5a98bcdbf7e65abd409ba
Time: 2020-12-27
Author: Quanlu.Zhang@microsoft.com
File Name: nni/retiarii/strategies/tpe_strategy.py
Class Name: TPEStrategy
Method Name: run
Project Name: AlexsLemonade/refinebio
Commit Name: 903d095f1a48cd13db6014a1c67d225d1afd2832
Time: 2019-08-15
Author: kurt.wheeler91@gmail.com
File Name: foreman/data_refinery_foreman/surveyor/test_end_to_end.py
Class Name: EnaFallbackTestCase
Method Name: test_unmated_reads
Project Name: tensorflow/benchmarks
Commit Name: a62a840a9227010662bc0317d8d97752c1d45366
Time: 2019-03-13
Author: donglin@google.com
File Name: perfzero/lib/cloud_manager.py
Class Name:
Method Name: create
Project Name: SeldonIO/seldon-core
Commit Name: 3972ee672edbf6726f8c15354fd2f3829f7d0af9
Time: 2020-05-19
Author: agm@seldon.io
File Name: python/tests/helpers.py
Class Name: MicroserviceWrapper
Method Name: __enter__