---
title: GetScopeTree
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommercial/latest/Convergence/tfscopedevg/atlassfpapi_07_0152.html
sourcePath: /source/zh/TensorFlowCommercial/900/Convergence/tfscopedevg/atlassfpapi_07_0152.html
indexId: e66b26f7787470a9a8d7ffc4cd3142743917fbb0dbbac4fad13c7062bf994cb584
---
# GetScopeTree

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 函数功能

获取ScopeTree对象实例。


#### 函数原型

```
const ScopeTree *GetScopeTree() const;
```


#### 参数说明

无。


#### 返回值

| 参数名 | 描述 |
| --- | --- |
| \- | ScopeTree对象实例 |


#### 约束说明

无。
