Class Neg
Defined in File neg.h
Inheritance Relationships
Base Type
public mindspore::ops::PrimitiveC
(Class PrimitiveC)
Class Documentation
-
class Neg : public mindspore::ops::PrimitiveC
Returns a tensor with negative values of the input tensor element-wise. Refer to Python API mindspore.ops.Neg for more details.
Public Functions
-
inline Neg()
Constructor.
-
~Neg() = default
Destructor.
-
inline void Init()
Init. Refer to the parameters of Python API mindspore.ops.Neg for the inputs.
-
inline Neg()