Skip to content

Commit 962eed6

Browse files
authored
Revert "Enable SQRT operator for the nGraph Bridge (#17549)" (#17680)
This reverts commit f34830e.
1 parent 67a6297 commit 962eed6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

paddle/fluid/operators/ngraph/ops/activation_op.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,5 @@ void BuildTanhGradNode(
113113
REGISTER_NG_OP(gelu, BuildGeluNode);
114114
REGISTER_NG_OP(gelu_grad, BuildGeluGradNode);
115115
REGISTER_NG_OP(relu_grad, BuildReluGradNode);
116-
REGISTER_NG_OP(sqrt, BuildUnaryNode<ngraph::op::Sqrt>);
117116
REGISTER_NG_OP(square, BuildSquareNode);
118117
REGISTER_NG_OP(tanh_grad, BuildTanhGradNode);

python/paddle/fluid/tests/unittests/ngraph/test_activation_ngraph_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import numpy as np
1919
import paddle.fluid.core as core
2020
from paddle.fluid.tests.unittests.op_test import OpTest
21-
from paddle.fluid.tests.unittests.test_activation_op import TestAbs, TestGelu, TestSigmoid, TestSqrt, TestSquare, TestRelu, TestTanh
21+
from paddle.fluid.tests.unittests.test_activation_op import TestAbs, TestGelu, TestSigmoid, TestSquare, TestRelu, TestTanh
2222

2323

2424
class TestNGRAPHReluDim4(TestRelu):

0 commit comments

Comments
 (0)