---
title: LastMatchScopesAndOPs
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommunity/latest/Convergence/tfscopedevg/atlassfpapi_07_0186.html
sourcePath: /source/zh/TensorFlowCommunity/910/Convergence/tfscopedevg/atlassfpapi_07_0186.html
indexId: ae4853d5b6b67c11b681483686cb09797b4518b635c756f3dbd256f68054506583
---
# LastMatchScopesAndOPs

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Ascend 950PR / Ascend 950DT | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 函数功能

方法定义，子类实现scope匹配及运算符融合方法。


#### 函数原型

```
virtual Status LastMatchScopesAndOPs(std::shared_ptr<ScopeGraph> &scope_graph, std::vector<ScopesResult> &results) = 0;
```


#### 参数说明

| 参数名 | 输入/输出 | 描述 |
| --- | --- | --- |
| scope\_graph | 输入 | 指向ScopeGraph对象的shared\_ptr指针 |
| results | 输出 | 融合结果集 |


#### 返回值

| 参数名 | 描述 |
| --- | --- |
| \- | SUCCESS：成功 其他：失败 |


#### 约束说明

无。
