diff --git a/python/paddle/fluid/tests/unittests/xpu/test_activation_op_xpu.py b/python/paddle/fluid/tests/unittests/xpu/test_activation_op_xpu.py index 3436e443ab853adf9cde82a84280d11d5a625f54..6a7e5f08b5e489511d2060d92dc0390dd4b18dbc 100644 --- a/python/paddle/fluid/tests/unittests/xpu/test_activation_op_xpu.py +++ b/python/paddle/fluid/tests/unittests/xpu/test_activation_op_xpu.py @@ -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