Lines Matching refs:subgraph
193 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph) { in unvalidatedConvert() argument
194 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()
198 NN_TRY(hal::utils::countNumberOfConsumers(subgraph.operands.size(), operations)); in unvalidatedConvert()
199 CHECK(subgraph.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()
200 for (size_t i = 0; i < subgraph.operands.size(); ++i) { in unvalidatedConvert()
201 if (subgraph.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()
205 << subgraph.operands[i].numberOfConsumers; in unvalidatedConvert()
210 .operands = NN_TRY(unvalidatedConvert(subgraph.operands)), in unvalidatedConvert()
212 .inputIndexes = subgraph.inputIndexes, in unvalidatedConvert()
213 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert()
542 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph) { in unvalidatedConvert() argument
543 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()
547 NN_TRY(hal::utils::countNumberOfConsumers(operands.size(), subgraph.operations)); in unvalidatedConvert()
555 .operations = NN_TRY(unvalidatedConvert(subgraph.operations)), in unvalidatedConvert()
556 .inputIndexes = subgraph.inputIndexes, in unvalidatedConvert()
557 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert()