# DSP Backend Op Definition Supplement

## ArgbToRgb

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Argmax

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br><li><p>shape(input)[axis] should be less than INT32_MAX</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## Argmin

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br><li><p>shape(input)[axis] should be less than INT32_MAX</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## Batchnorm

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## BatchToSpace

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## BoxWithNmsLimit

### Datatypes

| Configuration | in[0] | in[1] | in[2] | in[3] | out[0] | out[1] | out[2] | out[3] | out[4] | out[5] | out[6] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Cast

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_32, QNN\_DATATYPE\_UINT\_8, QNN\_DATATYPE\_BOOL\_8, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_8, QNN\_DATATYPE\_BOOL\_8, QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_UFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ChannelShuffle

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] | num\_groups |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>should be less than INT32_MAX</p></li><br></ul> |

## Concat

### Datatypes

| Configuration | in[0..m] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0..m] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: QNN_DATATYPE_INT_32’s max supported input rank is 4; Other data type’s max supported input rank is 5.</p></li><br></ul> |

## Conv2d

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | reuse\_sparse\_indices |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Only support default value 0</p></li><br></ul> |

## Conv3d

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> |

## Convert

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_BOOL\_8, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_UFIXED\_POINT\_16, QNN\_DATATYPE\_SFIXED\_POINT\_16 | QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_UFIXED\_POINT\_16, QNN\_DATATYPE\_SFIXED\_POINT\_16 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Correlation1D

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## DepthToSpace

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## DepthWiseConv2d

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Dequantize

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br><li><p>Uint8 per-channel quant tensor is not supported</p></li><br></ul> |

## DetectionOutput

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] | out[1] | out[2] | out[3] |
| --- | --- | --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Datatype: out[0] must be same Datatype as in[1]</p></li><br></ul> |

## ElementWiseAbs

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseAdd

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 5.</p></li><br><li><p>Mixed broadcast cases (e.g. (1,1,3,32), (1,5,3,1) are not supported</p></li><br><li><p>Broadcast cases which rank is 5 are not supported</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 5.</p></li><br><li><p>Datatype: Int32 cases with rank is 5 are not supported</p></li><br></ul> |

## ElementWiseBinary

### Datatypes

| Configuration | in[0] | in[1] | out[0] | operation |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | in[1] | out[0] | operation |
| --- | --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Unsupported operations: FMOD, MOD.</p></li><br></ul> |

## ElementWiseCeil

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseDivide

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseEqual

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseExp

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseFloor

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseFloorDiv

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseGreater

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseGreaterEqual

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseLess

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseLessEqual

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseLog

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseMaximum

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseMinimum

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseMultiply

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseNeg

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseNeuron

### Datatypes

| Configuration | in[0] | out[0] | operation |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | operation |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Unsupported operations: GELU, SOFTPLUS.</p></li><br></ul> |

## ElementWiseNotEqual

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWisePower

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## ElementWiseRound

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseRsqrt

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseSelect

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseSquaredDifference

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseSquareRoot

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ElementWiseSubtract

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports input of Rank between 1 and 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports output of Rank between 1 and 4.</p></li><br></ul> |

## ElementWiseUnary

### Datatypes

| Configuration | in[0] | out[0] | operation |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_BOOL\_8, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | operation |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Unsupported operations: ASIN, ATAN, COS, RECIPROCAL, SIGN, SIN.</p></li><br></ul> |

## ElementWiseXor

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | in[1] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Elu

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ExtractGlimpse

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ExtractPatches

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

## FullyConnected

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] | keep\_dims |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Datatype: out[0] must be same Datatype as in[0]</p></li><br></ul> | <ul class="simple"><br><li><p>Only support default value 0</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>keep_dims</em> only supports default value</p></li><br></ul> |

## Gather

### Datatypes

| Configuration | in[0] | in[1] | in[2] | in[3] | out[0] |
| --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] | in[2] | in[3] |
| --- | --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Value: Only supports index values in range [0, in[0].dim[axis] - 1]</p></li><br></ul> | <ul class="simple"><br><li><p>optional</p></li><br></ul> | <ul class="simple"><br><li><p>optional</p></li><br></ul> |

## GatherElements

### Datatypes

| Configuration | in[0] | in[1] | out[0] | axis |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## GatherNd

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## GenerateProposals

### Datatypes

| Configuration | in[0] | in[1] | in[2] | in[3] | out[0] | out[1] | out[2] | bbox\_xform\_clip |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>bbox_xform_clip</em> only supports default value</p></li><br></ul> |

## HardSwish

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ImageProjectionTransform

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## InstanceNorm

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | mode | region |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Value: Only supports mode MU_SIGMA</p></li><br></ul> | <ul class="simple"><br><li><p>Value: Only supports region ACROSS_SPATIAL</p></li><br></ul> |

## L2Norm

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## LayerNorm

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | axes |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Value: Only supports layer normalization on final dimension.</p></li><br></ul> |

## LogSoftmax

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | axis |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Value: Only support value of rank-1</p></li><br></ul> |

## Lrn

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Lstm

### Datatypes

| Configuration | in[0] | in[1] | in[2] | in[3] | in[4] | in[5] | in[6] | in[7] | in[8] | in[9] | in[10] | in[11] | in[12] | in[13] | in[14] | in[15] | in[16] | in[17] | in[18] | in[19] | in[20] | in[21] | in[22] | in[23] | in[24] | out[0] | out[1] | out[2] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_16 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_16 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] | in[2] | in[3] | in[4] | in[5] | in[6] | in[7] | in[8] | in[9] | in[10] | in[11] | in[12] | in[13] | in[14] | in[15] | in[16] | in[17] | in[18] | in[19] | in[20] | in[21] | in[22] | in[23] | in[24] | out[0] | out[1] | out[2] | time\_major |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>The input <span class="math notranslate nohighlight">\(x_{t}\)</span>.</p></li><br><li><p>Shape: Input rank must be 2.</p></li><br></ul> | <ul class="simple"><br><li><p>input-to-forget weights <span class="math notranslate nohighlight">\(W_{xf}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>input-to-cell weights <span class="math notranslate nohighlight">\(W_{xc}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>input-to-output weights <span class="math notranslate nohighlight">\(W_{xo}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>recurrent-to-forget weights <span class="math notranslate nohighlight">\(W_{hf}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>recurrent-to-cell weights <span class="math notranslate nohighlight">\(W_{hc}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>recurrent-to-output weights <span class="math notranslate nohighlight">\(W_{ho}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>forget gate bias <span class="math notranslate nohighlight">\(b_f\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>cell bias <span class="math notranslate nohighlight">\(b_c\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>output gate bias <span class="math notranslate nohighlight">\(b_o\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>output state (in) <span class="math notranslate nohighlight">\(h_{t-1}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>cell state (in) <span class="math notranslate nohighlight">\(C_{t-1}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>The input layer normalization weights. Used to rescale normalized inputs to activation at input gate.</p></li><br></ul> | <ul class="simple"><br><li><p>The forget layer normalization weights. Used to rescale normalized inputs to activation at forget gate.</p></li><br></ul> | <ul class="simple"><br><li><p>input-to-forget weights <span class="math notranslate nohighlight">\(W_{xf}\)</span></p></li><br></ul> | <ul class="simple"><br><li><p>The output layer normalization weights. Used to rescale normalized inputs to activation at output gate.</p></li><br></ul> | <ul class="simple"><br><li><p>input-to-input weights <span class="math notranslate nohighlight">\(W_{xi}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>recurrent-to-input weights <span class="math notranslate nohighlight">\(W_{hi}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>cell-to-input weights <span class="math notranslate nohighlight">\(W_{ci}\)</span>. It is a diagonal matrix by definition, and is expressed as a 1D vector.</p></li><br></ul> | <ul class="simple"><br><li><p>cell-to-forget weights <span class="math notranslate nohighlight">\(W_{cf}\)</span>. It is a diagonal matrix by definition, and is expressed as a 1D vector.</p></li><br></ul> | <ul class="simple"><br><li><p>cell-to-output weights <span class="math notranslate nohighlight">\(W_{co}\)</span>. It is a diagonal matrix by definition, and is expressed as a 1D vector.</p></li><br></ul> | <ul class="simple"><br><li><p>input gate bias <span class="math notranslate nohighlight">\(b_i\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>projection weights <span class="math notranslate nohighlight">\(W_{proj}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>projection bias <span class="math notranslate nohighlight">\(b_{proj}\)</span>.</p></li><br></ul> | <ul class="simple"><br><li><p>Reset for internal states. Only supports default.</p></li><br></ul> | <ul class="simple"><br><li><p>output state (out) (<span class="math notranslate nohighlight">\(h_{t}\)</span>).</p></li><br></ul> | <ul class="simple"><br><li><p>cell state (out) (<span class="math notranslate nohighlight">\(C_{t}\)</span>).</p></li><br></ul> | <ul class="simple"><br><li><p>output (<span class="math notranslate nohighlight">\(o_{t}\)</span>). This is effectively the same as the current “output state (out)” value.</p></li><br></ul> | <ul class="simple"><br><li><p>Not applicable for 2D input and is ignored.</p></li><br></ul> |

## MatMul

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br><li><p>Dynamic Shape: Dynamic dims not supported.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Rank must be equal to in[0]</p></li><br><li><p>Shape: Batch dimensions (outermost N-2) must be equal to in[0]</p></li><br><li><p>Dynamic Shape: Dynamic dims not supported.</p></li><br></ul> | <ul class="simple"><br><li><p>Dynamic Shape: Dynamic dims not supported.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Rank must be equal to in[0]</p></li><br><li><p>Shape: Batch dimensions (outermost N-2) must be equal to in[0]</p></li><br><li><p>Dynamic Shape: Dynamic dims not supported.</p></li><br></ul> |

## Moments

### Datatypes

| Configuration | in[0] | out[0] | out[1] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## MultiClassNms

### Datatypes

| Configuration | in[0] | in[1] | out[0] | out[1] | out[2] | out[3] |
| --- | --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UINT\_32 |

## Nv12ToRgb

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Nv21ToRgb

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Pack

### Datatypes

| Configuration | in[0..m] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0..m] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 3.</p></li><br></ul> |

## Pad

### Datatypes

| Configuration | in[0] | out[0] | pad\_constant\_value |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_UINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | pad\_amount | pad\_constant\_value |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>MIRROR_SYMMETRIC and MIRROR_REFLECT type padding support padding on height (1) and width (2) axis only</p></li><br></ul> | <ul class="simple"><br><li><p>pad_constant_value with QNN_DATATYPE_UINT_8 and QNN_DATATYPE_INT_32 are accepted with quantization param same as in[0] and the value provided is interpreted as the same data type as in[0].</p></li><br></ul> |

## PoolAvg2d

### Datatypes

| Configuration | in[0] | out[0] | rounding\_mode |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] | count\_pad\_for\_edges |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Does not support PADDING_TYPE_VALID with explicit padding when count_pad_for_edges is zero</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>rounding_mode</em> only supports default value</p></li><br></ul> |

## PoolAvg3d

### Datatypes

| Configuration | in[0] | out[0] | rounding\_mode |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] | count\_pad\_for\_edges |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Does not support PADDING_TYPE_VALID with explicit padding when count_pad_for_edges is zero</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>rounding_mode</em> only supports default value</p></li><br></ul> |

## PoolMax2d

### Datatypes

| Configuration | in[0] | out[0] | rounding\_mode |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>rounding_mode</em> only supports default value</p></li><br></ul> |

## PoolMax3d

### Datatypes

| Configuration | in[0] | out[0] | rounding\_mode |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported output rank is 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 5.</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>rounding_mode</em> only supports default value</p></li><br></ul> |

## Prelu

### Datatypes

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | in[1] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Only support alpha with batch, height and width equal to 1.</p></li><br></ul> |

## Quantize

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ReduceMax

### Datatypes

| Configuration | in[0] | out[0] | axes | keep\_dims |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## ReduceMean

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## ReduceMin

### Datatypes

| Configuration | in[0] | out[0] | axes | keep\_dims |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## ReduceSum

### Datatypes

| Configuration | in[0] | out[0] | axes | keep\_dims |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Min supported input rank is 1, Max supported output rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Datatype: out[0] must be same Datatype as in[0]</p></li><br></ul> |

## Relu

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> |

## Relu6

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## ReluMinMax

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Reshape

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_UINT\_8, QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UFIXED\_POINT\_16, QNN\_DATATYPE\_SFIXED\_POINT\_16 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32, QNN\_DATATYPE\_UINT\_8, QNN\_DATATYPE\_UFIXED\_POINT\_16, QNN\_DATATYPE\_SFIXED\_POINT\_16 |

### Constraints

| Configuration | in[0] | in[1] | out[0] |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Supports Rank in range [1, 5].</p></li><br><li><p>Input with zero size is not supported</p></li><br><li><p>Dynamic Shape: Dynamic dims not supported.</p></li><br></ul> | <ul class="simple"><br><li><p>This input is not supported.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Supports Rank in range [1, 5].</p></li><br><li><p>Dynamic Shape: Dynamic dims not supported.</p></li><br></ul> |

## Resize

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## ResizeBilinear

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] | antialias |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Only support default value 0</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>antialias</em> only supports default value</p></li><br></ul> |

## ResizeNearestNeighbor

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## RoiAlign

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] | img\_size\_ratio | num\_samples\_y | num\_samples\_x | aligned | allow\_invalid\_roi |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_UFIXED\_POINT\_16, QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_UINT\_32, QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_INT\_32 | QNN\_DATATYPE\_BOOL\_8 | QNN\_DATATYPE\_BOOL\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>aligned</em> only supports default value</p></li><br><li><p>Param <em>allow_invalid_roi</em> only supports default value</p></li><br></ul> |

## RoiPooling

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] | img\_size\_ratio |
| --- | --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Datatype: out[0] must be same Datatype as in[0]</p></li><br></ul> |

## Sigmoid

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Softmax

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_FLOAT\_32, QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>axis</em> only supports default value</p></li><br></ul> |

## SpaceToBatch

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## SpaceToDepth

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | mode |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Only support default mode QNN_OP_SPACE_TO_DEPTH_MODE_DCR</p></li><br></ul> |

### Support

| Configuration |  |
| --- | --- |
| All | <ul class="simple"><br><li><p>Param <em>mode</em> only supports default value</p></li><br></ul> |

## Split

### Datatypes

| Configuration | in[0] | out[0]…out[m] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0]…out[m] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br></ul> |

## Squeeze

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Max supported output rank is 4.</p></li><br><li><p>Shape: If rank of input is 5, the output rank should be 4.</p></li><br></ul> |

## StridedSlice

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> |

## Tanh

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## Tile

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] |
| --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> |

## TopK

### Datatypes

| Configuration | in[0] | out[0] | out[1] |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_FLOAT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_INT\_32 |

### Constraints

| Configuration | in[0] | largest |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Only support default value 1</p></li><br></ul> |

## Transpose

### Datatypes

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 5.</p></li><br></ul> | <ul class="simple"><br><li><p>Shape: Same Rank as in[0].</p></li><br></ul> |

## TransposeConv2d

### Datatypes

| Configuration | in[0] | in[1] | in[2] | out[0] |
| --- | --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_32 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 |

### Constraints

| Configuration | in[0] | out[0] |
| --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Max supported input rank is 4.</p></li><br></ul> | <ul class="simple"><br><li><p>Only supports encodingDefinition as QNN_DEFINITION_DEFINED</p></li><br></ul> |

## UnPack

### Datatypes

| Configuration | in[0] | out[0..m] | axis |
| --- | --- | --- | --- |
| All | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UFIXED\_POINT\_8, QNN\_DATATYPE\_SFIXED\_POINT\_8 | QNN\_DATATYPE\_UINT\_32 |

### Constraints

| Configuration | in[0] | out[0..m] | axis |
| --- | --- | --- | --- |
| All | <ul class="simple"><br><li><p>Shape: Min supported input rank is 1, Max supported input rank is 4</p></li><br></ul> | <ul class="simple"><br><li><p>Datatype: out[0] must be same Datatype as in[0]</p></li><br></ul> | <ul class="simple"><br><li><p>Specifies axis to unpack on.</p></li><br></ul> |

Last Published: Oct 10, 2025

[Previous Topic
UnPack](https://docs.qualcomm.com/bundle/publicresource/80-63442-50/topics/CpuOpDefSupplement.md) [Next Topic
GPU](https://docs.qualcomm.com/bundle/publicresource/80-63442-50/topics/GpuOpDefSupplement.md)