8f9cabbf7f1adb9ef680f6c3cf2067a8c8f7a628,tests/layer/test_gcn.py,,test_GCN_apply_sparse,#,170

Before Change


    adj = G.to_adjacency_matrix()
    features, adj = GCN_Aadj_feats_op(features, adj)
    adj = adj.tocoo()
    A_indices = np.expand_dims(np.hstack((adj.row[:, None], adj.col[:, None])), 0)
    A_values = np.expand_dims(adj.data, 0)

    generator = FullBatchNodeGenerator(G, sparse=True, method="gcn")

After Change


    features, adj = GCN_Aadj_feats_op(features, adj)
    adj = adj.tocoo()
    A_indices = np.expand_dims(
        np.hstack((adj.row[:, None], adj.col[:, None])).astype(np.int64), 0
    )
    A_values = np.expand_dims(adj.data, 0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 11

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_gcn.py
Class Name:
Method Name: test_GCN_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_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_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_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_rgcn.py
Class Name:
Method Name: test_RGCN_apply_sparse


Project Name: markovmodel/PyEMMA
Commit Name: 154f7ae2be03f8711087e25c9014fe8f252569ca
Time: 2018-04-07
Author: clonker@gmail.com
File Name: pyemma/coordinates/tests/test_sources_merger.py
Class Name: TestSourcesMerger
Method Name: _get_output_compare


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: 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_gcn.py
Class Name:
Method Name: test_GraphConvolution_sparse