Class Square

Inheritance Relationships

Base Type

Class Documentation

class Square : public mindspore::ops::PrimitiveC

Returns square of a tensor element-wise. Refer to Python API mindspore.ops.Square for more details.

Public Functions

inline Square()

Constructor.

~Square() = default

Destructor.

inline void Init()

Init.