oa::FnMatrix::gegluBwd

gegluBwd: backward pass for GEGLU activation.

Function Documentation

Matrix oa::FnMatrix::gegluBwd( const Matrix & inInput, const Matrix & inGradOutput )
gegluBwd: backward pass for GEGLU activation.

Parameters

inInput
const Matrix &

forward INPUT (up||gate); up*GELU(gate) is not invertible

inGradOutput
const Matrix &

Returns

Matrix

The declared return value.