899d125bb10c98fad34544748554591f69a133f1,python/dgl/immutable_graph_index.py,ImmutableGraphIndex,incidence_matrix,#ImmutableGraphIndex#Any#Any#,487

Before Change


            A index for data shuffling due to sparse format change. Return None
            if shuffle is not required.
        
        raise Exception("immutable graph doesn\"t support incidence_matrix for now.")

    def to_networkx(self):
        Convert to networkx graph.

After Change


            A index for data shuffling due to sparse format change. Return None
            if shuffle is not required.
        
        raise NotImplementedError("immutable graph doesn\"t implement incidence_matrix for now.")

    def to_networkx(self):
        Convert to networkx graph.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: dmlc/dgl
Commit Name: 899d125bb10c98fad34544748554591f69a133f1
Time: 2018-12-05
Author: zhengda1936@gmail.com
File Name: python/dgl/immutable_graph_index.py
Class Name: ImmutableGraphIndex
Method Name: incidence_matrix


Project Name: dmlc/dgl
Commit Name: 899d125bb10c98fad34544748554591f69a133f1
Time: 2018-12-05
Author: zhengda1936@gmail.com
File Name: python/dgl/immutable_graph_index.py
Class Name: ImmutableGraphIndex
Method Name: line_graph


Project Name: LxMLS/lxmls-toolkit
Commit Name: 3015b29b12553360bc25470f810711d4075d08ef
Time: 2019-05-28
Author: ramon@astudillo.com
File Name: lxmls/reinforcement_learning/reinforcement_learning.py
Class Name:
Method Name: train


Project Name: matplotlib/matplotlib
Commit Name: 4de7705917001c64f2540195edba8121a0e861ee
Time: 2019-06-16
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/matplotlib/offsetbox.py
Class Name: OffsetBox
Method Name: get_extent_offsets


Project Name: tensorlayer/tensorlayer
Commit Name: 88d239631b9eb49527c21053d79d55e012f11a3c
Time: 2018-02-23
Author: dhsig552@163.com
File Name: tensorlayer/layers/recurrent.py
Class Name: BiDynamicRNNLayer
Method Name: __init__