To ensure that the model can run smoothly and efficiently on the Horizon platform, the operators used in the model need to conform to the operator constraints of the platform. The OP Restriction section gives a list of the specific operators we support, each with specific parameter constraints. For more details, please refer to the Toolchain Operator Support Constraint List-ONNX Operator Support List section.
Considering the large number of operators supported by Horizon, we support you to check the details of each OP by using the hb_compile in order to save users' trouble of verifying each OP manually.
Please refer to section Model Checking for tool usage.
When the floating-point model check fails, the hb_compile tool will report an Error message. A file named hb_compile.log will be generated in current directory to provide error details.