#NEWLINE# def c_code( self , node , name , inputs , outputs , sub ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# ( images , ) = inputs #NEWLINE# ( targets , denoms ) = outputs #NEWLINE# fail = sub [ 'fail' ] #NEWLINE# num_braces = 0 #NEWLINE# size_f = self . _size_f #NEWLINE# add_scale = self . _add_scale #NEWLINE# pow_scale = self . _pow_scale #NEWLINE# blocked = ( 'true' if self . _blocked else 'false' ) #NEWLINE# class_name = self . __class__ . __name__ #NEWLINE# class_name_upper = class_name . upper ( ) #NEWLINE# basic_setup = self . _basic_setup #NEWLINE# setup_nv_images = ( ( contiguity_check ( 'images' ) + dimension_check ( 'images' , 4 ) ) + self . _images_setup ) #NEWLINE# num_braces += 2 #NEWLINE# setup_nv_targets = output_same_shape ( 'targets' , 'images' ) #NEWLINE# num_braces += 1 #NEWLINE# setup_nv_denoms = output_same_shape ( 'denoms' , 'images' ) #NEWLINE# num_braces += 1 #NEWLINE# do_normalize = '\n        convResponseNormCrossMap(nv_images, nv_denoms, nv_targets, numFilters, sizeF,\n                                 addScale, powScale, blocked);\n        ' #NEWLINE# braces = ( ( '}' * num_braces ) + '\n' ) #NEWLINE# rval = ( ( ( ( ( name + setup_nv_images ) + setup_nv_targets ) + setup_nv_denoms ) + do_normalize ) + braces ) #NEWLINE# rval = ( rval % locals ( ) ) #NEWLINE# return rval