def __init__(self, num_layers, state_size):
    internal_cells = [tf.nn.rnn_cell.GRUCell(state_size) for _ in range(num_layers)]
    internal_cell = tf.nn.rnn_cell.MultiRNNCell(internal_cells)
    super(MultiRnnWithDropout, self).__init__(cell=internal_cell, output_keep_prob=RnnDropoutPlaceholders.probability, state_keep_prob=RnnDropoutPlaceholders.probability)
def __init__(self, num_layers, state_size):
    internal_cells = [tf.nn.rnn_cell.GRUCell(state_size) for _ in range(num_layers)]
    internal_cell = tf.nn.rnn_cell.MultiRNNCell(internal_cells)
    super(MultiRnnWithDropout, self).__init__(cell=internal_cell, output_keep_prob=RnnDropoutPlaceholders.probability, state_keep_prob=RnnDropoutPlaceholders.probability)