def __init__(self, state_size=256, cell_type='rnn', num_layers=1, bidirectional=False, dropout=False, regularize=True, reduce_output='last', **kwargs):
    self.state_size = state_size
    self.cell_type = cell_type
    self.num_layers = num_layers
    self.bidirectional = bidirectional
    self.dropout = dropout
    self.regularize = regularize
    self.reduce_output = reduce_output
def __init__(self, state_size=256, cell_type='rnn', num_layers=1, bidirectional=False, dropout=False, regularize=True, reduce_output='last', **kwargs):
    self.state_size = state_size
    self.cell_type = cell_type
    self.num_layers = num_layers
    self.bidirectional = bidirectional
    self.dropout = dropout
    self.regularize = regularize
    self.reduce_output = reduce_output