From da45fbdaf52554ca24b751d62c6682df2bbfe908 Mon Sep 17 00:00:00 2001 From: baojun <32073718+baojun-nervana@users.noreply.github.com> Date: Tue, 5 Mar 2019 02:21:09 -0800 Subject: [PATCH] fix tanh typo test=develop (#16049) --- paddle/fluid/operators/ngraph/ops/activation_op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/ngraph/ops/activation_op.h b/paddle/fluid/operators/ngraph/ops/activation_op.h index d04dbf648..a66ec65a3 100644 --- a/paddle/fluid/operators/ngraph/ops/activation_op.h +++ b/paddle/fluid/operators/ngraph/ops/activation_op.h @@ -55,4 +55,4 @@ void BuildTanhGradNode( } // namespace paddle REGISTER_NG_OP(relu_grad, BuildReluGradNode); -REGISTER_NG_OP(than_grad, BuildTanhGradNode); +REGISTER_NG_OP(tanh_grad, BuildTanhGradNode); -- GitLab