without_npu_compile_scope
产品支持情况
产品 |
是否支持 |
|---|---|
Atlas 350 加速卡 |
√ |
√ |
|
√ |
|
☓ |
|
☓ |
|
√ |
功能说明
混合计算场景下,配置在Host侧编译的算子。
函数原型
1 | def without_npu_compile_scope() |
参数说明
无
约束说明
由于variable类算子必须要在device侧执行,因此该接口不支持配置variable类算子。
返回值
无
调用示例
请参见混合计算。
产品 |
是否支持 |
|---|---|
Atlas 350 加速卡 |
√ |
√ |
|
√ |
|
☓ |
|
☓ |
|
√ |
混合计算场景下,配置在Host侧编译的算子。
1 | def without_npu_compile_scope() |
无
由于variable类算子必须要在device侧执行,因此该接口不支持配置variable类算子。
无
请参见混合计算。