#NEWLINE# def setup( self ) : #NEWLINE# #INDENT# 'Set up the parameters and initial values for this layer.' #NEWLINE# for ( name , layer ) in self . _resolved_inputs . items ( ) : #NEWLINE# #INDENT# label = ( 'w' if ( len ( self . inputs ) == 1 ) else 'w_{}' . format ( name ) ) #NEWLINE# self . add_weights ( label , layer . size , self . size ) #NEWLINE# #UNINDENT# self . add_bias ( 'b' , label . size )