Home
last modified time | relevance | path

Searched refs:OH_NNCompilation_SetCache (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.cpp75 LoadFunction(libNeuralNetworks, "OH_NNCompilation_SetCache", &nnrt.OH_NNCompilation_SetCache); in LoadNnrt()
H A Dnnrt_implementation.h52 … 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 Dneural_network_core.h257 OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, ui…
/ohos5.0/foundation/ai/neural_network_runtime/
H A Dneural-network-runtime-guidelines.md85 | 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 Dneural-network-runtime-guidelines.md85 | 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 Dend_to_end_test.cpp386 …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.md87 | [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.md87 | [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 Dneural__network__core_8h.md36 | [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 Dnnrt_delegate_kernel.cpp411 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 Dneural_network_runtime_test.cpp858 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 Dneural-network-runtime-guidelines.md85 | 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 Dneural__network__core_8h.md36 | [OH_NN_ReturnCode](_neural_network_runtime.md#oh_nn_returncode)[OH_NNCompilation_SetCache](_neura…
H A D_neural_network_runtime.md87 | [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 Dneural_network_core_test.cpp747 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 Dneural_network_runtime_test.cpp911 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 Dneural_network_core.cpp320 NNRT_API OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, in OH_NNCompilation_SetCache() function