Class GeLU

Inheritance Relationships

Base Type

Class Documentation

class GeLU : public mindspore::ops::PrimitiveC

Gaussian Error Linear Units activation function. Refer to Python API mindspore.ops.GeLU for more details.

Public Functions

inline GeLU()

Constructor.

~GeLU() = default

Destructor.

inline void Init()

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