MCPcopy Index your code
hub / github.com/PaddlePaddle/FastDeploy / _send_task

Method _send_task

fastdeploy/entrypoints/engine_client.py:393–399  ·  view source on GitHub ↗
(self, task)

Source from the content-addressed store, hash-verified

391 raise EngineError(str(e), error_code=400)
392
393 def _send_task(self, task):
394 if not self.enable_mm and not envs.ENABLE_V1_DATA_PROCESSOR:
395 self.zmq_client.send_json(task)
396 else:
397 if envs.FD_ENABLE_E2W_TENSOR_CONVERT:
398 to_tensor([task])
399 self.zmq_client.send_pyobj(task)
400
401 def valid_parameters(self, data):
402 """

Callers 4

add_requestsMethod · 0.95
abortMethod · 0.95

Calls 3

to_tensorFunction · 0.90
send_jsonMethod · 0.45
send_pyobjMethod · 0.45