/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | ValidateHal.cpp | 74 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()
|
D | Conversions.cpp | 316 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/ |
D | GeneratedTestHarness.cpp | 159 .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/ |
D | GeneratedTestHarness.cpp | 254 .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 …]
|
D | MemoryDomainTests.cpp | 144 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()
|
D | QualityOfServiceTests.cpp | 252 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/ |
D | Subgraph.aidl | 40 int[] outputIndexes;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/ |
D | Subgraph.aidl | 40 int[] outputIndexes;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | Subgraph.aidl | 40 int[] outputIndexes;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/ |
D | Subgraph.aidl | 40 int[] outputIndexes;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | Subgraph.aidl | 40 int[] outputIndexes;
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | Subgraph.aidl | 49 int[] outputIndexes;
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | GeneratedTestHarness.cpp | 270 .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 …]
|
D | Utils.cpp | 218 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()
|
D | QualityOfServiceTests.cpp | 258 outputShapes.size() == testModel.main.outputIndexes.size()); in runExecutionTest() 264 utils::toSigned(testModel.main.operands[testModel.main.outputIndexes[i]].dimensions) in runExecutionTest()
|
D | MemoryDomainTests.cpp | 146 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()
|
D | BasicTests.cpp | 157 .outputIndexes = {5}, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Conversions.cpp | 119 .outputIndexes = model.outputIndexes, in unvalidatedConvert() 247 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | Utils.cpp | 123 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()
|
D | GeneratedTestHarness.cpp | 119 .outputIndexes = testModel.main.outputIndexes, in createModel()
|
D | BasicTests.cpp | 150 .outputIndexes = {5}, in TEST_P()
|
D | ValidateModel.cpp | 222 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/ |
D | GeneratedTestHarness.cpp | 126 .outputIndexes = testModel.main.outputIndexes, in createModel()
|
D | BasicTests.cpp | 157 .outputIndexes = {5}, in TEST_P()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Conversions.cpp | 211 .outputIndexes = model.outputIndexes, in unvalidatedConvert() 515 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()
|