cache number limit

Signed-off-by: w30052974 <wangyifan94@huawei.com>
This commit is contained in:
w30052974 2024-11-28 20:49:33 +08:00
parent 65e720ba56
commit eab4cb80d1

View File

@ -47,7 +47,7 @@ const std::string NULL_HARDWARE_NAME = "default";
const std::string HARDWARE_NAME = "const.ai.nnrt_deivce";
const std::string HARDWARE_VERSION = "v5_0";
constexpr size_t HARDWARE_NAME_MAX_LENGTH = 128;
constexpr size_t FILE_NUMBER_MAX = 100;
constexpr size_t FILE_NUMBER_MAX = 100; // 限制cache文件数量最大为100
NNRT_API NN_QuantParam *OH_NNQuantParam_Create()
{