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

Method on_predict_batch_end

tensorflow/python/keras/callbacks.py:349–356  ·  view source on GitHub ↗

Calls the `on_predict_batch_end` methods of its callbacks. Arguments: batch: integer, index of batch within the current epoch. logs: dict. Metric results for this batch.

(self, batch, logs=None)

Source from the content-addressed store, hash-verified

347 self._call_batch_hook(ModeKeys.PREDICT, 'begin', batch, logs=logs)
348
349 def on_predict_batch_end(self, batch, logs=None):
350 """Calls the `on_predict_batch_end` methods of its callbacks.
351
352 Arguments:
353 batch: integer, index of batch within the current epoch.
354 logs: dict. Metric results for this batch.
355 """
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.

Callers 1

Calls 1

_call_batch_hookMethod · 0.95

Tested by 1