Searched refs:subgraph (Results 1 – 10 of 10) sorted by relevance
207 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph) { in unvalidatedConvert() argument208 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()212 NN_TRY(countNumberOfConsumers(subgraph.operands.size(), operations)); in unvalidatedConvert()213 CHECK(subgraph.operands.size() == numberOfConsumers.size()); in unvalidatedConvert()214 for (size_t i = 0; i < subgraph.operands.size(); ++i) { in unvalidatedConvert()215 if (subgraph.operands[i].numberOfConsumers != numberOfConsumers[i]) { in unvalidatedConvert()219 << subgraph.operands[i].numberOfConsumers; in unvalidatedConvert()223 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()227 .inputIndexes = subgraph.inputIndexes, in unvalidatedConvert()228 .outputIndexes = subgraph.outputIndexes, in unvalidatedConvert()[all …]
153 Subgraph subgraph = { in TEST_P() local160 .main = std::move(subgraph), in TEST_P()
306 size_t sizeForBinder(const Subgraph& subgraph) { in sizeForBinder() argument309 size += sizeForBinder(subgraph.operands); in sizeForBinder()310 size += sizeForBinder(subgraph.operations); in sizeForBinder()311 size += sizeForBinder(subgraph.inputIndexes); in sizeForBinder()312 size += sizeForBinder(subgraph.outputIndexes); in sizeForBinder()
168 Subgraph subgraph = { in TEST_P() local175 .main = std::move(subgraph), in TEST_P()
270 size_t sizeForBinder(const Subgraph& subgraph) { in sizeForBinder() argument273 size += sizeForBinder(subgraph.operands); in sizeForBinder()274 size += sizeForBinder(subgraph.operations); in sizeForBinder()275 size += sizeForBinder(subgraph.inputIndexes); in sizeForBinder()276 size += sizeForBinder(subgraph.outputIndexes); in sizeForBinder()
312 GeneralResult<Model::Subgraph> unvalidatedConvert(const aidl_hal::Subgraph& subgraph) { in unvalidatedConvert() argument313 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()314 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()315 auto inputIndexes = NN_TRY(toUnsigned(subgraph.inputIndexes)); in unvalidatedConvert()316 auto outputIndexes = NN_TRY(toUnsigned(subgraph.outputIndexes)); in unvalidatedConvert()987 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph) { in unvalidatedConvert() argument988 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()989 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()990 auto inputIndexes = NN_TRY(toSigned(subgraph.inputIndexes)); in unvalidatedConvert()991 auto outputIndexes = NN_TRY(toSigned(subgraph.outputIndexes)); in unvalidatedConvert()
39 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph);79 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph);
85 GeneralResult<Model::Subgraph> unvalidatedConvert(const aidl_hal::Subgraph& subgraph);168 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph);
45 * A reference to a subgraph.5119 * * 1: A {@link OperandType::SUBGRAPH} reference to the subgraph to be5121 * * 2: A {@link OperandType::SUBGRAPH} reference to the subgraph to be5123 * * 3 ~ (n + 2): Inputs to be passed to the subgraph selected for execution.5126 * * 0 ~ (m - 1): Outputs produced by the selected subgraph.5131 * Executes the body subgraph until the condition subgraph outputs false.5133 * The inputs to this operation are the condition subgraph, the body subgraph,5141 * Both the condition and body subgraph receive (m + k + n) inputs.5145 * corresponding outputs of the body subgraph produced during the previous5153 * The body subgraph produces (m + k) outputs.[all …]
54 * subgraph are fully supported by the vendor driver. If an operation may