---
title: without_npu_compile_scope
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommercial/latest/migration/tfmigr1/tfmigr1_tfadapi_0080.html
sourcePath: /source/zh/TensorFlowCommercial/900/migration/tfmigr1/tfmigr1_tfadapi_0080.html
indexId: 062b3dc9ffce63cb4c39a000d32ff2f1d2fc0adf81126f178d993d59857df01279
---
# without_npu_compile_scope

#### 产品支持情况

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


#### 功能说明

混合计算场景下，配置在Host侧编译的算子。


#### 函数原型

```
def without_npu_compile_scope()
```


#### 参数说明

无


#### 约束说明

由于variable类算子必须要在device侧执行，因此该接口不支持配置variable类算子。


#### 返回值

无


#### 调用示例

请参见混合计算。
