59266e34e076ed25852bccf5ce13025b5408406f,stellargraph/layer/gcn.py,GCN,node_model,#GCN#,285

Before Change



        filter = self.kwargs.get("filter", "localpool")
        if filter == "chebyshev":
            self.support = self.kwargs.get("max_degree", 2)
            Am_in = [
                Input(batch_shape=(1, None, None), sparse=True)
                for _ in range(self.support)
            ]
        else:
            Am_in = [Input(batch_shape=(1, None, None), sparse=True)]

After Change


        N_feat = self.generator.features.shape[1]

        // Inputs for features & target indices
        x_t = Input(batch_shape=(1, N_nodes, N_feat))
        out_indices_t = Input(batch_shape=(1, None), dtype="int32")

        // Create inputs for sparse or dense matrices
        if self.use_sparse:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: stellargraph/stellargraph
Commit Name: 59266e34e076ed25852bccf5ce13025b5408406f
Time: 2019-05-28
Author: andrew.docherty@data61.csiro.au
File Name: stellargraph/layer/gcn.py
Class Name: GCN
Method Name: node_model


Project Name: keras-team/autokeras
Commit Name: 16474aee0c575e615c78d32f2a170c3d7f8f0082
Time: 2017-12-30
Author: jhfjhfj1@gmail.com
File Name: autokeras/graph.py
Class Name: Graph
Method Name: produce_model