#NEWLINE# def c_code( self , node , name , inputs , outputs , sub ) : #NEWLINE# #INDENT# return ( '\n        Py_XDECREF(%(out)s);\n        %(out)s = pygpu_transfer(%(inp)s, %(ctx)s, 0);\n        if (%(out)s == NULL) {\n            %(fail)s\n        }\n        ' % { #NEWLINE# #INDENT# 'inp' : inputs [ 0 ] , #NEWLINE# 'ctx' : sub [ 'params' ] , #NEWLINE# 'out' : outputs [ 0 ] , #NEWLINE# 'fail' : sub [ 'fail' ] , #NEWLINE# #UNINDENT# } )