xnn.common.models.csr.orderings#
- xnn.common.models.csr.orderings(src, dst, n, key=None)[source]#
The pairs by center and by neighbor:
(order_dst, ptr_dst, order_src, ptr_src).Computed once per pair list: the layers of an evaluation pass the same
srcanddsttensors, or the samekey(for example the edge index the two are rows of). The cache holds them, so an identical object is the same pair list.