8d77bc5f267a49ed890222039f9ee058cca7f22f,keras/callbacks_v1.py,TensorBoard,on_batch_end,#TensorBoard#Any#Any#,354
Before Change
self._total_batches_seen += 1
if self._is_profiling:
tf.profiler.experimental.stop()
self._is_profiling = False
def on_train_begin(self, logs=None):
pass
After Change
self._write_custom_summaries(self._total_batches_seen, batch_logs)
self._samples_seen_at_last_write = self._samples_seen
self._total_batches_seen += 1
self._stop_profiler()
def on_train_begin(self, logs=None):
pass
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: keras-team/keras
Commit Name: 8d77bc5f267a49ed890222039f9ee058cca7f22f
Time: 2021-03-01
Author: scottzhu@google.com
File Name: keras/callbacks_v1.py
Class Name: TensorBoard
Method Name: on_batch_end
Project Name: keras-team/keras
Commit Name: 8d77bc5f267a49ed890222039f9ee058cca7f22f
Time: 2021-03-01
Author: scottzhu@google.com
File Name: keras/callbacks.py
Class Name: TensorBoard
Method Name: _init_profile_batch
Project Name: keras-team/keras
Commit Name: 8d77bc5f267a49ed890222039f9ee058cca7f22f
Time: 2021-03-01
Author: scottzhu@google.com
File Name: keras/callbacks.py
Class Name: TensorBoard
Method Name: _stop_trace
Project Name: keras-team/keras
Commit Name: 8d77bc5f267a49ed890222039f9ee058cca7f22f
Time: 2021-03-01
Author: scottzhu@google.com
File Name: keras/callbacks_v1.py
Class Name: TensorBoard
Method Name: on_train_end