提交 9c5c38fa 编写于 作者: G gangliao 提交者: luotao1

FIx check type unmatch in MaxOutLayer (#242)

Compiled failed on gcc 4.6
上级 07b2e5d5
...@@ -46,7 +46,7 @@ bool MaxOutLayer::init(const LayerMap& layerMap, ...@@ -46,7 +46,7 @@ bool MaxOutLayer::init(const LayerMap& layerMap,
Layer::init(layerMap, parameterMap); Layer::init(layerMap, parameterMap);
/* the size of inputs for maxout-layer is 1 */ /* the size of inputs for maxout-layer is 1 */
CHECK_EQ(config_.inputs_size(), 1UL); CHECK_EQ(config_.inputs_size(), 1);
const MaxOutConfig& conf = config_.inputs(0).maxout_conf(); const MaxOutConfig& conf = config_.inputs(0).maxout_conf();
groups_ = conf.groups(); groups_ = conf.groups();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册