Home
last modified time | relevance | path

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

12

/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()
DValidateModel.cpp279 size += sizeForBinder(model.outputIndexes); in sizeForBinder()
573 hidl_vec_remove(&model->outputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
590 hidl_vec_push_back(&model->outputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
997 removeValueAndDecrementGreaterValues(&model->outputIndexes, index); in removeOperand()
1200 hidl_vec_push_back(&model->outputIndexes, index); in addOperationOutputTest()
DBasicTests.cpp231 .outputIndexes = {5}, in TEST_P()
/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/current/android/hardware/neuralnetworks/
DSubgraph.aidl40 int[] outputIndexes;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DSubgraph.aidl49 int[] outputIndexes;
/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 …]
DQualityOfServiceTests.cpp252 outputShapes.size() == testModel.main.outputIndexes.size()); in runExecutionTest()
257 const auto& expect = testModel.main.operands[testModel.main.outputIndexes[i]].dimensions; in runExecutionTest()
DBasicTests.cpp172 .outputIndexes = {5}, in TEST_P()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp227 .outputIndexes = utils::toSigned(testSubgraph.outputIndexes).value()}; in createSubgraph()
298 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
311 for (auto i : model->main.outputIndexes) { in makeOutputDimensionsUnspecified()
393 std::vector<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
395 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
396 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
483 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in getOutputBuffers()
517 return std::any_of(testModel.main.outputIndexes.begin(), testModel.main.outputIndexes.end(), in hasZeroSizedOutput()
705 outputShapes.size() == testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
716 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
[all …]
DUtils.cpp201 std::vector<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
203 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
204 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()
623 const std::vector<int32_t>& outputIndexes, in allocateBuffer() argument
629 std::vector<BufferRole> inputRoles(inputIndexes.size()), outputRoles(outputIndexes.size()); in allocateBuffer()
634 std::transform(outputIndexes.begin(), outputIndexes.end(), outputRoles.begin(), trans); in allocateBuffer()
662 const std::vector<int32_t>& outputIndexes) { in allocateBuffer() argument
663 return allocateBuffer(preparedModel, inputIndexes, outputIndexes, {}); in allocateBuffer()
DBasicTests.cpp157 .outputIndexes = {5}, in TEST_P()
DValidateModel.cpp283 size += sizeForBinder(subgraph.outputIndexes); in sizeForBinder()
605 auto& outputs = model->main.outputIndexes; in mutateOperandLifeTimeTest()
624 model->main.outputIndexes.push_back(operand); in mutateOperandLifeTimeTest()
1044 removeValueAndDecrementGreaterValues(&model->main.outputIndexes, index); in removeOperand()
1271 model->main.outputIndexes.push_back(index); in addOperationOutputTest()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp117 .outputIndexes = model.outputIndexes, in unvalidatedConvert()
236 .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()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp172 .outputIndexes = model.outputIndexes, in unvalidatedConvert()
359 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp126 .outputIndexes = testModel.main.outputIndexes, in createModel()
DBasicTests.cpp157 .outputIndexes = {5}, in TEST_P()
DValidateModel.cpp241 size += sizeForBinder(model.outputIndexes); in sizeForBinder()
504 hidl_vec_remove(&model->outputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
521 hidl_vec_push_back(&model->outputIndexes, uint32_t(operand)); in mutateOperandLifeTimeTest()
856 removeValueAndDecrementGreaterValues(&model->outputIndexes, index); in removeOperand()
955 hidl_vec_push_back(&model->outputIndexes, index); in addOperationOutputTest()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp205 .outputIndexes = model.outputIndexes, in unvalidatedConvert()
495 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp213 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert()
557 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert()

12