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

Method eval_batch

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

Source from the content-addressed store, hash-verified

378 return self._run(inputs, labels)
379
380 def eval_batch(self, inputs, labels=None):
381 self.mode = 'eval'
382 return self._run(inputs, labels)
383
384 def predict_batch(self, inputs):
385 self.mode = 'test'

Callers

nothing calls this directly

Calls 1

_runMethod · 0.95

Tested by

no test coverage detected