Introduction

The Tensor Iterator Kernel (TIK) APIs are a collection of Python classes and APIs for developing operators in the TIK domain-specific language (DSL). The TIK APIs exist as common Python language elements, but can influence the TIK DSL program directly or indirectly. The Python code of non-TIK APIs is closely related to the constantization of neural network (NN) operators. Generally, common Python variables are used to compute related configuration properties.

  • You can view the API definition in the corresponding directory python/site-packages/tbe/tik of the CANN component directory.
  • API parameters that are not listed in this document are reserved. You are advised to keep the default values.