Home
last modified time | relevance | path

Searched refs:inputIndexes (Results 1 – 25 of 43) sorted by relevance

12

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DValidateHal.cpp58 const auto& inputIndexes = model->main.inputIndexes; in validateMemoryDesc() local
60 NN_RET_CHECK_LT(static_cast<size_t>(role.ioIndex), inputIndexes.size()); in validateMemoryDesc()
65 operands.push_back(model->main.operands[inputIndexes[role.ioIndex]]); in validateMemoryDesc()
DConversions.cpp315 auto inputIndexes = NN_TRY(toUnsigned(subgraph.inputIndexes)); in unvalidatedConvert() local
320 .inputIndexes = std::move(inputIndexes), in unvalidatedConvert()
990 auto inputIndexes = NN_TRY(toSigned(subgraph.inputIndexes)); in unvalidatedConvert() local
995 .inputIndexes = std::move(inputIndexes), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp106 hidl_vec<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
108 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
109 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
157 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
158 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
DGeneratedTestHarness.cpp118 .inputIndexes = testModel.main.inputIndexes, in createModel()
DBasicTests.cpp149 .inputIndexes = {0, 1, 2}, in TEST_P()
DValidateModel.cpp221 size += sizeForBinder(model.inputIndexes); in sizeForBinder()
472 hidl_vec_remove(&model->inputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
490 hidl_vec_push_back(&model->inputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
813 removeValueAndDecrementGreaterValues(&model->inputIndexes, index); in removeOperand()
896 hidl_vec_push_back(&model->inputIndexes, index); in addOperationInputTest()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp201 std::vector<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
203 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
204 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
262 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
263 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
DGeneratedTestHarness.cpp179 kTestModel.main.operands[kTestModel.main.inputIndexes[index]].data; in allocateInternal()
269 .inputIndexes = utils::toSigned(testSubgraph.inputIndexes).value(), in createSubgraph()
407 std::vector<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
409 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
410 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
508 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
510 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
DMemoryDomainTests.cpp145 model.main.inputIndexes.push_back(inputIndex); in createConvModel()
185 .inputIndexes = {0, 1, 2}, in createSingleAddModel()
649 const std::vector<int32_t>& inputIndexes, in allocateBuffer() argument
656 std::vector<BufferRole> inputRoles(inputIndexes.size()), outputRoles(outputIndexes.size()); in allocateBuffer()
660 std::transform(inputIndexes.begin(), inputIndexes.end(), inputRoles.begin(), trans); in allocateBuffer()
688 const std::vector<int32_t>& inputIndexes, in allocateBuffer() argument
690 return allocateBuffer(preparedModel, inputIndexes, outputIndexes, {}); in allocateBuffer()
DBasicTests.cpp156 .inputIndexes = {0, 1, 2}, in TEST_P()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DSubgraph.aidl39 int[] inputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DSubgraph.aidl39 int[] inputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DSubgraph.aidl39 int[] inputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DSubgraph.aidl39 int[] inputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DSubgraph.aidl39 int[] inputIndexes;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DSubgraph.aidl43 int[] inputIndexes;
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp118 .inputIndexes = model.inputIndexes, in unvalidatedConvert()
246 .inputIndexes = model.main.inputIndexes, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp125 .inputIndexes = testModel.main.inputIndexes, in createModel()
DBasicTests.cpp156 .inputIndexes = {0, 1, 2}, in TEST_P()
DValidateModel.cpp240 size += sizeForBinder(model.inputIndexes); in sizeForBinder()
498 hidl_vec_remove(&model->inputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
516 hidl_vec_push_back(&model->inputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
853 removeValueAndDecrementGreaterValues(&model->inputIndexes, index); in removeOperand()
939 hidl_vec_push_back(&model->inputIndexes, index); in addOperationInputTest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp162 kTestModel.main.operands[kTestModel.main.inputIndexes[index]].data; in allocateInternal()
253 .inputIndexes = testSubgraph.inputIndexes, in createSubgraph()
372 hidl_vec<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
374 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
375 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
458 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
460 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
DMemoryDomainTests.cpp143 model.main.inputIndexes.push_back(inputIndex); in createConvModel()
183 .inputIndexes = {0, 1, 2}, in createSingleAddModel()
623 const std::vector<uint32_t>& inputIndexes, in allocateBuffer() argument
630 hidl_vec<BufferRole> inputRoles(inputIndexes.size()), outputRoles(outputIndexes.size()); in allocateBuffer()
634 std::transform(inputIndexes.begin(), inputIndexes.end(), inputRoles.begin(), trans); in allocateBuffer()
659 const std::vector<uint32_t>& inputIndexes, in allocateBuffer() argument
661 return allocateBuffer(preparedModel, inputIndexes, outputIndexes, {}); in allocateBuffer()
DBasicTests.cpp171 .inputIndexes = {0, 1, 2}, in TEST_P()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp210 .inputIndexes = model.inputIndexes, in unvalidatedConvert()
514 .inputIndexes = model.main.inputIndexes, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp311 .inputIndexes = model.inputIndexes, in unvalidatedConvert()
599 .inputIndexes = model.main.inputIndexes, in unvalidatedConvert()

12