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

Function ClusteringGraphDef

serving/processor/framework/graph_optimizer.cc:459–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459ClusteredGraphInfo ClusteringGraphDef(
460 const MetaGraphDef& mgdef,
461 CluteringStrategy* cluster_strategy) {
462 static StaticShapeCluteringStrategy static_strategy;
463 if (cluster_strategy == nullptr) {
464 cluster_strategy = &static_strategy;
465 }
466
467 ClusteredGraphInfo info;
468 cluster_strategy->Run(mgdef, &info);
469
470 return info;
471}
472
473ClusteredGraphInfo ClusteringGraphDef(
474 const std::string& tag,

Callers 1

mainFunction · 0.85

Calls 1

RunMethod · 0.45

Tested by 1

mainFunction · 0.68