/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.cpp | 75 LoadFunction(libNeuralNetworks, "OH_NNCompilation_SetCache", &nnrt.OH_NNCompilation_SetCache); in LoadNnrt()
|
H A D | nnrt_implementation.h | 52 … OH_NN_ReturnCode (*OH_NNCompilation_SetCache)(OH_NNCompilation* compilation, const char* cacheDir, member
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_core.h | 257 OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, ui…
|
/ohos5.0/foundation/ai/neural_network_runtime/ |
H A D | neural-network-runtime-guidelines.md | 85 | OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, … 440 returnCode = OH_NNCompilation_SetCache(compilation, "/data/local/tmp", 1); 441 CHECKNEQ(returnCode, OH_NN_SUCCESS, -1, "OH_NNCompilation_SetCache failed.");
|
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 85 | OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, … 431 returnCode = OH_NNCompilation_SetCache(compilation, "/data/local/tmp", 1); 432 CHECKNEQ(returnCode, OH_NN_SUCCESS, OH_NN_FAILED, "OH_NNCompilation_SetCache failed.");
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/ |
H A D | end_to_end_test.cpp | 386 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNCompilation_SetCache(compilationCacheExporter, CACHE_DIR.c_str(), CA… 399 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNCompilation_SetCache(m_compilation, CACHE_DIR.c_str(), CACHE_VERSION…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | _neural_network_runtime.md | 87 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNCompilation_SetCache](#oh_nncompilation_setcache) ([OH… 982 …作,调用 [OH_NNCompilation_SetDevice](#oh_nncompilation_setdevice)、[OH_NNCompilation_SetCache](#oh_nnc… 1011 [OH_NNCompilation_SetCache](#oh_nncompilation_setcache) 1044 模型缓存的相关描述参考[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)。 1048 应该先调用[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)或[OH_NNCompilation_ImportCacheFromBuffe… 1177 模型缓存的相关描述参考[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)。 1207 模型缓存的相关描述参考[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)。 1228 ### OH_NNCompilation_SetCache() 1231 OH_NN_ReturnCode OH_NNCompilation_SetCache (OH_NNCompilation *compilation, const char *cachePath, u…
|
H A D | _neural_nework_runtime.md | 87 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNCompilation_SetCache](#oh_nncompilation_setcache) ([OH… 982 …作,调用 [OH_NNCompilation_SetDevice](#oh_nncompilation_setdevice)、[OH_NNCompilation_SetCache](#oh_nnc… 1011 [OH_NNCompilation_SetCache](#oh_nncompilation_setcache) 1044 模型缓存的相关描述参考[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)。 1048 应该先调用[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)或[OH_NNCompilation_ImportCacheFromBuffe… 1177 模型缓存的相关描述参考[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)。 1207 模型缓存的相关描述参考[OH_NNCompilation_SetCache](#oh_nncompilation_setcache)。 1228 ### OH_NNCompilation_SetCache() 1231 OH_NN_ReturnCode OH_NNCompilation_SetCache (OH_NNCompilation *compilation, const char *cachePath, u…
|
H A D | neural__network__core_8h.md | 36 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNCompilation_SetCache](_neura…
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_delegate_kernel.cpp | 411 m_nnrt->OH_NNCompilation_SetCache(m_pNnCompilation, cacheDir.c_str(), version), in SetNnOptions()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 858 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); 876 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); 894 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version);
|
/ohos5.0/docs/en/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 85 | OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, … 431 returnCode = OH_NNCompilation_SetCache(compilation, "/data/local/tmp", 1); 432 CHECKNEQ(returnCode, OH_NN_SUCCESS, OH_NN_FAILED, "OH_NNCompilation_SetCache failed.");
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__core_8h.md | 36 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNCompilation_SetCache](_neura…
|
H A D | _neural_network_runtime.md | 87 | [OH_NN_ReturnCode](#oh_nn_returncode)[OH_NNCompilation_SetCache](#oh_nncompilation_setcache) ([OH… 982 … If [OH_NNCompilation_SetDevice](#oh_nncompilation_setdevice), [OH_NNCompilation_SetCache](#oh_nnc… 1011 [OH_NNCompilation_SetCache](#oh_nncompilation_setcache) 1044 For details about the model cache, see [OH_NNCompilation_SetCache](#oh_nncompilation_setcache). 1048 Call [OH_NNCompilation_SetCache](#oh_nncompilation_setcache) or [OH_NNCompilation_ImportCacheFromBu… 1177 For details about the model cache, see [OH_NNCompilation_SetCache](#oh_nncompilation_setcache). 1207 For details about the model cache, see [OH_NNCompilation_SetCache](#oh_nncompilation_setcache). 1228 ### OH_NNCompilation_SetCache() 1231 OH_NN_ReturnCode OH_NNCompilation_SetCache (OH_NNCompilation *compilation, const char *cachePath, u…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 747 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); 762 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); 778 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 911 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); 929 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version); 947 OH_NN_ReturnCode ret = OH_NNCompilation_SetCache(nnCompilation, cacheDir, version);
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | neural_network_core.cpp | 320 NNRT_API OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, in OH_NNCompilation_SetCache() function
|