#NEWLINE# def setup( self , x_shape ) : #NEWLINE# #INDENT# if self . _initialized : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# n_in = x_shape [ 1 ] #NEWLINE# self . weights . setup ( ( n_in , self . n_out ) ) #NEWLINE# self . bias . setup ( self . n_out ) #NEWLINE# self . bias_prime . setup ( n_in ) #NEWLINE# self . loss . setup ( ( x_shape [ 0 ] , self . n_out ) ) #NEWLINE# self . _initialized = True