l = tf.unpack(state_placeholder, axis=0)
rnn_tuple_state = tuple([tf.nn.rnn_cell.LSTMStateTuple(l[idx][0], l[idx][1]
    ) for idx in range(num_layers)])
How do I set TensorFlow RNN state when state_is_tuple=True?