#NEWLINE# def __init__( self , layers ) : #NEWLINE# #INDENT# super ( StackedBlocks , self ) . __init__ ( ) #NEWLINE# self . _layers = layers #NEWLINE# self . _params = set ( ) #NEWLINE# for l in self . _layers : #NEWLINE# #INDENT# if ( not hasattr ( l , '_params' ) ) : #NEWLINE# #INDENT# self . _params = None #NEWLINE# break #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _params . update ( l . _params )