8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628,tests/layer/test_rgcn.py,,test_RGCN_apply_sparse,#,182

Before Change


    As = get_As(G)
    As = [A.tocoo() for A in As]
    A_indices = [
        np.expand_dims(np.hstack((A.row[:, None], A.col[:, None])), 0) for A in As
    ]
    A_values = [np.expand_dims(A.data, 0) for A in As]

After Change


    As = get_As(G)
    As = [A.tocoo() for A in As]
    A_indices = [
        np.expand_dims(np.hstack((A.row[:, None], A.col[:, None])).astype(np.int64), 0)
        for A in As
    ]
    A_values = [np.expand_dims(A.data, 0) for A in As]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 4

Instances


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_rgcn.py
Class Name:
Method Name: test_RGCN_apply_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: stellargraph/mapper/sequences.py
Class Name: RelationalFullBatchNodeSequence
Method Name: __init__


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_appnp.py
Class Name:
Method Name: test_APPNP_apply_propagate_model_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_appnp.py
Class Name:
Method Name: test_APPNP_apply_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_gcn.py
Class Name:
Method Name: test_GCN_linkmodel_apply_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_gcn.py
Class Name:
Method Name: test_GraphConvolution_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_appnp.py
Class Name:
Method Name: test_APPNP_linkmodel_apply_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_rgcn.py
Class Name:
Method Name: test_RelationalGraphConvolution_sparse


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_rgcn.py
Class Name:
Method Name: test_RGCN_apply_sparse_directed


Project Name: stellargraph/stellargraph
Commit Name: 8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628
Time: 2020-06-24
Author: Huon.Wilson@data61.csiro.au
File Name: tests/layer/test_gcn.py
Class Name:
Method Name: test_GCN_apply_sparse