Skip to content

Commit b16c0a8

Browse files
author
wangyang59
committed
only keep CudnnConvBaseLayer and let both cudnn_conv and cudnn_convt point to it
1 parent 3493f5b commit b16c0a8

File tree

2 files changed

+2
-46
lines changed

2 files changed

+2
-46
lines changed

paddle/gserver/layers/CudnnConvBaseLayer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ limitations under the License. */
1717
#include "paddle/utils/Stat.h"
1818

1919
namespace paddle {
20+
REGISTER_LAYER(cudnn_conv, CudnnConvBaseLayer);
21+
REGISTER_LAYER(cudnn_convt, CudnnConvBaseLayer);
2022

2123
bool CudnnConvBaseLayer::init(const LayerMap &layerMap,
2224
const ParameterMap &parameterMap) {

paddle/gserver/layers/CudnnConvLayer.cpp

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)