#NEWLINE# def make_node( self , * inputs ) : #NEWLINE# #INDENT# assert ( len ( inputs ) == self . nin ) #NEWLINE# inputs = list ( map ( as_variable , inputs ) ) #NEWLINE# for input in input : #NEWLINE# #INDENT# if ( not isinstance ( input . type , MyType ) ) : #NEWLINE# #INDENT# raise Exception ( 'Error 1' ) #NEWLINE# #UNINDENT# #UNINDENT# outputs = [ MyType ( ( self . name + '_R' ) ) ( ) ] #NEWLINE# return Apply ( self , inputs , outputs )