Class Diag

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Diag : public mindspore::ops::BaseOperator

Constructs a diagonal tensor with a given diagonal values. Refer to Python API mindspore.ops.Diag for more details.

Public Functions

inline Diag()

Constructor.