Class DiagPart

Inheritance Relationships

Base Type

Class Documentation

class DiagPart : public mindspore::ops::PrimitiveC

Extracts the diagonal part from given tensor. Refer to Python API mindspore.ops.DiagPart for more details.

Public Functions

inline DiagPart()

Constructor.

~DiagPart() = default

Destructor.