Learn R Programming

FBMS (version 1.1)

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