oa::FnMatrix::rnnCellPointwise
rnnCellPointwise: fused vanilla-RNN pointwise forward, h_new = tanh(gatesI + gatesH).
Function Documentation
rnnCellPointwise: fused vanilla-RNN pointwise forward, h_new = tanh(gatesI + gatesH).
Parameters
inGatesIconst Matrix &[B, H] input projection (W_ih x + b_ih)
inGatesHconst Matrix &[B, H] hidden projection (W_hh h_prev + b_hh)
Returns
MatrixThe declared return value.