From f593c3fb2ff1e1553848ef4450ebdb5e85da338e Mon Sep 17 00:00:00 2001 From: WuHaobo <14162525+WuHaobo@users.noreply.github.com> Date: Mon, 6 Jul 2020 18:27:18 +0800 Subject: [PATCH] fix the formula of floor OP and ceil OP (#25292) --- paddle/fluid/operators/activation_op.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/operators/activation_op.cc b/paddle/fluid/operators/activation_op.cc index 59055a8679c..204f854a380 100644 --- a/paddle/fluid/operators/activation_op.cc +++ b/paddle/fluid/operators/activation_op.cc @@ -225,14 +225,14 @@ $$out = |x|$$ UNUSED constexpr char CeilDoc[] = R"DOC( Ceil Operator. Computes ceil of x element-wise. -$$out = \left \lceil x \right \rceil$$ +$$out = \\left \\lceil x \\right \\rceil$$ )DOC"; UNUSED constexpr char FloorDoc[] = R"DOC( -Floor Activation Operator. +Floor Activation Operator. Computes floor of x element-wise. -$$out = \left \lfloor x \right \rfloor$$ +$$out = \\left \\lfloor x \\right \\rfloor$$ )DOC"; -- GitLab