dpnp.tensor.unique_values¶
- dpnp.tensor.unique_values(x: usm_ndarray) usm_ndarray[source]¶
Returns the unique elements of an input array x.
- Parameters:
x (usm_ndarray) -- Input array. Inputs with more than one dimension are flattened.
- Returns:
out -- An array containing the set of unique elements in x. The returned array has the same data type as x.
- Return type: