Overview

The operator information library is one of the deliverables for operator development. It mainly describes the implementation specifications of an operator on Ascend AI Processor. For TBE operators, the operator information library includes the input and output data types, formats, and input shapes supported by the operators. For AI CPU operators, the operator information library includes the input and output names, and supported data types and formats. During network execution, Graph Compiler performs basic verification and operator matching based on the operator information in the operator information library.

The operator matching rules are as follows:

Graph Compiler preferentially searches the TBE operator information library. If operators are matched, Graph Compiler selects the TBE operators for graph compilation. If no operator is matched, Graph Compiler searches the AI CPU operator information library and select the AI CPU operators for graph compilation.