Class GeLU
Defined in File gelu.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class GeLU : public mindspore::ops::BaseOperator
Gaussian Error Linear Units activation function. Refer to Python API mindspore.ops.GeLU for more details.
Public Functions
-
inline GeLU()
Constructor.
-
inline void Init() const
Init. Refer to the parameters of Python API mindspore.ops.GeLU for the inputs.
-
inline GeLU()