Searched refs:refModel (Results 1 – 2 of 2) sorted by relevance
160 Model* refModel = &refModels[refIndex]; local162 if (!refModel->isFinished()) {164 memory, memoryOffset, refModel, refModels);165 ASSERT_EQ(refModel->finish(), Result::NO_ERROR);166 ASSERT_TRUE(refModel->isValid());168 model->setOperandValueFromModel(index, refModel);
875 uint32_t addSubgraph(const ModelBuilder* refModel);876 void updateOperandLocations(const ModelBuilder* refModel, Model::Subgraph* subgraph);921 void ModelBuilder::ModelMaker::updateOperandLocations(const ModelBuilder* refModel, in updateOperandLocations() argument927 operand.location = mOperandValues.append(&refModel->mSmallOperandValues[originalOffset], in updateOperandLocations()931 operand.location.poolIndex = mMemories.add(refModel->mMemories[originalPoolIndex]); in updateOperandLocations()940 operand.location.offset = addSubgraph(refModel->mReferencedModels[refModelIndex]); in updateOperandLocations()945 uint32_t ModelBuilder::ModelMaker::addSubgraph(const ModelBuilder* refModel) { in addSubgraph() argument947 mRefSubgraphs.push_back(makeSubgraph(refModel)); in addSubgraph()948 updateOperandLocations(refModel, &mRefSubgraphs.back()); in addSubgraph()963 for (const auto& refModel : model->mReferencedModels) { in addExtensions() local[all …]