Home
last modified time | relevance | path

Searched refs:isOutputBufferEnough (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp95 std::vector<bool> isOutputBufferEnough {}; in Run() local
266 std::vector<bool> isOutputBufferEnough {}; variable
315 std::vector<bool> isOutputBufferEnough {}; variable
327 ::testing::SetArgReferee<3>(isOutputBufferEnough),
368 std::vector<bool> isOutputBufferEnough {}; variable
402 std::vector<bool> isOutputBufferEnough {}; variable
427 std::vector<bool> isOutputBufferEnough {}; in RunFail() local
656 std::vector<bool> isOutputBufferEnough {}; variable
680 std::vector<bool> isOutputBufferEnough {}; variable
708 std::vector<bool> isOutputBufferEnough {}; variable
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp94 std::vector<bool> isOutputBufferEnough {}; in Run() local
107 … OH_NN_ReturnCode result = preparedModel->Run(inputs, outputs, outputsDims, isOutputBufferEnough); in Run()
263 std::vector<bool> isOutputBufferEnough {}; variable
312 std::vector<bool> isOutputBufferEnough {}; variable
364 std::vector<bool> isOutputBufferEnough {}; variable
396 std::vector<bool> isOutputBufferEnough {}; variable
422 std::vector<bool> isOutputBufferEnough {}; in RunFail() local
651 std::vector<bool> isOutputBufferEnough {}; variable
675 std::vector<bool> isOutputBufferEnough {}; variable
703 std::vector<bool> isOutputBufferEnough {}; variable
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_1/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp94 std::vector<bool> isOutputBufferEnough {}; in Run() local
107 … OH_NN_ReturnCode result = preparedModel->Run(inputs, outputs, outputsDims, isOutputBufferEnough); in Run()
264 std::vector<bool> isOutputBufferEnough {}; variable
313 std::vector<bool> isOutputBufferEnough {}; variable
365 std::vector<bool> isOutputBufferEnough {}; variable
397 std::vector<bool> isOutputBufferEnough {}; variable
421 std::vector<bool> isOutputBufferEnough {}; in RunFail() local
650 std::vector<bool> isOutputBufferEnough {}; variable
674 std::vector<bool> isOutputBufferEnough {}; variable
702 std::vector<bool> isOutputBufferEnough {}; variable
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A Dinterface_i_prepared_model_v10.md21 …nsor_v10.md)[] outputs, [out] int[][] outputsDims, [out] boolean[] isOutputBufferEnough) | 推理模型 |
54 …, [in] struct IOTensor[] outputs, [out] int outputsDims[][], [out] boolean[] isOutputBufferEnough )
69 | isOutputBufferEnough | 模型推理输出数据的SharedBuffer空间是否足够,足够的话返回true,不足则返回false,输出顺序与outputs顺序一一对应。 |
H A Dinterface_i_prepared_model_v20.md103 | isOutputBufferEnough | 模型推理输出数据的SharedBuffer空间是否足够,足够的话返回true,不足则返回false,输出顺序与outputs顺序一一对应。 |
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp121 bool isOutputBufferEnough {false}; in Run() local
122 ret = UpdateOutput(outputs, outputsDims, isOutputBufferEnough); in Run()
129 if (!isOutputBufferEnough) { in Run()
173 std::vector<std::vector<int32_t>>& outputsDims, bool& isOutputBufferEnough) in UpdateOutput() argument
175 isOutputBufferEnough = true; in UpdateOutput()
188 isOutputBufferEnough = false; in UpdateOutput()
191 if (isOutputBufferEnough && m_isDynamicShape) { in UpdateOutput()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dprepared_model.h36 std::vector<bool>& isOutputBufferEnough) = 0;
41 std::vector<bool>& isOutputBufferEnough) = 0;
H A Dhdi_prepared_model_v1_0.h43 std::vector<bool>& isOutputBufferEnough) override;
48 std::vector<bool>& isOutputBufferEnough) override;
H A Dhdi_prepared_model_v2_0.h44 std::vector<bool>& isOutputBufferEnough) override;
49 std::vector<bool>& isOutputBufferEnough) override;
H A Dhdi_prepared_model_v2_1.h44 std::vector<bool>& isOutputBufferEnough) override;
49 std::vector<bool>& isOutputBufferEnough) override;
H A Dhdi_prepared_model_v1_0.cpp210 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in Run() argument
233 …to ret = m_hdiPreparedModel->Run(iInputTensors, iOutputTensors, outputsDims, isOutputBufferEnough); in Run()
244 std::vector<bool>& isOutputBufferEnough) in Run() argument
275 …to ret = m_hdiPreparedModel->Run(iInputTensors, iOutputTensors, outputsDims, isOutputBufferEnough); in Run()
H A Dhdi_prepared_model_v2_0.cpp210 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in Run() argument
247 std::vector<bool>& isOutputBufferEnough) in Run() argument
H A Dhdi_prepared_model_v2_1.cpp210 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in Run() argument
247 std::vector<bool>& isOutputBufferEnough) in Run() argument
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dexecutor_mock_device.cpp58 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in Run() argument
69 isOutputBufferEnough.emplace_back(true); in Run()
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dprepared_model_service.cpp94 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in Run() argument
118 ret = UpdateOutput(outputs, outputsDims, isOutputBufferEnough); in Run()
131 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in UpdateOutput() argument
135 isOutputBufferEnough.resize(outputSize, true); in UpdateOutput()
147 isOutputBufferEnough[i] = false; in UpdateOutput()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/
H A Dexecutor_mock_device.cpp66 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) in Run() argument
77 isOutputBufferEnough.emplace_back(true); in Run()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/cpp_target/nnrt/v1_0/
H A Dprepared_model_proxy.cpp.txt62 …& outputs, std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough)
64 …Nnrt::V1_0::PreparedModelProxy::Run_(inputs, outputs, outputsDims, isOutputBufferEnough, Remote());
121 …td::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough, const sptr…
195 isOutputBufferEnough.clear();
196 isOutputBufferEnough.reserve(isOutputBufferEnoughSize);
203 isOutputBufferEnough.push_back(value0);
H A Dprepared_model_stub.cpp.txt198 std::vector<bool> isOutputBufferEnough;
206 isOutputBufferEnough.reserve(capacity);
214 int32_t preparedModelRet = impl->Run(inputs, outputs, outputsDims, isOutputBufferEnough);
231 if (!preparedModelReply.WriteUint32(isOutputBufferEnough.size())) {
232 HDF_LOGE("%{public}s: write isOutputBufferEnough size failed!", __func__);
235 for (const auto& it0 : isOutputBufferEnough) {
H A Dprepared_model_proxy.h.txt41 … std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) override;
49 …td::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough, const sptr…
H A Dprepared_model_service.cpp.txt31 …& outputs, std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough)
H A Dprepared_model_service.h.txt33 … std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) override;
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/
H A Dprepared_model_service.h47 … std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) override;
56 std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough);
/ohos5.0/drivers/interface/nnrt/v1_0/
H A DIPreparedModel.idl23 [out] int[][] outputsDims, [out] boolean[] isOutputBufferEnough);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/foo/nnrt/v1_0/
H A DIPreparedModel.idl23 [out] int[][] outputsDims, [out] boolean[] isOutputBufferEnough);
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dprepared_model_service.h59 std::vector<std::vector<int32_t>>& outputsDims, bool& isOutputBufferEnough);

12