oa::FnMatrix::siluBwd

siluBwd: backward pass for SiLU activation.

Function Documentation

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

Parameters

inInput
const Matrix &

forward INPUT x (silu'(x) is a function of input, not output)

inGradOutput
const Matrix &

Returns

Matrix

The declared return value.