What is the difference between model.test_on_batch() and model.evaluate() in Keras?
-
A
test_on_batch processes one batch without looping; evaluate loops over the full dataset
-
B
test_on_batch is faster for large datasets
-
C
evaluate only works with tf.data; test_on_batch works with numpy
-
D
They are identical