oa::FnMatrix::linearReluBwdData
linearReluBwdData: fused in-layer linearRelu(x,W,b) backward, data path. For y = reLU(x @ W^T + b), computes dx = (dy * (act > 0)) @ W in a single dispatch. gate is applied INSIDE the inner sum (no materialization of dz), the opposite fusion direction of linearDataReluBwd.
Function Documentation
linearReluBwdData: fused in-layer linearRelu(x,W,b) backward, data path. For y = reLU(x @ W^T + b), computes dx = (dy * (act > 0)) @ W in a single dispatch. gate is applied INSIDE the inner sum (no materialization of dz), the opposite fusion direction of linearDataReluBwd.
Parameters
inGradOutputconst Matrix &—
inWeightconst Matrix &—
inActivationconst Matrix &—
Returns
MatrixThe declared return value.