#NEWLINE# def __init__( self , nout , init , init_inner = None , activation = None , reset_cells = False , depth = 1 ) : #NEWLINE# #INDENT# list . __init__ ( self ) #NEWLINE# if ( depth <= 0 ) : #NEWLINE# #INDENT# raise ValueError ( 'Depth is <= 0.' ) #NEWLINE# #UNINDENT# self . append ( BiRNN ( nout , init , init_inner , activation , reset_cells , split_inputs = False ) ) #NEWLINE# for i in range ( ( depth - 1 ) ) : #NEWLINE# #INDENT# self . append ( BiRNN ( nout , init , init_inner , activation , reset_cells , split_inputs = True ) )