Что означает «>» в ​​scipy.sparse для операции над coo_matrix? - PullRequest
1 голос
/ 11 июля 2019

Я борюсь с '>' в scipy.sparse coo_matrix.

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. 
...