#NEWLINE# def getWeights( self ) : #NEWLINE# #INDENT# weights = [ ] #NEWLINE# for stage in self . stages : #NEWLINE# #INDENT# weights . append ( stage . getWeights ( ) ) #NEWLINE# #UNINDENT# return np . array ( self , dtype = object )