/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/ |
H A D | hdi_model_prepare_test.cpp | 70 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 71 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F() 81 * @tc.name : 加载模型缓存,modelCache为空 98 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 101 device_->PrepareModelFromModelCache(modelCache, config, iPreparedModel)); in HWTEST_F() 106 * @tc.name : 加载模型缓存,modelCache不匹配 133 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 134 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F() 138 modelCache.emplace_back(invalidBuffer); in HWTEST_F() 141 device_->PrepareModelFromModelCache(modelCache, confi in HWTEST_F() 179 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 651 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 708 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local [all...] |
H A D | hdi_model_run_test.cpp | 373 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 374 EXPECT_EQ(V2_0::NNRT_ReturnCode::NNRT_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F() 379 device_->PrepareModelFromModelCache(modelCache, modelConfig, iPreparedModel1)); in HWTEST_F()
|
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/ |
H A D | hdi_model_prepare_test.cpp | 69 std::vector<V1_0::SharedBuffer> modelCache; in HWTEST_F() local 70 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F() 80 * @tc.name : 加载模型缓存,modelCache为空 97 std::vector<V1_0::SharedBuffer> modelCache; in HWTEST_F() local 99 EXPECT_EQ(HDF_ERR_INVALID_PARAM, device_->PrepareModelFromModelCache(modelCache, config, iPreparedModel)); in HWTEST_F() 104 * @tc.name : 加载模型缓存,modelCache不匹配 130 std::vector<V1_0::SharedBuffer> modelCache; in HWTEST_F() local 131 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F() 135 modelCache.emplace_back(invalidBuffer); in HWTEST_F() 137 EXPECT_EQ(HDF_ERR_INVALID_PARAM, device_->PrepareModelFromModelCache(modelCache, confi in HWTEST_F() 174 std::vector<V1_0::SharedBuffer> modelCache; HWTEST_F() local [all...] |
H A D | hdi_model_run_test.cpp | 374 std::vector<V1_0::SharedBuffer> modelCache; in HWTEST_F() local 375 EXPECT_EQ(HDF_SUCCESS, iPreparedModel->ExportModelCache(modelCache)); in HWTEST_F() 378 EXPECT_EQ(HDF_SUCCESS, device_->PrepareModelFromModelCache(modelCache, modelConfig, iPreparedModel1)); in HWTEST_F()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | mock_idevice.cpp | 300 int32_t MockIDevice::PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, in PrepareModelFromModelCache() argument 307 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() argument 309 if (!modelCache.empty()) { in ExportModelCache() 339 modelCache.emplace_back(buffer); in ExportModelCache()
|
H A D | mock_idevice.h | 76 int32_t PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, 112 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
|
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | mock_idevice.cpp | 299 int32_t MockIDevice::PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, in PrepareModelFromModelCache() argument 306 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() argument 308 if (!modelCache.empty()) { in ExportModelCache() 341 modelCache.emplace_back(buffer); in ExportModelCache()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | mock_idevice.cpp | 275 int32_t MockIDevice::PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, in PrepareModelFromModelCache() argument 282 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() argument 284 if (!modelCache.empty()) { in ExportModelCache() 314 modelCache.emplace_back(buffer); in ExportModelCache()
|
H A D | mock_idevice.h | 73 int32_t PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, 109 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
|
/test/xts/acts/ai/nncore/common/ |
H A D | mock_idevice.cpp | 276 int32_t MockIDevice::PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, in PrepareModelFromModelCache() argument 283 int32_t MockIPreparedModel::ExportModelCache(std::vector<SharedBuffer>& modelCache) in ExportModelCache() argument 285 if (!modelCache.empty()) { in ExportModelCache() 315 modelCache.emplace_back(buffer); in ExportModelCache()
|
H A D | mock_idevice.h | 76 int32_t PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, 110 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
|
/test/xts/acts/ai/nncore/opstest/include/ |
H A D | mock_idevice.h | 76 int32_t PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig& config, 112 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
H A D | hdi_model_prepare_test.cpp | 52 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 55 device_->PrepareOfflineModel(modelCache, modelConfig, iPreparedModelFromOffline)); in HWTEST_F() 70 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 73 device_->PrepareOfflineModel(modelCache, modelConfig, iPreparedModelFromOffline)); in HWTEST_F() 88 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 91 device_->PrepareOfflineModel(modelCache, modelConfig, iPreparedModelFromOffline)); in HWTEST_F() 106 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 109 device_->PrepareOfflineModel(modelCache, modelConfig, iPreparedModelFromOffline)); in HWTEST_F() 124 std::vector<V2_0::SharedBuffer> modelCache; in HWTEST_F() local 127 device_->PrepareOfflineModel(modelCache, modelConfi in HWTEST_F() 142 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 160 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 178 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 196 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 214 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 232 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 250 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 268 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 286 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 304 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 322 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 340 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 358 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 376 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 405 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 469 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 533 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 597 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 661 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 725 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 789 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 853 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 917 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 981 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1045 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1109 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1173 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1237 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1301 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1365 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1429 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1493 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1557 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1621 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 1742 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36228 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36266 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36304 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36342 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36380 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36417 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36455 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36493 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36531 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36569 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36607 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36645 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36683 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36721 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36759 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36797 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36835 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36873 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36911 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36949 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 36986 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37024 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37062 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37099 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37137 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37174 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37211 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37249 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37287 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37325 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37363 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37401 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37439 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37476 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37514 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37552 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37590 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37628 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37666 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local 37704 std::vector<V2_0::SharedBuffer> modelCache; HWTEST_F() local [all...] |