MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GenerateIdsForFeatures

Method GenerateIdsForFeatures

serving/processor/framework/graph_optimizer.cc:1788–1797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1786}
1787
1788Status SavedModelOptimizer::GenerateIdsForFeatures() {
1789 int id = 0;
1790 for (Node* node : graph_.nodes()) {
1791 if (node->op_def().name() == "KvVarHandleOp") {
1792 feature_names_to_ids[node->name()] = id++;
1793 }
1794 }
1795
1796 return Status::OK();
1797}
1798
1799Status SavedModelOptimizer::AddFullAndDeltaUpdateSubGraph() {
1800 return Status::OK();

Callers

nothing calls this directly

Calls 3

nameMethod · 0.65
nodesMethod · 0.45
op_defMethod · 0.45

Tested by

no test coverage detected