def preprocess_adj(adj):
    'Preprocessing of adjacency matrix for simple GCN model and conversion to tuple representation.'
    adj_normalized = normalize_adj((adj + sp.eye(adj.shape[0])))
    return sparse_to_tuple(adj_normalized)
Preprocessing of adjacency matrix for simple GCN model and conversion to tuple representation.
def preprocess_adj(adj):
    
    adj_normalized = normalize_adj((adj + sp.eye(adj.shape[0])))
    return sparse_to_tuple(adj_normalized)