oa::FnMatrix::eluBwd
eluBwd: backward pass for ELU activation. Computes: dInput = dOutput * (x > 0 ? 1 : alpha * exp(x))
Function Documentation
eluBwd: backward pass for ELU activation. Computes: dInput = dOutput * (x > 0 ? 1 : alpha * exp(x))
Parameters
inForwardOutputconst Matrix &—
inGradOutputconst Matrix &—
inAlphaoa::F32Default: 1.0f
Returns
MatrixThe declared return value.