Class Abs

Inheritance Relationships

Base Type

Class Documentation

class Abs : public mindspore::ops::PrimitiveC

Returns absolute value of a tensor element-wise. Refer to Python API mindspore.ops.Abs for more details.

Public Functions

inline Abs()

Constructor.

~Abs() = default

Destructor.

inline void Init()

Init. Refer to the parameters of Python API mindspore.ops.Abs for the inputs.