mxnet.initializer.LSTMBias¶
-
class
mxnet.initializer.
LSTMBias
(forget_bias=1.0)[source]¶ 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.
Methods
__init__
([forget_bias])Initialize self.
dumps
()Saves the initializer to string
set_verbosity
([verbose, print_func])Switch on/off verbose mode