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

Method predict_batch

python/paddle/hapi/model.py:384–386  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

382 return self._run(inputs, labels)
383
384 def predict_batch(self, inputs):
385 self.mode = 'test'
386 return self._run(inputs, None)
387
388 def parameters(self, *args, **kwargs):
389 return self.model.network.parameters(*args, **kwargs)

Callers

nothing calls this directly

Calls 1

_runMethod · 0.95

Tested by

no test coverage detected