From 484af6c7e052e02f9a1001a953c685d13a15977a Mon Sep 17 00:00:00 2001 From: Abhinav Arora Date: Wed, 17 Jan 2018 14:56:30 -0800 Subject: [PATCH] Fixing the rendering for Reduce operators in operator documentation --- paddle/operators/reduce_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/operators/reduce_op.cc b/paddle/operators/reduce_op.cc index 172d28bb3..09b709135 100644 --- a/paddle/operators/reduce_op.cc +++ b/paddle/operators/reduce_op.cc @@ -129,7 +129,7 @@ If reduce_all is true, just reduce along all dimensions and output a scalar. } void SetComment(std::string name, std::string op) { - Replace(comment_, "{ReduceOP}", name); + Replace(comment_, "{ReduceOp}", name); Replace(comment_, "{reduce}", op); } }; -- GitLab