MCPcopy Create free account
hub / github.com/alibaba/nann / test_on_batch

Method test_on_batch

tensorflow/tensorflow/python/keras/engine/training.py:1026–1112  ·  view source on GitHub ↗

Test the model on a single batch of samples. Arguments: x: Input data. It could be: - A Numpy array (or array-like), or a list of arrays (in case the model has multiple inputs). - A TensorFlow tensor, or a list of tensors (in case the model ha

(self, x, y=None, sample_weight=None, reset_metrics=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 8

_check_call_argsMethod · 0.95
_make_test_functionMethod · 0.95
reset_metricsMethod · 0.95
as_listMethod · 0.45
test_functionMethod · 0.45

Tested by

no test coverage detected