flipZ
A parameter that chooses between two variants for the final output computation.
Declaration
var flipZ: Bool { get set }Discussion
If set to YES then the layer will compute the final value as h[t] = z[t] h[t-1] + (1-z[t]) o[t]. Otherwise it’s computed as h[t] = (1-z[t]) h[t-1] + z[t] o[t]. Default value: NO.