From 656f775c293480f5cb00dc1983dd9d004df2b578 Mon Sep 17 00:00:00 2001 From: hedaoyuan Date: Wed, 13 Sep 2017 21:25:58 +0800 Subject: [PATCH] Fix the doc. --- paddle/operators/conv_op.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/paddle/operators/conv_op.cc b/paddle/operators/conv_op.cc index 593fdc0e7e..934f153e72 100644 --- a/paddle/operators/conv_op.cc +++ b/paddle/operators/conv_op.cc @@ -69,15 +69,17 @@ class Conv2DOpMaker : public framework::OpProtoAndCheckerMaker { "Filter", "The filter tensor of convolution operator." "The format of the filter tensor is MCHW, where M is the number of " - "output " - "image channels, C is the number of input image channels, H and W is " - "height and width of filter."); + "output image channels, C is the number of input image channels, " + "H and W is height and width of filter. " + "If the groups attribute is greater than 1, C equal the number of " + "input image channels divided by the groups."); AddOutput("Output", "The output tensor of convolution operator." "The format of output tensor is also NCHW."); AddComment(R"DOC( -The convolution operation calculates the output based on -the input, filter and strides, paddings parameters. +The convolution operation calculates the output based on the input, filter +and strides, paddings, groups parameters. The size of each dimension of the +parameters is checked in the infer-shape. )DOC"); AddAttr>("strides", "strides of convolution operator."); AddAttr>("paddings", "paddings of convolution operator."); -- GitLab