Skip to content
tmpl

activate_step

void activate_step()

Turn one step's pre-activations into gates and advance the cell: c_t = f * c_{t-1} + i * g, h_raw = o * tanh(c_t).