From 4bdd97625b123e1562f26ce7ce2ef7b24ab70a11 Mon Sep 17 00:00:00 2001 From: peterzhang2029 Date: Thu, 23 Nov 2017 17:37:32 +0800 Subject: [PATCH] refine the latex mark --- paddle/operators/bilinear_tensor_product_op.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/paddle/operators/bilinear_tensor_product_op.cc b/paddle/operators/bilinear_tensor_product_op.cc index 487b0001dab..c88b2c9beb4 100644 --- a/paddle/operators/bilinear_tensor_product_op.cc +++ b/paddle/operators/bilinear_tensor_product_op.cc @@ -78,18 +78,18 @@ class BilinearTensorProductOpMaker : public framework::OpProtoAndCheckerMaker { AddComment(R"DOC( Bilinear Tensor Product operator. Given input X and Y, a 3D tensor Weight and a Bias. Each column of the -Output is computed by one slice i = 1, . . . , k of the tensor: +Output is computed by one slice $i = 1, . . . , k$ of the tensor: $$ M = (X W_i) * Y \\ Out_i = \sum_j {M_j} + Bias_i $$ -Where $$W_i$$ is the i-th slice of Input(Weight); - $$M_j$$ is the j-th column of $$M$$; - $$Out_i$$ is the i-th column of Output(Out); - $$Bias_i$$ is a column vector, each element of it is equal to - the i-th element of $$Bias$$; +Where $W_i$ is the $i$-th slice of Input(Weight); + $M_j$ is the $j$-th column of $M$; + $Out_i$ is the $i$-th column of Output(Out); + $Bias_i$ is a column vector, each element of it is equal to + the $i$-th element of $Bias$; )DOC"); } -- GitLab