MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / _get_generated_result

Method _get_generated_result

fastdeploy/engine/engine.py:230–235  ·  view source on GitHub ↗

Get result from scheduler, this function is called by generate() which is only used in offline inference.

(self)

Source from the content-addressed store, hash-verified

228 return True
229
230 def _get_generated_result(self):
231 """
232 Get result from scheduler, this function is called by generate()
233 which is only used in offline inference.
234 """
235 return self.engine.scheduler.get_results()
236
237 # _insert_task_to_worker moved to CommonEngine
238

Callers 1

_receive_outputMethod · 0.80

Calls 1

get_resultsMethod · 0.45

Tested by

no test coverage detected