Searched refs:refModel (Results 1 – 2 of 2) sorted by relevance
161 Model* refModel = &refModels[refIndex]; local163 if (!refModel->isFinished()) {165 memory, memoryOffset, refModel, refModels);166 ASSERT_EQ(refModel->finish(), Result::NO_ERROR);167 ASSERT_TRUE(refModel->isValid());169 model->setOperandValueFromModel(index, refModel);
905 uint32_t addSubgraph(const ModelBuilder* refModel);906 void updateOperandLocations(const ModelBuilder* refModel, Model::Subgraph* subgraph);959 void ModelBuilder::ModelMaker::updateOperandLocations(const ModelBuilder* refModel, in updateOperandLocations() argument965 operand.location = mOperandValues.append(&refModel->mSmallOperandValues[originalOffset], in updateOperandLocations()969 operand.location.poolIndex = mMemories.add(refModel->mMemories[originalPoolIndex]); in updateOperandLocations()978 operand.location.offset = addSubgraph(refModel->mReferencedModels[refModelIndex]); in updateOperandLocations()983 uint32_t ModelBuilder::ModelMaker::addSubgraph(const ModelBuilder* refModel) { in addSubgraph() argument985 mRefSubgraphs.push_back(makeSubgraph(refModel)); in addSubgraph()986 updateOperandLocations(refModel, &mRefSubgraphs.back()); in addSubgraph()1001 for (const auto& refModel : model->mReferencedModels) { in addExtensions() local[all …]