# What is the initial state of the tf.contrib.rnn.LSTMCell? [closed]

Does tf.contrib.rnn.LSTMCell assign itself an initial state of zeros or is it random for each batch or per complete run through (if I run the model twice will it have the same initial state both the times)?

If you don't specify the initial_state parameter on tf.nn.rnn(), the states will be initialized as zero vectors for each batch.