#NEWLINE# def __init__( self , n_out , weights , bias = 0.0 , bias_prime = 0.0 , activation = 'sigmoid' , loss = 'bce' ) : #NEWLINE# #INDENT# self . n_out = n_out #NEWLINE# self . activation = Activation . from_any ( activation ) #NEWLINE# self . activation_decode = Activation . from_any ( activation ) #NEWLINE# self . loss = Loss . from_any ( loss ) #NEWLINE# self . weights = Parameter . from_any ( weights ) #NEWLINE# self . bias = Parameter . from_any ( bias ) #NEWLINE# self . bias_prime = Parameter . from_any ( bias_prime ) #NEWLINE# self . _initialized = False #NEWLINE# self . _tmp_x = None #NEWLINE# self . _tmp_y = None