54ca2c098233300e63491dad6932220d01743c56,catalyst/rl/core/sampler.py,Sampler,_run_sample_loop,#Sampler#,209

Before Change


            return

    def _run_sample_loop(self):
        while True:
            self._run_trajectory_loop()

    def _start_sample_loop(self):
        self._run_sample_loop()

    def run(self):

After Change



            trajectory, trajectory_info = self._run_trajectory_loop()
            if trajectory is None:
                continue

            if not self._infer or self._force_store:
                self._store_trajectory(trajectory)
            self._log_to_console(**trajectory_info)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: catalyst-team/catalyst
Commit Name: 54ca2c098233300e63491dad6932220d01743c56
Time: 2019-06-06
Author: scitator@gmail.com
File Name: catalyst/rl/core/sampler.py
Class Name: Sampler
Method Name: _run_sample_loop


Project Name: hanxiao/bert-as-service
Commit Name: ed8568e1604e66dc6154f860872043a239e6c0db
Time: 2018-11-08
Author: hanhxiao@tencent.com
File Name: extract_features.py
Class Name:
Method Name: read_examples


Project Name: chainer/chainercv
Commit Name: 93cfd8bd22d6b798b94aead3c8ea75ace2727265
Time: 2019-02-18
Author: shingogo@hotmail.co.jp
File Name: chainercv/functions/ps_roi_max_align_2d.py
Class Name: PSROIMaxAlign2D
Method Name: forward_cpu