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

Method on_test_batch_end

tensorflow/python/keras/callbacks.py:330–337  ·  view source on GitHub ↗

Calls the `on_test_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

328 self._call_batch_hook(ModeKeys.TEST, 'begin', batch, logs=logs)
329
330 def on_test_batch_end(self, batch, logs=None):
331 """Calls the `on_test_batch_end` methods of its callbacks.
332
333 Arguments:
334 batch: integer, index of batch within the current epoch.
335 logs: dict. Metric results for this batch.
336 """
337 self._call_batch_hook(ModeKeys.TEST, 'end', batch, logs=logs)
338
339 def on_predict_batch_begin(self, batch, logs=None):
340 """Calls the `on_predict_batch_begin` methods of its callbacks.

Callers 1

Calls 1

_call_batch_hookMethod · 0.95

Tested by 1