Lines Matching refs:Model

79 std::vector<bool> identifyUsedOperands(const Model& model) {  in identifyUsedOperands()
95 void identifyUsedSubgraphs(uint32_t current, const std::vector<Model::Subgraph>& subgraphs,
102 const std::vector<Model::Subgraph>& subgraphs, std::vector<bool>* used) { in identifyUsedSubgraphs()
116 void identifyUsedSubgraphs(uint32_t current, const std::vector<Model::Subgraph>& subgraphs, in identifyUsedSubgraphs()
134 std::vector<bool> identifyUsedSubgraphs(const Model& model) { in identifyUsedSubgraphs()
144 void identifyUsedPools(const Model::Subgraph& subgraph, std::vector<bool>* used) { in identifyUsedPools()
155 std::vector<bool> identifyUsedPools(const Model& model) { in identifyUsedPools()
168 void fixOperandDataLocation(Operand* operand, Model::OperandValues* newOperandValues, in fixOperandDataLocation()
169 const Model::OperandValues& oldOperandValues, in fixOperandDataLocation()
202 void fixOperandDataLocations(std::vector<Operand>* operands, Model::OperandValues* newOperandValues, in fixOperandDataLocations()
203 const Model::OperandValues& oldOperandValues, in fixOperandDataLocations()
215 void fixOperandDataLocations(Model* model, const std::vector<uint32_t>& remappedPoolIndex, in fixOperandDataLocations()
217 const auto operandValues = std::exchange(model->operandValues, Model::OperandValues{}); in fixOperandDataLocations()
228 std::vector<bool> identifyUsedExtensions(const Model& model) { in identifyUsedExtensions()
237 const auto collectPrefixes = [collectPrefix](const Model::Subgraph& subgraph) { in identifyUsedExtensions()
258 void removeDeadOperands(Model* model) { in removeDeadOperands()