未验证 提交 58d8ead2 编写于 作者: Z zyfncg 提交者: GitHub

fix bug of kernel signatore code-gene (#44859)

上级 725c33f5
......@@ -86,9 +86,9 @@ def to_opmaker_name(s):
def to_opmaker_name_cstr(s):
if s.endswith("_grad"):
return '"{}@GRAD"'.format(to_pascal_case(s[:-5]))
return '"{}@GRAD"'.format(s[:-5])
else:
return '"{}"'.format(to_pascal_case(s))
return '"{}"'.format(s)
def to_pascal_case(s):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册