Lines Matching refs:modelOperand
455 auto isValidSubgraphReference = [&canonicalSubgraphs](const Operand& modelOperand) -> bool { in validateOperations() argument
456 NN_RET_CHECK(modelOperand.type == OperandType::SUBGRAPH) in validateOperations()
457 << "Unexpected operand type: " << modelOperand.type; in validateOperations()
458 NN_RET_CHECK_LT(modelOperand.location.offset, canonicalSubgraphs.size()) in validateOperations()
463 [&canonicalSubgraphs](const Operand& modelOperand) -> const Model::Subgraph* { in validateOperations() argument
464 CHECK_LT(modelOperand.location.offset, canonicalSubgraphs.size()); in validateOperations()
465 return &canonicalSubgraphs[modelOperand.location.offset]; in validateOperations()
467 auto getInputCount = [&getSubgraph](const Operand& modelOperand) -> uint32_t { in validateOperations() argument
468 return getSubgraph(modelOperand)->inputIndexes.size(); in validateOperations()
470 auto getOutputCount = [&getSubgraph](const Operand& modelOperand) -> uint32_t { in validateOperations() argument
471 return getSubgraph(modelOperand)->outputIndexes.size(); in validateOperations()
473 auto getInputOperand = [&getSubgraph](const Operand& modelOperand, in validateOperations()
475 const Model::Subgraph& subgraph = *getSubgraph(modelOperand); in validateOperations()
479 auto getOutputOperand = [&getSubgraph](const Operand& modelOperand, in validateOperations() argument
481 const Model::Subgraph& subgraph = *getSubgraph(modelOperand); in validateOperations()