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 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 your trouble of verifying each OP manually.
Please refer to section Model Checking for tool usage.
When the floating-point model checking 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.
If there is no ERROR, then the checking passes successfully. The hb_compile tool will output the following message directly:
In the above code block, each line represents the model check result of a model node and consists of four columns: Node, NodeType, ON(node executed device) and Output Data Type.