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

Method Extend

tensorflow/core/graph/star_server_graph_partition.h:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 const GraphDef& GetGraphDef() const { return graph_def_; }
97
98 void Extend(const SubGraph &sub_graph) {
99 for (const Node* node : sub_graph.GetNodes()) {
100 if (loc_ == "") {
101 loc_ = sub_graph.GetLoc();
102 }
103 AddNode(node);
104 }
105 }
106
107 void SetGraphHandle(const std::string &handle) {
108 graph_handle_ = handle;

Callers 3

MergeReadyPsSubGraphsMethod · 0.45
SplitGraphInternalV2Method · 0.45
SplitGraphInternalMethod · 0.45

Calls 2

GetLocMethod · 0.80
AddNodeFunction · 0.70

Tested by

no test coverage detected