Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DUtils.cpp197 const uint32_t* inputIndexes, uint32_t outputCount, in OperationValidationContext() argument
203 outputCount(outputCount), in OperationValidationContext()
227 uint32_t outputCount; member in android::nn::__anon8d54713c0111::OperationValidationContext
247 CHECK(index < static_cast<uint32_t>(outputCount)); in getOutputOperand()
256 return outputCount; in getNumOutputs()
730 static bool validateIfOperation(uint32_t inputCount, const uint32_t* inputs, uint32_t outputCount, in validateIfOperation() argument
736 NN_RET_CHECK_GE(outputCount, 1u) << "ANEURALNETWORKS_IF must have at least 1 output"; in validateIfOperation()
743 NN_RET_CHECK_EQ(outputCount, branchModelOutputCount); in validateIfOperation()
775 uint32_t outputCount, const uint32_t* outputs, in validateWhileOperation() argument
789 NN_RET_CHECK_GE(outputCount, 1u) << "ANEURALNETWORKS_WHILE must have at least 1 output"; in validateWhileOperation()
[all …]
/frameworks/ml/nn/runtime/
DModelBuilder.h55 uint32_t outputCount, const uint32_t* outputs);
56 int identifyInputsAndOutputs(uint32_t inputCount, const uint32_t* inputs, uint32_t outputCount,
86 uint32_t outputCount() const { return static_cast<uint32_t>(mOutputIndexes.size()); } in outputCount() function
DModelBuilder.cpp350 const uint32_t* inputs, uint32_t outputCount, in addOperation() argument
383 return getReferencedModel(modelOperand)->outputCount(); in addOperation()
392 type, inputCount, inputs, outputCount, outputs, mOperands, HalVersion::LATEST, in addOperation()
409 .outputs = hidl_vec<uint32_t>(outputs, outputs + outputCount), in addOperation()
421 uint32_t outputCount, const uint32_t* outputs) { in identifyInputsAndOutputs() argument
431 n = validateOperandList(outputCount, outputs, operandCount(), in identifyInputsAndOutputs()
467 !setArguments(&mOutputIndexes, outputCount, outputs, OperandLifeTime::SUBGRAPH_OUTPUT)) { in identifyInputsAndOutputs()
DCompilationBuilder.cpp241 if (index >= mModel->outputCount()) { in forEachStepRoleOfOutput()
DExecutionPlan.cpp329 const uint32_t outputCount = static_cast<uint32_t>(operation.outputs.size()); in addOperation() local
331 std::vector<uint32_t> outputs(outputCount); in addOperation()
335 outputCount, outputs.data()); in addOperation()
510 for (uint32_t i = 0, n = mainModel->outputCount(); i < n; ++i) { in finishStepModel()
670 for (uint32_t i = 0, n = mainModel->outputCount(); i < n; ++i) { in finish()
1768 for (uint32_t i = 0, n = thenModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal()
1777 for (uint32_t i = 0, n = elseModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal()
1836 for (uint32_t i = 0, n = bodyModel->outputCount(); i < n; ++i) { in partitionTheWorkInternal()
DNeuralNetworks.cpp1113 const uint32_t* inputs, uint32_t outputCount, in ANeuralNetworksModel_addOperation() argument
1121 return m->addOperation(type, inputCount, inputs, outputCount, outputs); in ANeuralNetworksModel_addOperation()
1138 const uint32_t* inputs, uint32_t outputCount, in ANeuralNetworksModel_identifyInputsAndOutputs() argument
1146 return m->identifyInputsAndOutputs(inputCount, inputs, outputCount, outputs); in ANeuralNetworksModel_identifyInputsAndOutputs()
DExecutionBuilder.cpp96 mOutputs(mModel->outputCount()) { in ExecutionBuilder()
987 mOutputs(model->outputCount()) { in StepExecutor()
DMemory.cpp360 if (index >= model->outputCount()) { in addRole()
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp159 uint32_t outputCount() const { return builder()->outputCount(); } in outputCount() function in android::__anonbe695bce0111::TestModel
435 const uint32_t outputCount = stats.mBuilder->outputCount(); in operator <<() local
439 << ", outputCount = " << outputCount << " (" << (double(outputCount) / operandCount) in operator <<()
1046 for (uint32_t outputIdx = 0, outputCount = outputs.size(); outputIdx < outputCount; in TEST_P() local
1271 std::vector<InputOutputDescriptor> ioDescriptors(model.inputCount() + model.outputCount()); in TEST_P()
1342 CHECK(outputIndex == model.outputCount()); in TEST_P()
1351 std::vector<float> nonPartitionedOutputs(problemSize * problemSize * model.outputCount()); in TEST_P()
DTestPartitioning.cpp1248 modelA->outputCount() != modelB->outputCount()) { in compare()
1269 for (uint32_t i = 0, e = modelA->outputCount(); i < e; i++) { in compare()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h7376 const uint32_t* inputs, uint32_t outputCount,
7404 const uint32_t* inputs, uint32_t outputCount,
/frameworks/base/core/jni/android/opengl/
Dutil.cpp471 int outputCount; in util_frustumCullSpheres() local
493 outputCount = 0; in util_frustumCullSpheres()
496 if (outputCount < resultsCapacity) { in util_frustumCullSpheres()
499 outputCount++; in util_frustumCullSpheres()
503 return outputCount; in util_frustumCullSpheres()
/frameworks/ml/nn/extensions/
DREADME.md153 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
/frameworks/ml/nn/common/include/
DUtils.h407 const uint32_t* inputIndexes, uint32_t outputCount,
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t1785 * @param outputCount The number of entries in the outputs array.
1802 const uint32_t* inputs, uint32_t outputCount,
1815 * @param outputCount The number of entries in the outputs array.
1830 const uint32_t* inputs, uint32_t outputCount,