Back to Onnxruntime

Nnapi Supported Ops

tools/ci_build/github/android/nnapi_supported_ops.md

1.25.12.3 KB
Original Source
<!-- Keep in sync with doco generated from /docs/execution-providers/NNAPI-ExecutionProvider.md on the gh_pages branch -->
OperatorNote
ai.onnx:Abs
ai.onnx:Add
ai.onnx:AveragePoolOnly 2D Pool is supported.
ai.onnx:BatchNormalization
ai.onnx:Cast
ai.onnx:Clip
ai.onnx:Concat
ai.onnx:ConvOnly 2D Conv is supported.
Weights and bias should be constant.
ai.onnx:DepthToSpaceOnly DCR mode DepthToSpace is supported.
ai.onnx:DequantizeLinearAll quantization scales and zero points should be constant.
ai.onnx:Div
ai.onnx:Elu
ai.onnx:Exp
ai.onnx:Flatten
ai.onnx:Floor
ai.onnx:GatherInput indices should be constant if not int32 type.
ai.onnx:GemmIf input B is not constant, transB should be 1.
ai.onnx:GlobalAveragePoolOnly 2D Pool is supported.
ai.onnx:GlobalMaxPoolOnly 2D Pool is supported.
ai.onnx:Identity
ai.onnx:LeakyRelu
ai.onnx:Log
ai.onnx:LRN
ai.onnx:MatMul
ai.onnx:MaxPoolOnly 2D Pool is supported.
ai.onnx:Max
ai.onnx:Min
ai.onnx:Mul
ai.onnx:Neg
ai.onnx:PadOnly constant mode Pad is supported.
Input pads and constant_value should be constant.
Input pads values should be non-negative.
ai.onnx:Pow
ai.onnx:PRelu
ai.onnx:QLinearConvOnly 2D Conv is supported.
Weights and bias should be constant.
All quantization scales and zero points should be constant.
ai.onnx:QLinearMatMulAll quantization scales and zero points should be constant.
ai.onnx:QuantizeLinearAll quantization scales and zero points should be constant.
ai.onnx:ReduceMean
ai.onnx:Relu
ai.onnx:Reshape
ai.onnx:ResizeOnly 2D Resize is supported.
ai.onnx:Sigmoid
ai.onnx:Sin
ai.onnx:Slice
ai.onnx:Softmax
ai.onnx:SplitNumber of splits must evenly divide split axis size. Input split should be constant if provided.
ai.onnx:Sqrt
ai.onnx:SqueezeInput axes should be constant.
ai.onnx:Sub
ai.onnx:Tanh
ai.onnx:Transpose
ai.onnx:UnsqueezeInput axes should be constant.
com.microsoft:QLinearAddAll quantization scales and zero points should be constant.
com.microsoft:QLinearAveragePoolOnly 2D Pool is supported.
All quantization scales and zero points should be constant.
com.microsoft:QLinearSigmoidAll quantization scales and zero points should be constant.