Learn R Programming

FBMS (version 1.3)

ngelu: Negative GELU Function

Description

Negative GELU Function

Usage

ngelu(x)

Value

-x*pnorm(-x)

Arguments

x

The vector of values

Examples

Run this code
ngelu(2)

Run the code above in your browser using DataLab