我正在与“>;”作斗争在scipy.sparse coo_矩阵中
adj = sp.coo_matrix((np.ones(edges.shape[0]), (edges[:, 0], edges[:, 1])), shape=(labels.shape[0], labels.shape[0]), dtype=np.float32)
# build symmetric adjacency matrix
```adj = adj + adj.T.multiply(adj.T > adj) - adj.multiply(adj.T > adj)```
As what you see, there is a ` > `. I hope to know what it means.
目前没有回答
相关问题 更多 >
编程相关推荐