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.

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: 3

Non-data size: 4

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: D2KLab/entity2rec
Commit Name: 0564df3e09ffdcb7b0fe436574ea008f80d2eeb7
Time: 2017-11-28
Author: enricopalumbo0@gmail.com
File Name: src/entity2rec.py
Class Name:
Method Name:


Project Name: tensorflow/cleverhans
Commit Name: 060c1d4ca2d70b441447498213a09a0adc68404b
Time: 2019-01-31
Author: ss.shankar505@gmail.com
File Name: cleverhans/experimental/certification/certify.py
Class Name:
Method Name: main