Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 8.47 KB

operator_support_state.md

File metadata and controls

51 lines (45 loc) · 8.47 KB

Operator Support State

Supported Targets ESP32-S3 ESP32-P4

Quantization Strategy

The quantization type of all operators is symmetric quantization. Now ESP-DL supports both 8-bit and 16-bit. The rounding for ESP32-S3 is rounding half up. The rounding for ESP32-P4 is rounding half to even.

Support Operators

The ESP-DL operator interface is aligned with ONNX. The opset 13 is recommended to export ONNX. Currently, the following 32 operators have been implemented and tested. Some operators do not implement all functionalities and attributes. Please refer to the description of each operator or test cases for details.

Operator int8 int16 Description
Add(ESP-DL)(ONNX) Support up to 4D
AveragePool(ESP-DL)(ONNX)
Clip(ESP-DL)(ONNX)
Concat(ESP-DL)(ONNX)
Conv(ESP-DL)(ONNX) Groups only support 1 or input_channels
Div(ESP-DL)(ONNX) Support up to 4D
Exp(ESP-DL)(ONNX)
Flatten(ESP-DL)(ONNX)
Gather(ESP-DL)(ONNX)
Gemm(ESP-DL)(ONNX)
GlobalAveragePool(ESP-DL)(ONNX)
HardSigmoid(ESP-DL)(ONNX)
HardSwish(ESP-DL)(ONNX)
LeakyRelu(ESP-DL)(ONNX)
Log(ESP-DL)(ONNX)
MatMul(ESP-DL)(ONNX) Support up to 4D
MaxPool(ESP-DL)(ONNX)
Mul(ESP-DL)(ONNX) Support up to 4D
Pad(ESP-DL)(ONNX) Do not support wrap mode
PRelu(ESP-DL)(ONNX)
Reshape(ESP-DL)(ONNX)
Resize(ESP-DL)(ONNX) Only support nearest and do not support roi
Sigmoid(ESP-DL)(ONNX)
Slice(ESP-DL)(ONNX)
Softmax(ESP-DL)(ONNX) Dtype of output is float32
Split(ESP-DL)(ONNX)
Sqrt(ESP-DL)(ONNX)
Squeeze(ESP-DL)(ONNX)
Sub(ESP-DL)(ONNX) Support up to 4D
Tanh(ESP-DL)(ONNX)
Transpose(ESP-DL)(ONNX)
Unsqueeze(ESP-DL)(ONNX)

Generation Time: 2025-01-13 20:13:43