---
title: 环境准备
description: "参见《CANN软件安装(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/910/softwareinst/instg/instg_0000.html)》进行环境搭建，安装完成后："
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommunity/latest/Convergence/tfscopedevg/atlastfscopedev_11_0008.html
sourcePath: /source/zh/TensorFlowCommunity/910/Convergence/tfscopedevg/atlastfscopedev_11_0008.html
indexId: ff739c2f2d9f3907fcf6d866d7daa73dca905dfa17d4e95e22e5a42a6174e60387
---
# 环境准备

参见《CANN软件安装(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/910/softwareinst/instg/instg_0000.html)》进行环境搭建，安装完成后：

- Scope融合规则开发接口定义文件所在路径：${INSTALL_DIR}/include/register/scope/scope_fusion_pass_register.h。
- 融合后的算子原型定义文件所在路径：${INSTALL_DIR}/opp/built-in/op_proto/inc/。

${INSTALL_DIR}请替换为CANN软件安装后文件存储路径。以root用户安装为例，安装后文件默认存储路径为：/usr/local/Ascend/cann。
