From fb35f45899e530d2662dd6ad15b14210be82fb41 Mon Sep 17 00:00:00 2001 From: wuchenghui Date: Tue, 12 Sep 2017 09:39:35 +0800 Subject: [PATCH] -max->lowest --- mace/kernels/pooling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mace/kernels/pooling.h b/mace/kernels/pooling.h index 2128f3f0..8a359194 100644 --- a/mace/kernels/pooling.h +++ b/mace/kernels/pooling.h @@ -73,7 +73,7 @@ public: case AVG: break; case MAX: - sum_or_max = -std::numeric_limits::max(); + sum_or_max = std::numeric_limits::lowest(); break; default: MACE_CHECK(false, "Unsupported pooling type: ", pooling_type_); -- GitLab