Home
last modified time | relevance | path

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

/test/xts/acts/ai/neural_network_runtime/interface/src/
DExecutorTest.cpp96 uint32_t inputIndex = 0; variable
102 … OH_NNExecutor_SetInput(nullptr, inputIndex, &operand, operandTem.data, operandTem.length));
124 uint32_t inputIndex = 100000; variable
130 … OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length));
152 uint32_t inputIndex = 0; variable
158 … OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length));
180 uint32_t inputIndex = 0; variable
187 … OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length));
209 uint32_t inputIndex = 0; variable
215 OH_NNExecutor_SetInput(executor, inputIndex, &operand, nullptr, operandTem.length));
[all …]
DMemoryTest.cpp38 void CheckCreateInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, size_t length) in CheckCreateInputMemory() argument
40 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, inputIndex, length); in CheckCreateInputMemory()
767 uint32_t inputIndex = 0; variable
775 …OH_NN_Memory *inputMemory = OH_NNExecutor_AllocateInputMemory(executor, inputIndex, operandTem.len…
777 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_SetInputWithMemory(executor, inputIndex, &operand, inputMem…
807 uint32_t inputIndex = 0; variable
815 …OH_NN_Memory *inputMemory = OH_NNExecutor_AllocateInputMemory(executor, inputIndex, operandTem.len…
817 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_SetInputWithMemory(executor, inputIndex, &operand, inputMem…
/test/xts/acts/ai/neural_network_runtime/common/
Dnnrt_utils.cpp201 uint32_t inputIndex = 0; in ExecuteGraphMock() local
211 ret = OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, in ExecuteGraphMock()
217 inputIndex += 1; in ExecuteGraphMock()
244 uint32_t inputIndex = 0; in ExecutorWithMemory() local
254 OH_NN_Memory *inputMemory = OH_NNExecutor_AllocateInputMemory(executor, inputIndex, in ExecutorWithMemory()
256 ret = OH_NNExecutor_SetInputWithMemory(executor, inputIndex, &operand, inputMemory); in ExecutorWithMemory()
262 OHNNMemory[inputIndex] = inputMemory; in ExecutorWithMemory()
263 inputIndex += 1; in ExecutorWithMemory()
278 OHNNMemory[inputIndex + outputIndex] = outputMemory; in ExecutorWithMemory()
/test/xts/hats/ai/nnrt/hdi/nnrtFunctionTest/src/
Dhdi_model_prepare_test.cpp203 iModel->inputIndex = {};