Class DiagPart

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class DiagPart : public mindspore::ops::BaseOperator

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

Public Functions

inline DiagPart()

Constructor.