Home
last modified time | relevance | path

Searched refs:NNCompiler (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/
H A Dnn_compiler_test.cpp220 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
237 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
256 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(nullptr, backendID);
279 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
304 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
333 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
355 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
397 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
421 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
442 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiler.cpp122 NNCompiler::NNCompiler(std::shared_ptr<Device> device, size_t backendID) in NNCompiler() function in OHOS::NeuralNetworkRuntime::NNCompiler
126 NNCompiler::NNCompiler(const void* model, std::shared_ptr<Device> device, size_t backendID) in NNCompiler() function in OHOS::NeuralNetworkRuntime::NNCompiler
138 NNCompiler::~NNCompiler() in ~NNCompiler()
147 size_t NNCompiler::GetBackendID() const in GetBackendID()
256 bool NNCompiler::IsBuild() const in IsBuild()
345 OH_NN_ReturnCode NNCompiler::BuildOfflineModel() in BuildOfflineModel()
357 OH_NN_ReturnCode NNCompiler::NormalBuild() in NormalBuild()
406 OH_NN_ReturnCode NNCompiler::Build() in Build()
452 OH_NN_ReturnCode NNCompiler::OnlineBuild() in OnlineBuild()
579 OH_NN_ReturnCode NNCompiler::RestoreFromCacheFile() in RestoreFromCacheFile()
[all …]
H A Dnncompiler.h30 class NNCompiler : public Compiler {
32 NNCompiler() = delete;
33 NNCompiler(std::shared_ptr<Device> device, size_t backendID);
34 NNCompiler(const void* model, std::shared_ptr<Device> device, size_t backendID);
35 ~NNCompiler() override;
H A Dnnbackend.cpp124 NNCompiler* nnCompiler = nullptr; in CreateCompiler()
126 nnCompiler = new (std::nothrow) NNCompiler(m_device, m_backendID); in CreateCompiler()
128 nnCompiler = new (std::nothrow) NNCompiler(compilation->nnModel, m_device, m_backendID); in CreateCompiler()
162 NNCompiler* nnCompiler = reinterpret_cast<NNCompiler*>(compilation->compiler); in CreateExecutor()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/
H A Dnn_backend_test.cpp369 NNCompiler* nncompiler = new (std::nothrow) NNCompiler(device, backendID);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/
H A Dneural_network_core_test.cpp558 NNCompiler nnCompiler(device, backid);
2360 NNCompiler nnCompiler(device, backid);