Home
last modified time | relevance | path

Searched refs:outputIndex (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dneural_network_runtime_compat.cpp70 uint32_t outputIndex, void *dataBuffer, size_t length) in OH_NNExecutor_SetOutput() argument
86 return executorImpl->SetOutput(outputIndex, dataBuffer, length); in OH_NNExecutor_SetOutput()
122 …y *OH_NNExecutor_AllocateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, size_t length) in OH_NNExecutor_AllocateOutputMemory() argument
135 OH_NN_ReturnCode ret = executorImpl->CreateOutputMemory(outputIndex, length, &nnMemory); in OH_NNExecutor_AllocateOutputMemory()
169 NNRT_API void OH_NNExecutor_DestroyOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, OH_N… in OH_NNExecutor_DestroyOutputMemory() argument
185 OH_NN_ReturnCode ret = executorImpl->DestroyOutputMemory(outputIndex, memory); in OH_NNExecutor_DestroyOutputMemory()
215 uint32_t outputIndex, const OH_NN_Memory *memory) in OH_NNExecutor_SetOutputWithMemory() argument
227 return executorImpl->SetOutputFromMemory(outputIndex, *memory); in OH_NNExecutor_SetOutputWithMemory()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp238 uint32_t outputIndex = 0; in SetInputAndOutput() local
1234 uint32_t outputIndex = 0; variable
1255 uint32_t outputIndex = 0; variable
1275 uint32_t outputIndex = 0; variable
1296 uint32_t outputIndex = 0; variable
1319 uint32_t outputIndex = 0; variable
1338 uint32_t outputIndex = 0; variable
1363 uint32_t outputIndex = 0; variable
1384 uint32_t outputIndex = 0; variable
1405 uint32_t outputIndex = 0; variable
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp240 uint32_t outputIndex = 0; in SetInputAndOutput() local
1412 uint32_t outputIndex = 0; variable
1433 uint32_t outputIndex = 0; variable
1453 uint32_t outputIndex = 0; variable
1474 uint32_t outputIndex = 0; variable
1499 uint32_t outputIndex = 0; variable
1526 uint32_t outputIndex = 0; variable
1552 uint32_t outputIndex = 0; variable
1574 uint32_t outputIndex = 0; variable
1593 uint32_t outputIndex = 0; variable
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.h65 …OH_NN_ReturnCode (*OH_NNExecutor_SetOutput)(const OH_NNExecutor* executor, uint32_t outputIndex, v…
67 …_NN_ReturnCode (*OH_NNExecutor_GetOutputShape)(const OH_NNExecutor* executor, uint32_t outputIndex,
71 …*OH_NNExecutor_AllocateOutputMemory)(OH_NNExecutor* executor, uint32_t outputIndex, size_t length);
72 …void (*OH_NNExecutor_DestroyOutputMemory)(OH_NNExecutor* executor, uint32_t outputIndex, OH_NN_Mem…
76 …H_NN_ReturnCode (*OH_NNExecutor_SetOutputWithMemory)(OH_NNExecutor* executor, uint32_t outputIndex,
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp262 if (model.outputIndex.empty()) { in ValidateModel()
276 …auto outputIt = std::find_if(model.outputIndex.begin(), model.outputIndex.end(), [tensorSize](size… in ValidateModel() argument
277 return outputIndex > tensorSize; in ValidateModel()
279 if (outputIt != model.outputIndex.end()) { in ValidateModel()
303 metaGraph->outputIndex = model.outputIndex; in TransModelToGraph()
375 cnode->outputIndex = node.outputIndex; in TransNode()
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_runtime.h461 uint32_t outputIndex,
525 OH_NN_Memory *OH_NNExecutor_AllocateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, siz…
575 void OH_NNExecutor_DestroyOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, OH_NN_Memory …
635 uint32_t outputIndex,
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A D_model_v10.md24 | unsigned int[] [outputIndex](#outputindex) | 模型的输出张量在allTensors数组中的下标。 |
73 ### outputIndex subsection
76 unsigned int [] Model::outputIndex
H A D_model_v20.md24 | unsigned int[] [outputIndex](#outputindex) | 模型的输出张量在allTensors数组中的下标。 |
73 ### outputIndex subsection
76 unsigned int [] Model::outputIndex
H A D_node_v10.md50 | unsigned int[] [outputIndex](#outputindex) | 算子节点的输出节点下标。 |
105 ### outputIndex subsection
108 unsigned int [] Node::outputIndex
H A D_node_v20.md50 | unsigned int[] [outputIndex](#outputindex) | 算子节点的输出节点下标。 |
105 ### outputIndex subsection
108 unsigned int [] Node::outputIndex
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp297 if (model.outputIndex.empty()) { in ValidateModel()
311 …auto outputIt = std::find_if(model.outputIndex.begin(), model.outputIndex.end(), [tensorSize](size… in ValidateModel() argument
312 return outputIndex > tensorSize; in ValidateModel()
314 if (outputIt != model.outputIndex.end()) { in ValidateModel()
339 metaGraph->outputIndex = model.outputIndex; in TransModelToGraph()
421 cnode->outputIndex = node.outputIndex; in TransNode()
/ohos5.0/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_hdi_omx_enc_test.cpp123 pixFormat.portIndex = outputIndex;
304 bufferType.portIndex = outputIndex;
320 param.nPortIndex = outputIndex;
357 param.nPortIndex = outputIndex;
372 param.nPortIndex = outputIndex;
408 param.nPortIndex = outputIndex;
545 err = g_component->FreeBuffer(outputIndex, outBuffer);
567 auto ret = g_component->UseBuffer(outputIndex, omxBuffer, outBuffer);
587 auto ret = g_component->UseBuffer(outputIndex, omxBuffer, outBuffer);
661 ret = g_component->FreeBuffer(outputIndex, outBuffer);
[all …]
/ohos5.0/drivers/peripheral/codec/test/benchmarktest/
H A Dcodec_benchmark_omx_test.cpp255 const static uint32_t outputIndex = static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT); member in __anon63abad4b0110::CodecBenchmarkOmxTest
285 pixFormat.portIndex = outputIndex; in BENCHMARK_F()
325 param.nPortIndex = outputIndex; in BENCHMARK_F()
344 param.nPortIndex = outputIndex; in BENCHMARK_F()
399 ret = component_->ComponentTunnelRequest(outputIndex, tunneledComp, tunneledPort, in BENCHMARK_F()
438 err = component_->AllocateBuffer(outputIndex, allocBuffer, outBuffer); in BENCHMARK_F()
440 err = component_->FreeBuffer(outputIndex, outBuffer); in BENCHMARK_F()
579 err = component_->AllocateBuffer(outputIndex, allocBuffer, outBuffer); in BENCHMARK_F()
581 err = component_->FreeBuffer(outputIndex, outBuffer); in BENCHMARK_F()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime_8h.md45 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, void \*dataBuf…
48 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, size_t length)…
50 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, [OH_NN_Memory]…
52 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, const [OH_NN_M…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/cpp_target/nnrt/v1_0/
H A Dmodel_types.cpp.txt171 if (!WritePodArray(data, dataBlock.outputIndex)) {
172 HDF_LOGE("%{public}s: failed to write dataBlock.outputIndex", __func__);
211 if (!ReadPodArray(data, dataBlock.outputIndex)) {
212 HDF_LOGE("%{public}s: failed to read dataBlock.outputIndex", __func__);
289 if (!WritePodArray(data, dataBlock.outputIndex)) {
290 HDF_LOGE("%{public}s: failed to write dataBlock.outputIndex", __func__);
343 if (!ReadPodArray(data, dataBlock.outputIndex)) {
344 HDF_LOGE("%{public}s: failed to read dataBlock.outputIndex", __func__);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/cpp_target/nnrt/v2_0/
H A Dmodel_types.cpp.txt171 if (!WritePodArray(data, dataBlock.outputIndex)) {
172 HDF_LOGE("%{public}s: failed to write dataBlock.outputIndex", __func__);
211 if (!ReadPodArray(data, dataBlock.outputIndex)) {
212 HDF_LOGE("%{public}s: failed to read dataBlock.outputIndex", __func__);
289 if (!WritePodArray(data, dataBlock.outputIndex)) {
290 HDF_LOGE("%{public}s: failed to write dataBlock.outputIndex", __func__);
343 if (!ReadPodArray(data, dataBlock.outputIndex)) {
344 HDF_LOGE("%{public}s: failed to read dataBlock.outputIndex", __func__);
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/
H A DNativeFuzzTest.cpp98 int32_t outputIndex = decoderDemo->NativeGetOutputIndex(); in outputFunc() local
99 OH_AVErrCode ret = decoderDemo->NativeFreeOutputData(handle, outputIndex); in outputFunc()
359 int32_t outputIndex = getIntRand(); variable
361 cout << "index is: " << outputIndex << endl;
366 ret = decoderDemo->NativeFreeOutputData(handle, outputIndex);
/ohos5.0/drivers/interface/nnrt/v1_0/
H A DModelTypes.idl34 unsigned int[] outputIndex;
48 unsigned int[] outputIndex;
/ohos5.0/drivers/interface/nnrt/v2_0/
H A DModelTypes.idl34 unsigned int[] outputIndex;
48 unsigned int[] outputIndex;
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/foo/nnrt/v1_0/
H A DModelTypes.idl34 unsigned int[] outputIndex;
48 unsigned int[] outputIndex;
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/foo/nnrt/v2_0/
H A DModelTypes.idl34 unsigned int[] outputIndex;
48 unsigned int[] outputIndex;
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/
H A DNativeFuzzTest.cpp100 int32_t outputIndex = encoderDemo->NativeGetOutputIndex(); in outputFunc() local
101 OH_AVErrCode ret = encoderDemo->NativeFreeOutputData(handle, outputIndex); in outputFunc()
373 int32_t outputIndex = getIntRand(); variable
375 cout << "index is: " << outputIndex << endl;
380 ret = encoderDemo->NativeFreeOutputData(handle, outputIndex);
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/
H A Dheif_hw_decoder.cpp577 void HeifHardwareDecoder::AssembleOutput(uint32_t outputIndex, shared_ptr<ImageCodecBuffer>& buffer) in AssembleOutput() argument
601 uint32_t decodedRows = outputIndex / gridInfo_.cols; in AssembleOutput()
602 uint32_t decodedCols = outputIndex % gridInfo_.cols; in AssembleOutput()
610 LOGE("failed to assemble output(grid=%{public}d))", outputIndex); in AssembleOutput()
618 uint32_t outputIndex = 0; in ReceiveOutputBufferLoop() local
639 AssembleOutput(outputIndex, buffer); in ReceiveOutputBufferLoop()
641 ++outputIndex; in ReceiveOutputBufferLoop()
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dbitmap_helpers.h73 int32_t outputIndex = 2; in Resize() local
88 interpreter->SetTensorParametersReadWrite(outputIndex, kTfLiteFloat32, "output", in Resize()
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime_8h.md45 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, void \*dataBuf…
48 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, size_t length)…
50 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, [OH_NN_Memory]…
52 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t outputIndex, const [OH_NN_M…

123