e7679cf2e69ac48cc0c685ad2bf0d87b9cac913b,python/dgl/graph.py,DGLGraph,line_graph,#DGLGraph#Any#Any#,1256
Before Change
DGLGraph
The line graph of this graph.
return DGLGraph(self._graph.line_graph(backtracking, sorted))
def _get_repr(attr_dict):
if len(attr_dict) == 1 and __REPR__ in attr_dict:
return attr_dict[__REPR__]
After Change
graph_data = self._graph.line_graph(backtracking)
node_frame = self._edge_frame if shared else None
return DGLGraph(graph_data, node_frame)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dmlc/dgl
Commit Name: e7679cf2e69ac48cc0c685ad2bf0d87b9cac913b
Time: 2018-10-12
Author: yg1246@nyu.edu
File Name: python/dgl/graph.py
Class Name: DGLGraph
Method Name: line_graph
Project Name: dmlc/dgl
Commit Name: 2cdc4d3c1d17e1ac8be1c44ca54d772084c76f18
Time: 2020-03-21
Author: wmjlyjemaine@gmail.com
File Name: tutorials/basics/1_first.py
Class Name:
Method Name: build_karate_club_graph
Project Name: dmlc/dgl
Commit Name: 79f62400fe05cfe6145b748e2272174198761896
Time: 2018-09-21
Author: wmjlyjemaine@gmail.com
File Name: python/dgl/data/tree.py
Class Name: SST
Method Name: _build_tree