MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / eval_batch

Method eval_batch

python/paddle/hapi/model.py:768–770  ·  view source on GitHub ↗
(self, inputs, labels=None)

Source from the content-addressed store, hash-verified

766 return self._run(inputs, labels)
767
768 def eval_batch(self, inputs, labels=None):
769 self.mode = 'eval'
770 return self._run(inputs, labels)
771
772 def predict_batch(self, inputs):
773 self.mode = 'test'

Callers

nothing calls this directly

Calls 1

_runMethod · 0.95

Tested by

no test coverage detected