tf.nn.rnn_cell.BasicLSTMCell.__init__(num_units, forget_bias=1.0, input_size=None, state_is_tuple=True, activation=tanh)
Initialize the basic LSTM cell.
Args:
-
num_units
: int, The number of units in the LSTM cell. -
forget_bias
: float, The bias added to forget gates (see above). -
input_size
: Deprecated and unused. -
state_is_tuple
: If True, accepted and returned states are 2-tuples of thec_state
andm_state
. If False, they are concatenated along the column axis. The latter behavior will soon be deprecated. -
activation
: Activation function of the inner states.
Please login to continue.