Lines Matching refs:modelOperand
372 auto isValidSubgraphReference = [this](const Operand& modelOperand) -> bool { in addOperation() argument
373 NN_RET_CHECK(modelOperand.type == OperandType::SUBGRAPH) in addOperation()
374 << "Unexpected operand type: " << toString(modelOperand.type); in addOperation()
375 NN_RET_CHECK_LT(modelOperand.location.offset, referencedModelCount()) in addOperation()
379 auto getInputCount = [this](const Operand& modelOperand) -> uint32_t { in addOperation() argument
380 return getReferencedModel(modelOperand)->inputCount(); in addOperation()
382 auto getOutputCount = [this](const Operand& modelOperand) -> uint32_t { in addOperation() argument
383 return getReferencedModel(modelOperand)->outputCount(); in addOperation()
385 auto getInputOperand = [this](const Operand& modelOperand, uint32_t index) -> const Operand* { in addOperation() argument
386 return &getReferencedModel(modelOperand)->getInputOperand(index); in addOperation()
388 auto getOutputOperand = [this](const Operand& modelOperand, uint32_t index) -> const Operand* { in addOperation() argument
389 return &getReferencedModel(modelOperand)->getOutputOperand(index); in addOperation()