提交 3b41840b 编写于 作者: M Megvii Engine Team

fix(mgb): change caffepooling log level

GitOrigin-RevId: 290d243ef52fee14d2b241344a255ed9e0a99360
上级 a0b3a3c0
...@@ -93,7 +93,7 @@ void PoolingBase::deduce_layout_fwd(const TensorLayout& src, TensorLayout& dst) ...@@ -93,7 +93,7 @@ void PoolingBase::deduce_layout_fwd(const TensorLayout& src, TensorLayout& dst)
size_t ph = this->param().pad_h; size_t ph = this->param().pad_h;
size_t pw = this->param().pad_w; size_t pw = this->param().pad_w;
if (ph >= fh || pw >= fw) { if (ph >= fh || pw >= fw) {
megdnn_log_error( megdnn_log_warn(
"pooling padding size (%zu %zu) should not be bigger than " "pooling padding size (%zu %zu) should not be bigger than "
"window size (%zu %zu), it only can be used in CaffePooling", "window size (%zu %zu), it only can be used in CaffePooling",
pw, ph, fw, fh); pw, ph, fw, fh);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册