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

Method on_train_begin

tensorflow/python/keras/callbacks.py:358–366  ·  view source on GitHub ↗

Calls the `on_train_begin` methods of its callbacks. Arguments: logs: dict. Currently no data is passed to this argument for this method but that may change in the future.

(self, logs=None)

Source from the content-addressed store, hash-verified

356 self._call_batch_hook(ModeKeys.PREDICT, 'end', batch, logs=logs)
357
358 def on_train_begin(self, logs=None):
359 """Calls the `on_train_begin` methods of its callbacks.
360
361 Arguments:
362 logs: dict. Currently no data is passed to this argument for this method
363 but that may change in the future.
364 """
365 for callback in self.callbacks:
366 callback.on_train_begin(logs)
367
368 def on_train_end(self, logs=None):
369 """Calls the `on_train_end` methods of its callbacks.

Callers 1

_call_begin_hookMethod · 0.95

Calls 1

on_train_beginMethod · 0.45

Tested by

no test coverage detected