Skip to content

Commit

Permalink
docs: update operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-xiangyu committed Dec 20, 2024
1 parent 280cd5c commit 54cad79
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions operator_support_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The rounding for ESP32-P4 is [rounding half to even](https://simple.wikipedia.or

## Support Operators

The ESP-DL operator interface is aligned with ONNX. The opset 13 is recommended to export ONNX.
Currently, the following 30 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](./tools/ops_test/config/op_cfg.toml) for details.
The ESP-DL operator interface is aligned with ONNX. The opset 13 is recommended to export ONNX.
Currently, the following 31 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](./tools/ops_test/config/op_cfg.toml) for details.
| Operator | int8 | int16 | Description |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|---------------------------------------------|
| Add[(ESP-DL)](esp-dl/dl/module/include/dl_module_add.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Add.html) | ✔ | ✔ | Support up to 4D |
Expand All @@ -29,21 +29,22 @@ Currently, the following 30 operators have been implemented and tested. Some ope
| HardSwish[(ESP-DL)](esp-dl/dl/module/include/dl_module_hard_swish.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__HardSwish.html) | ✔ | ✔ | |
| LeakyRelu[(ESP-DL)](esp-dl/dl/module/include/dl_module_leaky_relu.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__LeakyRelu.html) | ✔ | ✔ | |
| Log[(ESP-DL)](esp-dl/dl/module/include/dl_module_log.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Log.html) | ✔ | ✔ | |
| MatMul[(ESP-DL)](esp-dl/dl/module/include/dl_module_matmul.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__MatMul.html) | ✔ | ✔ | |
| MatMul[(ESP-DL)](esp-dl/dl/module/include/dl_module_matmul.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__MatMul.html) | ✔ | ✔ | Support up to 4D |
| MaxPool[(ESP-DL)](esp-dl/dl/module/include/dl_module_max_pool.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__MaxPool.html) | ✔ | ✔ | |
| Mul[(ESP-DL)](esp-dl/dl/module/include/dl_module_mul.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Mul.html) | ✔ | ✔ | Support up to 4D |
| Pad[(ESP-DL)](esp-dl/dl/module/include/dl_module_pad.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Pad.html) | ✔ | ✔ | Do not support wrap mode |
| PRelu[(ESP-DL)](esp-dl/dl/module/include/dl_module_prelu.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__PRelu.html) | ✔ | ✔ | |
| Reshape[(ESP-DL)](esp-dl/dl/module/include/dl_module_reshape.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Reshape.html) | ✔ | ✔ | |
| Resize[(ESP-DL)](esp-dl/dl/module/include/dl_module_resize.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Resize.html) | ✔ | ✔ | Only support nearest and do not support roi |
| Resize[(ESP-DL)](esp-dl/dl/module/include/dl_module_resize.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Resize.html) | ✔ | ✖ | Only support nearest and do not support roi |
| Sigmoid[(ESP-DL)](esp-dl/dl/module/include/dl_module_sigmoid.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Sigmoid.html) | ✔ | ✔ | |
| Slice[(ESP-DL)](esp-dl/dl/module/include/dl_module_slice.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Slice.html) | ✔ | ✔ | |
| Softmax[(ESP-DL)](esp-dl/dl/module/include/dl_module_softmax.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Softmax.html) | ✔ | ✔ | Dtype of output is float32 |
| Split[(ESP-DL)](esp-dl/dl/module/include/dl_module_split.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Split.html) | ✔ | ✔ | |
| Sqrt[(ESP-DL)](esp-dl/dl/module/include/dl_module_sqrt.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Sqrt.html) | ✔ | ✔ | |
| Squeeze[(ESP-DL)](esp-dl/dl/module/include/dl_module_squeeze.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Squeeze.html) | ✔ | ✔ | |
| Sub[(ESP-DL)](esp-dl/dl/module/include/dl_module_sub.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Sub.html) | ✔ | ✔ | Support up to 4D |
| Tanh[(ESP-DL)](esp-dl/dl/module/include/dl_module_tanh.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Tanh.html) | ✔ | ✔ | |
| Transpose[(ESP-DL)](esp-dl/dl/module/include/dl_module_transpose.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Transpose.html) | ✔ | ✔ | |
| Unsqueeze[(ESP-DL)](esp-dl/dl/module/include/dl_module_unsqueeze.hpp)[(ONNX)](https://onnx.ai/onnx/operators/onnx__Unsqueeze.html) | ✔ | ✔ | |

Generation Time: 2024-12-13 15:55:57
Generation Time: 2024-12-20 17:28:29

0 comments on commit 54cad79

Please sign in to comment.