提交 ccd46d1b 编写于 作者: X xzl

modify format accored with clang-format 3.8

上级 2bc08f89
......@@ -60,6 +60,7 @@ public:
int paddingH,
int paddingW,
T* inputGrad) {}
// TODO(zhaolong) : cpu implementation of depthwise convolution
};
template <class T>
......@@ -82,6 +83,7 @@ public:
int paddingW,
T* colData,
T* filterGrad) {}
// TODO(zhaolong) : cpu implementation of depthwise convolution
};
/*
......
......@@ -122,11 +122,8 @@ public:
* \param[in] paddingH padding size in height direction.
* \param[in] paddingW padding size in width direction.
* \param[in] colData Auxiliary data when calculating filterGrad.
* size:
*inputChannels*filterHeight*filterWidth*outputHeight*outputWidth \param[in]
*multiplierData Auxiliary data when calculating filterGrad. size:
*outputHeight * outputWidth. \param[out]
*filterGrad the grad data of filter.
* \param[in] multiplierData Auxiliary data when calculating filterGrad.
* \param[out] filterGrad the grad data of filter.
*
*/
template <DeviceType Device, class T>
......
......@@ -17,6 +17,7 @@ limitations under the License. */
#include "paddle/math/BaseMatrix.h"
namespace paddle {
// CUDA kernel to compute the depthwise convolution forward pass
template <class T>
__global__
......
......@@ -22,7 +22,7 @@ namespace paddle {
/**
* @brief A subclass of convolution layer.
* This layer do the depthwise convolution calculation in mobilenet.
* This layer does the depthwise convolution calculation of mobilenet.
* The config file api is img_depthwise_conv_layer.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册