MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / on_batch_begin

Method on_batch_begin

tensorflow/python/keras/callbacks.py:265–266  ·  view source on GitHub ↗
(self, batch, logs=None)

Source from the content-addressed store, hash-verified

263 self.on_predict_end()
264
265 def on_batch_begin(self, batch, logs=None):
266 self._call_batch_hook(ModeKeys.TRAIN, 'begin', batch, logs=logs)
267
268 def on_batch_end(self, batch, logs=None):
269 self._call_batch_hook(ModeKeys.TRAIN, 'end', batch, logs=logs)

Callers

nothing calls this directly

Calls 1

_call_batch_hookMethod · 0.95

Tested by

no test coverage detected