/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/ |
H A D | interface_i_nnrt_device_v10.md | 31 | [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 D | interface_i_nnrt_device_v20.md | 31 | [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.md | 8 在**PrepareModel**阶段,需要解析Model并将其转换为用于推理的模型结构,在**Run**阶段则会执行模型推理。大致流程如下:
|
H A D | _model_types_8idlv.md | 8 在**PrepareModel**阶段,需要解析Model并将其转换为用于推理的模型结构,在**Run**阶段则会执行模型推理。大致流程如下:
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | device.h | 51 virtual OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, 54 virtual OH_NN_ReturnCode PrepareModel(const void* metaGraph,
|
H A D | hdi_device_v1_0.h | 47 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, 50 OH_NN_ReturnCode PrepareModel(const void* metaGraph,
|
H A D | hdi_device_v2_0.h | 47 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, 50 OH_NN_ReturnCode PrepareModel(const void* metaGraph,
|
H A D | hdi_device_v2_1.h | 47 OH_NN_ReturnCode PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, 50 OH_NN_ReturnCode PrepareModel(const void* metaGraph,
|
H A D | hdi_device_v1_0.cpp | 240 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 D | hdi_device_v2_0.cpp | 284 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 D | hdi_device_v2_1.cpp | 279 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 D | device_registrar_test.cpp | 62 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 D | device_registrar_test.cpp | 62 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 D | mock_idevice.h | 40 …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 D | label_classify.cpp | 115 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 D | nnrt_device_impl.h | 84 …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 D | mock_idevice.h | 40 …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 D | mock_idevice.h | 40 …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 D | nnrt_device_service.h | 54 …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 D | hdi_device_test.cpp | 65 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 D | INnrtDevice.idl | 32 …PrepareModel([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 D | INnrtDevice.idl | 32 …PrepareModel([in] struct Model model, [in] struct ModelConfig config, [out] IPreparedModel prepare…
|
/ohos5.0/drivers/interface/nnrt/v2_0/ |
H A D | INnrtDevice.idl | 32 …PrepareModel([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 D | INnrtDevice.idl | 32 …PrepareModel([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 D | nnrt_device_service.h | 54 …int32_t PrepareModel(const Model& model, const ModelConfig& config, sptr<IPreparedModel>& prepared…
|