qai_hub.submit_link_job
- submit_link_job(models, name=None, options='')
Submits a link job.
A link job combines multiple models into a single one with multiple graphs. This is particularly useful if the input models contain overlapping weights, since the weights will be shared between the graphs. This feature is exclusive to QNN context binaries.
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 (
List
[Model
]) – Models to link. Each model in the list must be an AI Hub compiled QNN context binary 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: