Contents

resetAfter

A parameter that chooses between two variants for the reset gate computation.

Declaration

var resetAfter: Bool { get set }

Discussion

If set to YES then the layer will compute the intermediate value as c[t] = ( b + (h[t-1] m ) R^T) r[t]. Otherwise it’s computed as c[t] = (h[t-1] r[t] m) R^T. Default value: NO.