“98a3f9a2580bdb7c7c4f00a09a954960e498d9bd”上不存在“PaddleNLP/unarchived/machine_reading_comprehension/_ce.py”
提交 b34f21bd 编写于 作者: H hedaoyuan

The pool_limit_size need be zero in mobile inference.

上级 6303d3ba
......@@ -17,9 +17,13 @@ limitations under the License. */
#include "paddle/utils/StringUtil.h"
#include "paddle/utils/Util.h"
#ifndef PADDLE_MOBILE_INFERENCE
DEFINE_int32(pool_limit_size,
536870912,
"maximum memory size managed by a memory pool, default is 512M");
#else
DEFINE_int32(pool_limit_size, 0, "default is 0");
#endif
namespace paddle {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册