提交 fb35f458 编写于 作者: W wuchenghui

-max->lowest

上级 feab051b
...@@ -73,7 +73,7 @@ public: ...@@ -73,7 +73,7 @@ public:
case AVG: case AVG:
break; break;
case MAX: case MAX:
sum_or_max = -std::numeric_limits<T>::max(); sum_or_max = std::numeric_limits<T>::lowest();
break; break;
default: default:
MACE_CHECK(false, "Unsupported pooling type: ", pooling_type_); MACE_CHECK(false, "Unsupported pooling type: ", pooling_type_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册