xnn.common.models.csr.narrow_keys#

xnn.common.models.csr.narrow_keys(index, n)[source]#

index as sort keys over n values: int32 when they fit, which halves the passes of the radix sort and, stable, gives the same order.

Parameters:
Return type:

Tensor