From c4c787337a9cb53c9b60ee8b41beba26731b1962 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Tue, 12 Jun 2018 11:29:56 +0800 Subject: [PATCH] update with comments --- paddle/fluid/operators/elementwise_op.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/operators/elementwise_op.h b/paddle/fluid/operators/elementwise_op.h index 3876d26bb39..0394b6e6559 100644 --- a/paddle/fluid/operators/elementwise_op.h +++ b/paddle/fluid/operators/elementwise_op.h @@ -66,14 +66,14 @@ class ElementwiseOpMaker : public framework::OpProtoAndCheckerMaker { .SetDefault(-1) .EqualGreaterThan(-1); AddComment(string::Sprintf(R"DOC( -Limited Elementwise %s Operator. +Limited Elementwise %s Operator The equation is: $$%s$$ -$X$ is a tensor of any dimension. And $Y$ is a tensor whose dimensions must be -less than or equal to the dimensions of $X$. +- $X$: a tensor of any dimension. +- $Y$: a tensor whose dimensions must be less than or equal to the dimensions of $X$. There are two cases for this operator: -- GitLab