qai_hub.submit_link_job
- submit_link_job(models, device, name=None, options='', project=None)
Submits a link job.
A link job generates a context binary model from one or more input models. The input models must all be QNN DLC models. This is particularly useful if the input models contain overlapping weights, since the weights will be shared between the graphs.
To profile or inference a multi-graph QNN context binary, please use
--qnn_options context_enable_graphs=<graph name>to select the graph.- Parameters:
models (
Model|str|Path|None|list[Model|str|Path|None]) – Models to link. Each model in the list must be a QNN DLC model.name (
Optional[str]) – Optional name for the job. Job names need not be unique.options (
str) – Cli-like flag options. See Link Options.
- Returns:
job – Returns the link job.
- Return type: