# qtimlqnn

Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/qtimlqnn.html](https://docs.qualcomm.com/doc/80-70020-50/topic/qtimlqnn.html)

The qtimlqnn plugin shows the Qualcomm^®^ AI Engine direct SDK capabilities
        (load and execute the Qualcomm Neural Network models) as a GStreamer plugin.

This plugin does the following:

- Accepts a tensor prepared by the preprocessing elements such as
                qtimlvconverter.
- Produces output tensor that's parsed by the postprocessing plugins such as
                qtimlvclassification, qtimlvdetection, qtimlvsegmentation, and qtimlvpose.
- Uses the Qualcomm Neural Network (QNN) library.
- Uses the ION/DMA buffers allocated by the GstMLBufferPool custom buffer pool class
                through IOCTL commands to the kernel.

The model and backend usage is as follows:

- To use a model, provide the absolute path of the model through the model
                    property.
    After it's loaded, the model file provides the input and output
                    capabilities:

    - Number of tensors
    - Dimensions
    - Type
- To select a different backend, set the backend property with the absolute path of
                the backend library.

## Inheritance chain

[GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → [GstBaseTransform](https://gstreamer.freedesktop.org/documentation/base/gstbasetransform.html?gi-language=c)→ GstMLQNN

The following tables provide information on pad templates and element properties of
                qtimlqnn.

## Pad configuration

| Pad Name | Capabilities | Capabilities | Capabilities |
| --- | --- | --- | --- |
| SINK template: 'sink'<br><ul class="ul" id="qtimlqnn__ul_qpb_w3n_s1c"><br>                                    <li class="li"><em class="ph i">Availability:</em> Always</li><br><br>                                    <li class="li"><em class="ph i">Direction:</em> sink</li><br><br>                                </ul> | neural-network/tensors | type: | { (string)UINT8, (string)INT32, (string)FLOAT32 } |
| SRC template: 'src'<br><ul class="ul" id="qtimlqnn__ul_rpb_w3n_s1c"><br>                                    <li class="li"><em class="ph i">Availability:</em> Always</li><br><br>                                    <li class="li"><em class="ph i">Direction:</em> source</li><br><br>                                </ul> | neural-network/tensors | type: | { (string)UINT8, (string)INT32, (string)FLOAT32 } |

## Element configuration

Table : Element properties of qtimlqnn

| Property | Description |
| --- | --- |
| name | The name of the object.<br><ul class="ul" id="qtimlqnn__ul_x23_2jn_s1c"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">String. Default: "mlqnn0"</li><br><br>                                </ul> |
| parent | The parent of the object.<br><ul class="ul" id="qtimlqnn__ul_y23_2jn_s1c"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Object of type "GstObject"</li><br><br>                                </ul> |
| qos | Handle the quality-of-service events.<br><ul class="ul" id="qtimlqnn__ul_z23_2jn_s1c"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Boolean. Default: false</li><br><br>                                </ul> |
| backend | the backend library path.<br><ul class="ul" id="qtimlqnn__ul_af3_2jn_s1c"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">String. Default: null</li><br><br>                                </ul> |
| model | The model/cached binary file path.<br><ul class="ul" id="qtimlqnn__ul_bf3_2jn_s1c"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">String. Default: null</li><br><br>                                </ul> |

**Parent Topic:** [Configure ML plugins](https://docs.qualcomm.com/doc/80-70020-50/topic/inferencing-plugins.html)

Last Published: Jan 30, 2026

[Previous Topic
qtimltflite](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/qtimltflite.md) [Next Topic
qtimlvclassification](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/qtimlvclassification.md)