Environment Setup
Set up the environment by referring to CANN Software Installation Guide. After the installation is complete, you will see the following files:
- API definition file of scope fusion pattern development: ${INSTALL_DIR}/include/register/scope/scope_fusion_pass_register.h
- Operator prototype definition file after fusion: ${INSTALL_DIR}/opp/built-in/op_proto/inc/
Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.