Class GeLU
Defined in File gelu.h
Inheritance Relationships
Base Type
public mindspore::ops::PrimitiveC
(Class PrimitiveC)
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.
-
inline GeLU()