Home
last modified time | relevance | path

Searched refs:outputIndexes (Results 1 – 25 of 45) sorted by relevance

12

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DValidateHal.cpp74 const auto& outputIndexes = model->main.outputIndexes; in validateMemoryDesc() local
76 NN_RET_CHECK_LT(static_cast<size_t>(role.ioIndex), outputIndexes.size()); in validateMemoryDesc()
81 operands.push_back(model->main.operands[outputIndexes[role.ioIndex]]); in validateMemoryDesc()
DConversions.cpp316 auto outputIndexes = NN_TRY(toUnsigned(subgraph.outputIndexes)); in unvalidatedConvert() local
321 .outputIndexes = std::move(outputIndexes), in unvalidatedConvert()
991 auto outputIndexes = NN_TRY(toSigned(subgraph.outputIndexes)); in unvalidatedConvert() local
996 .outputIndexes = std::move(outputIndexes), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp159 .outputIndexes = testModel.main.outputIndexes, in createModel()
166 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
177 for (auto i : model->outputIndexes) { in makeOutputDimensionsUnspecified()
307 outputShapes.size() == testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
313 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
317 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
325 const auto& expect = testModel.main.operands[testModel.main.outputIndexes[i]].dimensions; in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp254 .outputIndexes = testSubgraph.outputIndexes}; in createSubgraph()
320 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
331 for (auto i : model->main.outputIndexes) { in makeOutputDimensionsUnspecified()
402 hidl_vec<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
404 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
405 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
480 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in getOutputBuffers()
514 return std::any_of(testModel.main.outputIndexes.begin(), testModel.main.outputIndexes.end(), in hasZeroSizedOutput()
729 outputShapes.size() == testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
740 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
[all …]
DMemoryDomainTests.cpp144 model.main.outputIndexes.push_back(outputIndex); in createConvModel()
184 .outputIndexes = {3}, in createSingleAddModel()
624 const std::vector<uint32_t>& outputIndexes, in allocateBuffer() argument
630 hidl_vec<BufferRole> inputRoles(inputIndexes.size()), outputRoles(outputIndexes.size()); in allocateBuffer()
635 std::transform(outputIndexes.begin(), outputIndexes.end(), outputRoles.begin(), trans); in allocateBuffer()
660 const std::vector<uint32_t>& outputIndexes) { in allocateBuffer() argument
661 return allocateBuffer(preparedModel, inputIndexes, outputIndexes, {}); in allocateBuffer()
DQualityOfServiceTests.cpp252 outputShapes.size() == testModel.main.outputIndexes.size()); in runExecutionTest()
257 const auto& expect = testModel.main.operands[testModel.main.outputIndexes[i]].dimensions; in runExecutionTest()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DSubgraph.aidl40 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DSubgraph.aidl40 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DSubgraph.aidl40 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DSubgraph.aidl40 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DSubgraph.aidl40 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DSubgraph.aidl49 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp270 .outputIndexes = utils::toSigned(testSubgraph.outputIndexes).value()}; in createSubgraph()
345 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
358 for (auto i : model->main.outputIndexes) { in makeOutputDimensionsUnspecified()
440 std::vector<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
442 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
443 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
530 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in getOutputBuffers()
564 return std::any_of(testModel.main.outputIndexes.begin(), testModel.main.outputIndexes.end(), in hasZeroSizedOutput()
802 outputShapes.size() == testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
813 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
[all …]
DUtils.cpp218 std::vector<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
220 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
221 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
DQualityOfServiceTests.cpp258 outputShapes.size() == testModel.main.outputIndexes.size()); in runExecutionTest()
264 utils::toSigned(testModel.main.operands[testModel.main.outputIndexes[i]].dimensions) in runExecutionTest()
DMemoryDomainTests.cpp146 model.main.outputIndexes.push_back(outputIndex); in createConvModel()
186 .outputIndexes = {3}, in createSingleAddModel()
650 const std::vector<int32_t>& outputIndexes, in allocateBuffer() argument
656 std::vector<BufferRole> inputRoles(inputIndexes.size()), outputRoles(outputIndexes.size()); in allocateBuffer()
661 std::transform(outputIndexes.begin(), outputIndexes.end(), outputRoles.begin(), trans); in allocateBuffer()
689 const std::vector<int32_t>& outputIndexes) { in allocateBuffer() argument
690 return allocateBuffer(preparedModel, inputIndexes, outputIndexes, {}); in allocateBuffer()
DBasicTests.cpp157 .outputIndexes = {5}, in TEST_P()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp119 .outputIndexes = model.outputIndexes, in unvalidatedConvert()
247 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp123 hidl_vec<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
125 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
126 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
DGeneratedTestHarness.cpp119 .outputIndexes = testModel.main.outputIndexes, in createModel()
DBasicTests.cpp150 .outputIndexes = {5}, in TEST_P()
DValidateModel.cpp222 size += sizeForBinder(model.outputIndexes); in sizeForBinder()
476 hidl_vec_remove(&model->outputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
493 hidl_vec_push_back(&model->outputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
814 removeValueAndDecrementGreaterValues(&model->outputIndexes, index); in removeOperand()
910 hidl_vec_push_back(&model->outputIndexes, index); in addOperationOutputTest()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp126 .outputIndexes = testModel.main.outputIndexes, in createModel()
DBasicTests.cpp157 .outputIndexes = {5}, in TEST_P()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp211 .outputIndexes = model.outputIndexes, in unvalidatedConvert()
515 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()

12