You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: np.unique_inverse output has wrong shape #25552
According to the unique_inverse specification, the inverse_indices output of np.unique_inverse should have the same shape as the input:
second element must have the field name inverse_indices and must be an array containing the indices of values that reconstruct x. The array must have the same shape as x and have the default array index data type.
In NumPy's current implementation, inverse_indices is a flattened array.
Activity
[-]BUG: np.unique_inverse output has wrong shape[/-][+]BUG: `np.unique_inverse` output has wrong shape[/+]