Home
last modified time | relevance | path

Searched refs:outputCount (Results 1 – 19 of 19) sorted by relevance

/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp159 const uint32_t* inputIndexes, uint32_t outputCount, in OperationValidationContext() argument
164 outputCount(outputCount), in OperationValidationContext()
186 uint32_t outputCount; member in android::nn::__anonf2f7c8770111::OperationValidationContext
201 CHECK(index < static_cast<uint32_t>(outputCount)); in getOutputOperand()
210 return outputCount; in getNumOutputs()
585 static bool validateIfOperation(uint32_t inputCount, const uint32_t* inputs, uint32_t outputCount, in validateIfOperation() argument
591 NN_RET_CHECK_GE(outputCount, 1u) << "ANEURALNETWORKS_IF must have at least 1 output"; in validateIfOperation()
598 NN_RET_CHECK_EQ(outputCount, branchModelOutputCount); in validateIfOperation()
629 uint32_t outputCount, const uint32_t* outputs, in validateWhileOperation() argument
643 NN_RET_CHECK_GE(outputCount, 1u) << "ANEURALNETWORKS_WHILE must have at least 1 output"; in validateWhileOperation()
[all …]
DLegacyHalUtils.cpp205 const uint32_t* inputIndexes, uint32_t outputCount, in validateOperation() argument
213 return validateOperation(opType, inputCount, inputIndexes, outputCount, outputIndexes, operands, in validateOperation()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.h56 uint32_t outputCount, const uint32_t* outputs);
57 int identifyInputsAndOutputs(uint32_t inputCount, const uint32_t* inputs, uint32_t outputCount,
88 uint32_t outputCount() const { return static_cast<uint32_t>(mOutputIndexes.size()); } in outputCount() function
DModelBuilder.cpp363 const uint32_t* inputs, uint32_t outputCount, in addOperation() argument
402 NN_VALIDATE_NULL_OR_SIZED("addOperation", outputs, outputCount); in addOperation()
406 .outputs = makeVector(outputs, outputCount), in addOperation()
431 uint32_t outputCount, const uint32_t* outputs) { in identifyInputsAndOutputs() argument
443 NN_VALIDATE_NULL_OR_SIZED("identifyInputsAndOutputs", outputs, outputCount); in identifyInputsAndOutputs()
444 if (auto result = validateOperandList(makeVector(outputs, outputCount), operandCount(), in identifyInputsAndOutputs()
481 !setArguments(&mOutputIndexes, outputCount, outputs, Operand::LifeTime::SUBGRAPH_OUTPUT)) { in identifyInputsAndOutputs()
DCompilationBuilder.cpp336 if (index >= mModel->outputCount()) { in getPreferredMemoryAlignmentForOutput()
359 if (index >= mModel->outputCount()) { in getPreferredMemoryPaddingForOutput()
433 if (index >= mModel->outputCount()) { in forEachStepRoleOfOutput()
DExecutionBuilder.cpp66 NN_RET_CHECK(shapes.size() == 0 || shapes.size() == model->outputCount()) in validateOutputShapesFromDriver()
68 << " output shapes vector must be empty or of length " << model->outputCount() in validateOutputShapesFromDriver()
76 for (uint32_t outputIndex = 0, outputCount = shapes.size(); outputIndex < outputCount; in validateOutputShapesFromDriver() local
88 NN_RET_CHECK(shapes.size() == model->outputCount()) in validateOutputShapesFromDriver()
90 << " output shapes vector must be of length " << model->outputCount() in validateOutputShapesFromDriver()
159 mOutputs(mModel->outputCount()) { in ExecutionBuilder()
1280 for (uint32_t i = 0, e = mModel->outputCount(); i < e; i++) { in updateOutputShapes()
1371 mOutputs(model->outputCount()), in StepExecutor()
DExecutionPlan.cpp580 const uint32_t outputCount = static_cast<uint32_t>(operation.outputs.size()); in addOperation() local
582 std::vector<uint32_t> outputs(outputCount); in addOperation()
586 outputCount, outputs.data()); in addOperation()
824 for (uint32_t i = 0, n = mainModel->outputCount(); i < n; ++i) { in finishStepModel()
997 for (uint32_t i = 0, n = mainModel->outputCount(); i < n; ++i) { in finish()
2050 CHECK_LT(index, mainModel->outputCount()); in getOutputSourceOperand()
2316 for (uint32_t i = 0, n = thenModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal()
2325 for (uint32_t i = 0, n = elseModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal()
2384 for (uint32_t i = 0, n = bodyModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal()
DTelemetry.cpp116 for (size_t i = 0; i < m->outputCount(); i++) { in evalOutputDataClass()
DNeuralNetworksV2.cpp1145 const uint32_t* inputs, uint32_t outputCount, in ANeuralNetworksModel_addOperation() argument
1153 return m->addOperation(type, inputCount, inputs, outputCount, outputs); in ANeuralNetworksModel_addOperation()
1170 const uint32_t* inputs, uint32_t outputCount, in ANeuralNetworksModel_identifyInputsAndOutputs() argument
1178 return m->identifyInputsAndOutputs(inputCount, inputs, outputCount, outputs); in ANeuralNetworksModel_identifyInputsAndOutputs()
DNeuralNetworks.cpp1190 const uint32_t* inputs, uint32_t outputCount, in ANeuralNetworksModel_addOperation() argument
1198 return m->addOperation(type, inputCount, inputs, outputCount, outputs); in ANeuralNetworksModel_addOperation()
1215 const uint32_t* inputs, uint32_t outputCount, in ANeuralNetworksModel_identifyInputsAndOutputs() argument
1223 return m->identifyInputsAndOutputs(inputCount, inputs, outputCount, outputs); in ANeuralNetworksModel_identifyInputsAndOutputs()
DMemory.cpp353 if (index >= model->outputCount()) { in addRole()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioningRandom.cpp172 uint32_t outputCount() const { return builder()->outputCount(); } in outputCount() function in android::__anon4ae2a5140111::TestModel
448 const uint32_t outputCount = stats.mBuilder->outputCount(); in operator <<() local
452 << ", outputCount = " << outputCount << " (" << (double(outputCount) / operandCount) in operator <<()
968 for (uint32_t outputIdx = 0, outputCount = outputs.size(); outputIdx < outputCount; in TEST_P() local
1285 std::vector<InputOutputDescriptor> ioDescriptors(model.inputCount() + model.outputCount()); in TEST_P()
1356 CHECK(outputIndex == model.outputCount()); in TEST_P()
1365 std::vector<float> nonPartitionedOutputs(problemSize * problemSize * model.outputCount()); in TEST_P()
DTestPartitioning.cpp1382 modelA->outputCount() != modelB->outputCount()) { in compare()
1403 for (uint32_t i = 0, e = modelA->outputCount(); i < e; i++) { in compare()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworks.h1278 const uint32_t* inputs, uint32_t outputCount,
1310 const uint32_t* inputs, uint32_t outputCount,
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h1109 const uint32_t* inputs, uint32_t outputCount,
1177 uint32_t outputCount,
/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h240 const uint32_t* inputIndexes, uint32_t outputCount,
/packages/modules/NeuralNetworks/extensions/
DREADME.md153 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...