1b13cb710528bc7ebfaf7e402cdc2c1090f0afe5,deeplearning/clgen/models/tensorflow_backend.py,TensorFlowModel,_LockedTrain,#TensorFlowModel#,177

Before Change


      max_batch = self.config.training.num_epochs * self.data_generator.num_batches

      if sess.run(self.epoch) != self.config.training.num_epochs:
        logging.info("training, %s", self)

      // Per-epoch training loop.
      // TODO(cec): Per-epoch progress bars.
      for epoch_num in range(sess.run(self.epoch) + 1,

After Change


        logging.info(
            "Saved checkpoint %s in %s ms.",
            checkpoint_path,
            humanize.intcomma(int((time.time() - start_time) * 1000)))
        assert pathlib.Path(
            f"{checkpoint_prefix}-{global_step}.index").is_file()
        assert pathlib.Path(f"{checkpoint_prefix}-{global_step}.meta").is_file()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: ChrisCummins/clgen
Commit Name: 1b13cb710528bc7ebfaf7e402cdc2c1090f0afe5
Time: 2018-06-05
Author: chrisc.101@gmail.com
File Name: deeplearning/clgen/models/tensorflow_backend.py
Class Name: TensorFlowModel
Method Name: _LockedTrain


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 0b686a33355044ffd8957f28a856674c9f00116e
Time: 2020-04-07
Author: ruwa@google.com
File Name: perfkitbenchmarker/data/large_scale_boot/listener_server.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 36e626e95d7cb905708bb997fc102ad1d91eb0be
Time: 2020-08-14
Author: robertnishihara@gmail.com
File Name: dashboard/agent.py
Class Name: DashboardAgent
Method Name: __init__


Project Name: pytorch/benchmark
Commit Name: 89ba3b79b250f1f663931fefeeb5fdb093bceeec
Time: 2018-06-07
Author: cpuhrsch@fb.com
File Name: timing/python/framework/main.py
Class Name:
Method Name: main