Feature functionality
Clarify that the order in res is either unstable or how it relates to split/axis.
Not sure whether this is a bug or works as intended; the order of res is different depending on the split.
|
Output array. The unique elements. Elements are distributed the same way as the input tensor. |
Additional context
Example:
import heat as ht
a = ht.array([1,2,3])
a
tensor([1, 2, 3])
ht.unique(a)
tensor([3, 2, 1])
b = ht.array([1,2,3], split=0)
b
tensor([1, 2, 3])
ht.unique(b)
tensor([1, 2, 3])
Feature functionality
Clarify that the order in res is either unstable or how it relates to split/axis.
Not sure whether this is a bug or works as intended; the order of res is different depending on the split.
heat/heat/core/manipulations.py
Line 1319 in a1c3792
Additional context
Example: