Skip to content

Commit 388aa51

Browse files
authored
Merge pull request #7622 from abhinavarora/reduce_op_doc
Fixing the rendering for Reduce operators in operator documentation
2 parents f6dfccb + 484af6c commit 388aa51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/operators/reduce_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ If reduce_all is true, just reduce along all dimensions and output a scalar.
129129
}
130130

131131
void SetComment(std::string name, std::string op) {
132-
Replace(comment_, "{ReduceOP}", name);
132+
Replace(comment_, "{ReduceOp}", name);
133133
Replace(comment_, "{reduce}", op);
134134
}
135135
};

0 commit comments

Comments
 (0)