be936da849a5edbbd8f7f2f7f54f74951fc888a7,python/dgl/graph_index.py,GraphIndex,node_subgraph,#GraphIndex#Any#,519
Before Change
v_array = v.todgltensor()
rst = _CAPI_DGLGraphVertexSubgraph(self, v_array)
induced_edges = utils.toindex(rst(2))
gidx = rst(0)
return SubgraphIndex(gidx, self, v, induced_edges)
def node_subgraphs(self, vs_arr):
Return the induced node subgraphs.
After Change
The subgraph index.
v_array = v.todgltensor()
return _CAPI_DGLGraphVertexSubgraph(self, v_array)
def node_subgraphs(self, vs_arr):
Return the induced node subgraphs.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: dmlc/dgl
Commit Name: be936da849a5edbbd8f7f2f7f54f74951fc888a7
Time: 2019-08-21
Author: zhengda1936@gmail.com
File Name: python/dgl/graph_index.py
Class Name: GraphIndex
Method Name: node_subgraph
Project Name: dmlc/dgl
Commit Name: 653428bdc7880ebc45b759e675df09ae6eb146f8
Time: 2019-06-06
Author: ly979@nyu.edu
File Name: python/dgl/graph_index.py
Class Name: GraphIndex
Method Name: edges
Project Name: dmlc/dgl
Commit Name: be936da849a5edbbd8f7f2f7f54f74951fc888a7
Time: 2019-08-21
Author: zhengda1936@gmail.com
File Name: python/dgl/graph_index.py
Class Name: GraphIndex
Method Name: edge_subgraph
Project Name: dmlc/dgl
Commit Name: 52d4535b61cd82bc82a1ebb79d8dc66c5c50856e
Time: 2019-08-23
Author: coin2028@hotmail.com
File Name: python/dgl/graph_index.py
Class Name: HeteroGraphIndex
Method Name: find_edges