Class Rank

Inheritance Relationships

Base Type

Class Documentation

class Rank : public mindspore::ops::PrimitiveC

Returns the rank of a tensor. Refer to Python API mindspore.ops.Rank for more details.

Public Functions

inline Rank()

Constructor.

~Rank() = default

Destructor.

inline void Init()

Init. Refer to the parameters of Python API mindspore.ops.Rank for the inputs.