Class Unique

Inheritance Relationships

Base Type

Class Documentation

class Unique : public mindspore::ops::PrimitiveC

Returns the unique elements of input tensor and also returns a tensor containing the index of each value of input tensor corresponding to the output unique tensor. Refer to Python API mindspore.ops.Unique for more details.

Public Functions

inline Unique()

Constructor.

~Unique() = default

Destructor.

inline void Init()

Init.