#NEWLINE# def __init__( self , incoming , memory_shape , num_units , num_reads , hid_init = lasagne . init . GlorotUniform ( ) , learn_init = False , **kwargs ) : #NEWLINE# #INDENT# super ( Controller , self ) . __init__ ( incoming , ** kwargs ) #NEWLINE# self . hid_init = self . add_param ( hid_init , ( 1 , num_units ) , name = 'hid_init' , regularizable = False , trainable = learn_init ) #NEWLINE# self . memory_shape = memory_shape #NEWLINE# self . num_units = incoming #NEWLINE# self . num_reads = num_reads