
# 日志提示Custom op has no reg_op_name attr
#### 问题现象
日志提示：Custom op has no reg_op_name attr。
图1报错提示   
![](https://support.huaweicloud.com/bestpractice-modelarts/figure/zh-cn_image_0000001749407289.png "点击放大")
#### 原因分析
无。
#### 处理方法
定义context时无需指定：
```
context.ascend.provider = "ge"
```
