Home
last modified time | relevance | path

Searched refs:numberOfConsumers (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DBasicTests.cpp82 .numberOfConsumers = 2, in TEST_P()
92 .numberOfConsumers = 1, in TEST_P()
102 .numberOfConsumers = 3, in TEST_P()
112 .numberOfConsumers = 1, in TEST_P()
122 .numberOfConsumers = 2, in TEST_P()
132 .numberOfConsumers = 0, in TEST_P()
DGeneratedTestHarness.cpp66 .numberOfConsumers = op.numberOfConsumers, in createModel()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp89 .numberOfConsumers = 2, in TEST_P()
99 .numberOfConsumers = 1, in TEST_P()
109 .numberOfConsumers = 3, in TEST_P()
119 .numberOfConsumers = 1, in TEST_P()
129 .numberOfConsumers = 2, in TEST_P()
139 .numberOfConsumers = 0, in TEST_P()
DValidateModel.cpp99 .numberOfConsumers = 0, in addOperand()
109 model->operands[index].numberOfConsumers = 1; in addOperand()
194 size += sizeForBinder(operand.numberOfConsumers); in sizeForBinder()
301 if (model.operands[output].numberOfConsumers > 0) { in mutateExecutionOrderTest()
596 static std::vector<uint32_t> getInvalidNumberOfConsumers(uint32_t numberOfConsumers) { in getInvalidNumberOfConsumers() argument
597 if (numberOfConsumers == 0) { in getInvalidNumberOfConsumers()
600 return {numberOfConsumers - 1, numberOfConsumers + 1}; in getInvalidNumberOfConsumers()
608 getInvalidNumberOfConsumers(model.operands[operand].numberOfConsumers); in mutateOperandNumberOfConsumersTest()
615 model->operands[operand].numberOfConsumers = invalidNumberOfConsumers; in mutateOperandNumberOfConsumersTest()
639 ++model->operands[input].numberOfConsumers; in mutateOperandAddWriterTest()
[all …]
DGeneratedTestHarness.cpp73 .numberOfConsumers = op.numberOfConsumers, in createModel()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp102 const auto numberOfConsumers = in unvalidatedConvert() local
104 CHECK(model.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
106 if (model.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()
109 << numberOfConsumers[i] << " but found " << model.operands[i].numberOfConsumers; in unvalidatedConvert()
225 const auto numberOfConsumers = in unvalidatedConvert() local
227 CHECK(operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
229 operands[i].numberOfConsumers = numberOfConsumers[i]; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp104 .numberOfConsumers = 2, in TEST_P()
114 .numberOfConsumers = 1, in TEST_P()
124 .numberOfConsumers = 3, in TEST_P()
134 .numberOfConsumers = 1, in TEST_P()
144 .numberOfConsumers = 2, in TEST_P()
154 .numberOfConsumers = 0, in TEST_P()
DGeneratedTestHarness.cpp234 .numberOfConsumers = op.numberOfConsumers, in createSubgraph()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp163 .numberOfConsumers = 2, in TEST_P()
173 .numberOfConsumers = 1, in TEST_P()
183 .numberOfConsumers = 3, in TEST_P()
193 .numberOfConsumers = 1, in TEST_P()
203 .numberOfConsumers = 2, in TEST_P()
213 .numberOfConsumers = 0, in TEST_P()
DValidateModel.cpp100 .numberOfConsumers = 0, in addOperand()
110 model->operands[index].numberOfConsumers = 1; in addOperand()
221 size += sizeForBinder(operand.numberOfConsumers); in sizeForBinder()
340 if (model.operands[output].numberOfConsumers > 0) { in mutateExecutionOrderTest()
665 static std::vector<uint32_t> getInvalidNumberOfConsumers(uint32_t numberOfConsumers) { in getInvalidNumberOfConsumers() argument
666 if (numberOfConsumers == 0) { in getInvalidNumberOfConsumers()
669 return {numberOfConsumers - 1, numberOfConsumers + 1}; in getInvalidNumberOfConsumers()
676 getInvalidNumberOfConsumers(model.operands[operand].numberOfConsumers); in mutateOperandNumberOfConsumersTest()
683 model->operands[operand].numberOfConsumers = invalidNumberOfConsumers; in mutateOperandNumberOfConsumersTest()
707 ++model->operands[input].numberOfConsumers; in mutateOperandAddWriterTest()
[all …]
DGeneratedTestHarness.cpp105 .numberOfConsumers = op.numberOfConsumers, in createModel()
DCompilationCachingTests.cpp127 .numberOfConsumers = len, in createLargeTestModelImpl()
163 .numberOfConsumers = 1, in createLargeTestModelImpl()
175 .numberOfConsumers = 1, in createLargeTestModelImpl()
201 .numberOfConsumers = 0, in createLargeTestModelImpl()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp157 const auto numberOfConsumers = in unvalidatedConvert() local
159 CHECK(model.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
161 if (model.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()
164 << numberOfConsumers[i] << " but found " << model.operands[i].numberOfConsumers; in unvalidatedConvert()
314 .numberOfConsumers = 0, in unvalidatedConvert()
348 const auto numberOfConsumers = in unvalidatedConvert() local
350 CHECK(operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
352 operands[i].numberOfConsumers = numberOfConsumers[i]; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp190 const auto numberOfConsumers = in unvalidatedConvert() local
192 CHECK(model.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
194 if (model.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()
197 << numberOfConsumers[i] << " but found " << model.operands[i].numberOfConsumers; in unvalidatedConvert()
461 .numberOfConsumers = 0, in unvalidatedConvert()
484 const auto numberOfConsumers = in unvalidatedConvert() local
486 CHECK(operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
488 operands[i].numberOfConsumers = numberOfConsumers[i]; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp197 const auto numberOfConsumers = in unvalidatedConvert() local
199 CHECK(subgraph.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
201 if (subgraph.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()
204 << numberOfConsumers[i] << " but found " in unvalidatedConvert()
205 << subgraph.operands[i].numberOfConsumers; in unvalidatedConvert()
517 .numberOfConsumers = 0, in unvalidatedConvert()
546 const auto numberOfConsumers = in unvalidatedConvert() local
548 CHECK(operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
550 operands[i].numberOfConsumers = numberOfConsumers[i]; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp343 const std::vector<uint32_t>& numberOfConsumers) { in mutateExecutionOrderTest() argument
366 if (numberOfConsumers[output] > 0) { in mutateExecutionOrderTest()
996 const std::vector<uint32_t>& numberOfConsumers) { in mutateOperationRemoveWriteTest() argument
1001 if (numberOfConsumers[outputOperandIndex] > 0) { in mutateOperationRemoveWriteTest()
1048 const std::vector<uint32_t>& numberOfConsumers) { in removeOperandSkip() argument
1049 if (numberOfConsumers[operandIndex] == 0) { in removeOperandSkip()
1084 const std::vector<uint32_t>& numberOfConsumers) { in removeOperandTest() argument
1086 if (removeOperandSkip(operand, model, numberOfConsumers)) { in removeOperandTest()
1317 const auto numberOfConsumers = in validateModel() local
1321 mutateExecutionOrderTest(device, model, numberOfConsumers); in validateModel()
[all …]
DMemoryDomainTests.cpp91 .numberOfConsumers = 1, in createInt32Scalar()
107 .numberOfConsumers = 1, in createConvModel()
115 .numberOfConsumers = 1, in createConvModel()
121 output.numberOfConsumers = 0; in createConvModel()
162 .numberOfConsumers = 1, in createSingleAddModel()
169 output.numberOfConsumers = 0; in createSingleAddModel()
271 .numberOfConsumers = 1,
280 .numberOfConsumers = 1,
289 .numberOfConsumers = 1,
298 .numberOfConsumers = 1,
DCompilationCachingTests.cpp125 .numberOfConsumers = len, in createLargeTestModelImpl()
161 .numberOfConsumers = 1, in createLargeTestModelImpl()
173 .numberOfConsumers = 1, in createLargeTestModelImpl()
199 .numberOfConsumers = 0, in createLargeTestModelImpl()
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal1641 * then numberOfConsumers = 4.)
1643 uint32_t numberOfConsumers;
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal4851 * then numberOfConsumers = 4.)
4853 uint32_t numberOfConsumers;
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal5539 * then numberOfConsumers = 4.)
5541 uint32_t numberOfConsumers;