Class Tanh

Inheritance Relationships

Base Type

Class Documentation

class Tanh : public mindspore::ops::PrimitiveC

Tanh activation function. Refer to Python API mindspore.ops.Tanh for more details.

Public Functions

inline Tanh()

Constructor.

~Tanh() = default

Destructor.

inline void Init()

Init.