oa::FnMatrix::channelNorm
channelNorm: fused LayerNorm over the channel axis of [B,C,T] without transposing. Replaces Transpose+LayerNorm+transpose (3 dispatches) with 1.
Function Documentation
channelNorm: fused LayerNorm over the channel axis of [B,C,T] without transposing. Replaces Transpose+LayerNorm+transpose (3 dispatches) with 1.
Parameters
inXconst Matrix &—
inWeightconst Matrix &—
inBiasconst Matrix &—
inBatchoa::I32—
inChannelsoa::I32—
inSeqLenoa::I32—
inEpsoa::F32—
Returns
MatrixThe declared return value.