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

Function create_and_submit_new_task

benchmarks/paddleocr_vl/benchmark.py:105–114  ·  view source on GitHub ↗
(executor, requestor, task_info_dict, input_path)

Source from the content-addressed store, hash-verified

103
104
105def create_and_submit_new_task(executor, requestor, task_info_dict, input_path):
106 task_info = new_task_info()
107 task = executor.submit(
108 requestor.make_request,
109 task_info,
110 input_path,
111 )
112 task_info_dict[task] = task_info
113
114 return task
115
116
117if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

new_task_infoFunction · 0.85

Tested by

no test coverage detected