diff --git a/test/operators/test_pool_op.cpp b/test/operators/test_pool_op.cpp index 0cba4cd144e54f788510c9fee819593d9b309571..5784ac065496ccfde73e516802fb2f79f622836f 100644 --- a/test/operators/test_pool_op.cpp +++ b/test/operators/test_pool_op.cpp @@ -173,8 +173,8 @@ int TestPoolOp(int in_channels, int in_height, int in_width) { const T *output_data = output->data(); T *output_cmp_data = output_cmp.data(); for (int i = 0; i < output->numel(); ++i) { - // PADDLE_MOBILE_ENFORCE(output_data[i] == output_cmp_data[i], - // "The execution of test_pool_op is failed!"); + PADDLE_MOBILE_ENFORCE(output_data[i] == output_cmp_data[i], + "The execution of test_pool_op is failed!"); if (output_data[i] == output_cmp_data[i]) { ++eq; } else {