oa::FnMatrix::gruCellLinear
gruCellLinear: fused GRU recurrent step — Linear(h, W_hh) + gruCellPointwise. Replaces the per-timestep pair of dispatches with one kernel. The hidden projection required by reverse mode is retained internally rather than exposed as an output parameter.
Function Documentation
gruCellLinear: fused GRU recurrent step — Linear(h, W_hh) + gruCellPointwise. Replaces the per-timestep pair of dispatches with one kernel. The hidden projection required by reverse mode is retained internally rather than exposed as an output parameter.
Parameters
inGatesIconst Matrix &—
inHiddenconst Matrix &—
inWeightHhconst Matrix &—
inHiddenSizeoa::I32—
inTimeOffsetoa::U32—
inBatchStrideoa::U32—
inBiasHhconst Matrix &Default: Matrix{}
Returns
MatrixThe declared return value.