未验证 提交 9880595a 编写于 作者: H houj04 提交者: GitHub

fix activation ut typo xpu. test=kunlun (#39813)

上级 abe232d8
......@@ -229,7 +229,7 @@ def gelu(x, approximate):
return y_ref.astype(x.dtype)
class XPUTestHardSwishGeluOP(XPUOpTestWrapper):
class XPUTestHardSwishOP(XPUOpTestWrapper):
def __init__(self):
self.op_name = 'hard_swish'
self.use_dynamic_create_class = False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册