change MAX_MODEL_SIZE to 500M

Signed-off-by: w30052974 <wangyifan94@huawei.com>
This commit is contained in:
w30052974 2024-11-18 21:22:36 +08:00
parent 73011a1e9f
commit 5da7b8721a

View File

@ -27,7 +27,7 @@
namespace OHOS {
namespace NeuralNetworkRuntime {
constexpr int32_t MAX_MODEL_SIZE = 200 * 1024 * 1024; // 200MB
constexpr int32_t MAX_MODEL_SIZE = 500 * 1024 * 1024; // 200MB
constexpr int32_t NULL_PTR_LENGTH = 0;
constexpr int32_t NUMBER_CACHE_INFO_MEMBERS = 3;
constexpr int32_t HEX_UNIT = 16;