Class Abs

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Abs : public mindspore::ops::BaseOperator

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

Public Functions

inline Abs()

Constructor.

inline void Init() const

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