| 46 | } // namesapce |
| 47 | |
| 48 | void 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 | |
| 57 | void MarkEmbeddingGraph(Graph* g, int num_streams) { |
| 58 | bool train_graph = false; |
no test coverage detected