LSTMBias

class LSTMBias(forget_bias=1.0)

Initialize all biases of an LSTMCell to 0.0 except for the forget gate whose bias is set to custom value.

Parameters:
forget_bias: float, default 1.0

bias for the forget gate. Jozefowicz et al. 2015 recommends setting this to 1.0.