Class Unique

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Unique : public mindspore::ops::BaseOperator

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.

inline void Init() const

Init.