Home
last modified time | relevance | path

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

/test/xts/acts/ai/neural_network_runtime/interface/src/
DExecutorTest.cpp295 uint32_t outputIndex = 0; variable
310 … OH_NNExecutor_SetOutput(nullptr, outputIndex, operandTem.data, operandTem.length));
311 outputIndex += 1;
335 uint32_t outputIndex = 10000; variable
350 … OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length));
351 outputIndex += 1;
375 uint32_t outputIndex = 0; variable
390 OH_NNExecutor_SetOutput(executor, outputIndex, nullptr, operandTem.length));
391 outputIndex += 1;
415 uint32_t outputIndex = 0; variable
[all …]
DMemoryTest.cpp44 void CheckCreateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, size_t length) in CheckCreateOutputMemory() argument
46 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, length); in CheckCreateOutputMemory()
768 uint32_t outputIndex = 0; variable
783 …OH_NN_Memory *outputMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, operandTem.…
785 … ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_SetOutputWithMemory(executor, outputIndex, outputMemory));
786 outputIndex += 1;
847 auto outputIndex = graphArgs.inputIndices.size() + j; variable
849 … EXPECT_TRUE(CheckOutput(static_cast<float*>(const_cast<void*>(OHNNMemory[outputIndex]->data)),
851 OH_NNExecutor_DestroyOutputMemory(executor, j, &OHNNMemory[outputIndex]);
852 ASSERT_EQ(OHNNMemory[outputIndex], nullptr);
[all …]
/test/xts/acts/ai/neural_network_runtime/common/
Dnnrt_utils.cpp202 uint32_t outputIndex = 0; in ExecuteGraphMock() local
220 … ret = OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length); in ExecuteGraphMock()
232 outputIndex += 1; in ExecuteGraphMock()
245 uint32_t outputIndex = 0; in ExecutorWithMemory() local
266 OH_NN_Memory *outputMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, in ExecutorWithMemory()
268 ret = OH_NNExecutor_SetOutputWithMemory(executor, outputIndex, outputMemory); in ExecutorWithMemory()
278 OHNNMemory[inputIndex + outputIndex] = outputMemory; in ExecutorWithMemory()
279 outputIndex += 1; in ExecutorWithMemory()
/test/xts/hats/ai/nnrt/hdi/nnrtFunctionTest/src/
Dhdi_model_prepare_test.cpp230 iModel->outputIndex = {};