Class Reciprocal

Inheritance Relationships

Base Type

Class Documentation

class Reciprocal : public mindspore::ops::PrimitiveC

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

Public Functions

inline Reciprocal()

Constructor.

~Reciprocal() = default

Destructor.

inline void Init()

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