コード例 #1
0
ファイル: gcs.py プロジェクト: sts-sadr/spektral
 def preprocess(A):
     return normalized_adjacency(A)
コード例 #2
0
ファイル: normalize_adj.py プロジェクト: zhenghang/spektral
    def __call__(self, graph):
        if graph.a is not None:
            graph.a = normalized_adjacency(graph.a, self.symmetric)

        return graph
コード例 #3
0
 def preprocess(a):
     return normalized_adjacency(a, symmetric=True)