Home
last modified time | relevance | path

Searched refs:PrepareModel (Results 1 – 25 of 55) sorted by relevance

123

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A Dinterface_i_nnrt_device_v10.md31 | [PrepareModel](#preparemodel) ([in] struct [Model](_model_v10.md) model, [in] struct [ModelConfig…
311 ### PrepareModel()
314 INnrtDevice::PrepareModel ([in] struct Model model, [in] struct ModelConfig config, [out] IPrepared…
H A Dinterface_i_nnrt_device_v20.md31 | [PrepareModel](#preparemodel) ([in] struct [Model](_model_v20.md) model, [in] struct [ModelConfig…
312 ### PrepareModel()
315 INnrtDevice::PrepareModel ([in] struct Model model, [in] struct ModelConfig config, [out] IPrepared…
H A D_model_types_8idl_v20.md8 在**PrepareModel**阶段,需要解析Model并将其转换为用于推理的模型结构,在**Run**阶段则会执行模型推理。大致流程如下:
H A D_model_types_8idlv.md8 在**PrepareModel**阶段,需要解析Model并将其转换为用于推理的模型结构,在**Run**阶段则会执行模型推理。大致流程如下:
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Ddevice.h51 virtual OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model,
54 virtual OH_NN_ReturnCode PrepareModel(const void* metaGraph,
H A Dhdi_device_v1_0.h47 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model,
50 OH_NN_ReturnCode PrepareModel(const void* metaGraph,
H A Dhdi_device_v2_0.h47 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model,
50 OH_NN_ReturnCode PrepareModel(const void* metaGraph,
H A Dhdi_device_v2_1.h47 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model,
50 OH_NN_ReturnCode PrepareModel(const void* metaGraph,
H A Dhdi_device_v1_0.cpp240 OH_NN_ReturnCode HDIDeviceV1_0::PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> mode… in PrepareModel() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_0
272 auto preparedRet = m_iDevice->PrepareModel(*iModel, iModelConfig, iPreparedModel); in PrepareModel()
294 OH_NN_ReturnCode HDIDeviceV1_0::PrepareModel(const void* metaGraph, in PrepareModel() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_0
H A Dhdi_device_v2_0.cpp284 OH_NN_ReturnCode HDIDeviceV2_0::PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> mode… in PrepareModel() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_0
315 ret = m_iDevice->PrepareModel(*iModel, iModelConfig, iPreparedModel); in PrepareModel()
336 OH_NN_ReturnCode HDIDeviceV2_0::PrepareModel(const void* metaGraph, in PrepareModel() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_0
H A Dhdi_device_v2_1.cpp279 OH_NN_ReturnCode HDIDeviceV2_1::PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> mode… in PrepareModel() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_1
310 ret = m_iDevice->PrepareModel(*iModel, iModelConfig, iPreparedModel); in PrepareModel()
331 OH_NN_ReturnCode HDIDeviceV2_1::PrepareModel(const void* metaGraph, in PrepareModel() function in OHOS::NeuralNetworkRuntime::HDIDeviceV2_1
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_registrar/
H A Ddevice_registrar_test.cpp62 virtual int32_t PrepareModel(const V1_0::Model& model, const V1_0::ModelConfig& config,
137 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, in PrepareModel() function in OHOS::NeuralNetworkRuntime::UnitTest::SimulationDevice
174 MOCK_METHOD3(PrepareModel,
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_registrar/
H A Ddevice_registrar_test.cpp62 virtual int32_t PrepareModel(const V2_0::Model& model, const V2_0::ModelConfig& config,
137 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, in PrepareModel() function in OHOS::NeuralNetworkRuntime::UnitTest::SimulationDevice
174 MOCK_METHOD3(PrepareModel,
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dmock_idevice.h40 …MOCK_METHOD3(PrepareModel, int32_t(const Model&, const ModelConfig&, OHOS::sptr<IPreparedModel>&));
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/
H A Dlabel_classify.cpp115 void PrepareModel(Settings& settings, std::unique_ptr<tflite::Interpreter>& interpreter, in PrepareModel() function
221 PrepareModel(settings, interpreter, delegateProviders); in InferenceModel()
/ohos5.0/foundation/ai/neural_network_runtime/test/fuzztest/
H A Dnnrt_device_impl.h84 …int32_t PrepareModel(const Model& model, const ModelConfig& config, sptr<IPreparedModel>& prepared… in PrepareModel() function
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/
H A Dmock_idevice.h40 …MOCK_METHOD3(PrepareModel, int32_t(const Model&, const ModelConfig&, OHOS::sptr<IPreparedModel>&));
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_1/
H A Dmock_idevice.h40 …MOCK_METHOD3(PrepareModel, int32_t(const Model&, const ModelConfig&, OHOS::sptr<IPreparedModel>&));
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h54 …int32_t PrepareModel(const Model& model, const ModelConfig& config, sptr<IPreparedModel>& prepared…
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/
H A Dhdi_device_test.cpp65 OH_NN_ReturnCode PrepareModel(int32_t allocBufferType, int32_t prepareType);
94 OH_NN_ReturnCode HDIDeviceTest::PrepareModel(int32_t allocBufferType, int32_t prepareType) in PrepareModel() function in OHOS::NeuralNetworkRuntime::UnitTest::HDIDeviceTest
111 EXPECT_CALL(*sp, PrepareModel(::testing::_, ::testing::_, ::testing::_)) in PrepareModel()
116 OH_NN_ReturnCode result = hdiDevice->PrepareModel(model, config, preparedModel); in PrepareModel()
767 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType);
785 OH_NN_ReturnCode result = hdiDevice->PrepareModel(model, config, preparedModel);
798 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType);
811 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType);
833 OH_NN_ReturnCode result = hdiDevice->PrepareModel(data, config, preparedModel);
/ohos5.0/drivers/interface/nnrt/v1_0/
H A DINnrtDevice.idl32PrepareModel([in] struct Model model, [in] struct ModelConfig config, [out] IPreparedModel prepare…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/foo/nnrt/v1_0/
H A DINnrtDevice.idl32PrepareModel([in] struct Model model, [in] struct ModelConfig config, [out] IPreparedModel prepare…
/ohos5.0/drivers/interface/nnrt/v2_0/
H A DINnrtDevice.idl32PrepareModel([in] struct Model model, [in] struct ModelConfig config, [out] IPreparedModel prepare…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/foo/nnrt/v2_0/
H A DINnrtDevice.idl32PrepareModel([in] struct Model model, [in] struct ModelConfig config, [out] IPreparedModel prepare…
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h54 …int32_t PrepareModel(const Model& model, const ModelConfig& config, sptr<IPreparedModel>& prepared…

123