DriftTexture · function
gelu
x·Φ(x), the exact GELU, from x into out.
Explained in DriftTexture.
function gelu(x: Float32Array, out: Float32Array): voidimport { gelu } from '@driftengine/texture';Parameters
| Parameter | Type | Description |
|---|---|---|
x | Float32Array | |
out | Float32Array |