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

Method predict_batch

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

Source from the content-addressed store, hash-verified

770 return self._run(inputs, labels)
771
772 def predict_batch(self, inputs):
773 self.mode = 'test'
774 return self._run(inputs, None)
775
776 def parameters(self, *args, **kwargs):
777 return self.model.network.parameters(*args, **kwargs)

Callers

nothing calls this directly

Calls 1

_runMethod · 0.95

Tested by

no test coverage detected