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

Function MarkStreamSubGraph

tensorflow/core/graph/stream_subgraph.cc:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46} // namesapce
47
48void MarkStreamSubGraph(Graph* g, const MultiStreamOptions& opt) {
49 int num_streams = opt.multi_stream_num();
50 MultiStreamPartitionPolicy policy = opt.partition_policy();
51
52 if (policy == MultiStreamPartitionPolicy::EMBEDDING_GRAPH_PARTITION) {
53 MarkEmbeddingGraph(g, num_streams);
54 }
55}
56
57void MarkEmbeddingGraph(Graph* g, int num_streams) {
58 bool train_graph = false;

Callers 1

CreateGraphsMethod · 0.85

Calls 1

MarkEmbeddingGraphFunction · 0.85

Tested by

no test coverage detected