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

参见《CANN 软件安装(https://www.hiascend.com/document/detail/zh/canncommercial/900/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。
