示例#1
0
文件: gcs.py 项目: sts-sadr/spektral
 def preprocess(A):
     return normalized_adjacency(A)
示例#2
0
    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)