MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / gelu

Function gelu

SwissArmyTransformer/sat/mpu/utils.py:105–106  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

103 (1.0 + 0.044715 * x * x)))
104
105def gelu(x):
106 return gelu_impl(x)

Callers

nothing calls this directly

Calls 1

gelu_implFunction · 0.70

Tested by

no test coverage detected