nndeploy.server.executor

Classes

GraphExecutor(resources[, cache_type, ...])

Encapsulate nndeploy load and run logic

class nndeploy.server.executor.GraphExecutor(resources, cache_type=False, cache_size=None)[源代码]

基类:object

Encapsulate nndeploy load and run logic

__init__(resources, cache_type=False, cache_size=None)[源代码]
interrupt_running()[源代码]
execute(graph_json: Dict, task_id: str) Tuple[Dict, float][源代码]
handle_urls(graph_json: Dict) Dict[str, str][源代码]