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

Method _predict

benchmarks/paddleocr_vl/benchmark.py:52–54  ·  view source on GitHub ↗
(self, batch_data)

Source from the content-addressed store, hash-verified

50 self.pipeline = create_pipeline(config_path)
51
52 def _predict(self, batch_data):
53 results = list(self.pipeline.predict(batch_data))
54 return "\n\n".join(res._to_markdown(pretty=False)["markdown_texts"] for res in results), len(results)
55
56 def close(self):
57 self.pipeline.close()

Callers

nothing calls this directly

Calls 2

predictMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected