modify format accored with clang-format 3.8

cblas_new
xzl 8 years ago
parent 2bc08f8914
commit ccd46d1bf6

@ -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.
*/

Loading…
Cancel
Save