Class Diag
Defined in File diag.h
Inheritance Relationships
Base Type
public mindspore::ops::PrimitiveC
(Class PrimitiveC)
Class Documentation
-
class Diag : public mindspore::ops::PrimitiveC
Constructs a diagonal tensor with a given diagonal values. Refer to Python API mindspore.ops.Diag for more details.
Public Functions
-
inline Diag()
Constructor.
-
~Diag() = default
Destructor.
-
inline Diag()