IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Pārlūkot izejas kodu

Fix typo.

master
Stanislaw Adaszewski pirms 4 gadiem
vecāks
revīzija
456a037e58
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/decagon_pytorch/normalize.py

+ 1
- 1
src/decagon_pytorch/normalize.py Parādīt failu

@@ -37,7 +37,7 @@ def normalize_adjacency_matrix(adj):
def norm_adj_mat_one_node_type(adj):
adj = sp.coo_matrix(adj)
assert adj.shape[0] == adj.shape[1]:
assert adj.shape[0] == adj.shape[1]
adj_ = adj + sp.eye(adj.shape[0])
rowsum = np.array(adj_.sum(1))
degree_mat_inv_sqrt = np.power(rowsum, -0.5).flatten()


Notiek ielāde…
Atcelt
Saglabāt