theano/gof/op.py
def c_code_cleanup(self, node, name, inputs, outputs, sub):
        """
        Stitches all the macros and "code_cleanup" together
        """
        if 'code_cleanup' in self.code_sections:
            op_code = self.code_sections['code_cleanup']

            def_macros, undef_macros = self.get_c_macros(node, name)
            def_sub, undef_sub = self.get_sub_macros(sub)
            def_io, undef_io = self.get_io_macros(inputs, outputs)

            return '\n'.join([def_macros, def_sub, def_io,
                              op_code,
                              undef_io, undef_sub, undef_macros])
        else:
            raise utils.MethodNotDefined(
                'c_code_cleanup', type(self), type(self).__name__)

        Stitches all the macros and "code_cleanup" together
        
Stitches all the macros and "code_cleanup" together
Stitches all the macros and " code_cleanup " together
def c_code_cleanup(self, node, name, inputs, outputs, sub):
        if 'code_cleanup' in self.code_sections:
            op_code = self.code_sections['code_cleanup']
            def_macros, undef_macros = self.get_c_macros(node, name)
            def_sub, undef_sub = self.get_sub_macros(sub)
            def_io, undef_io = self.get_io_macros(inputs, outputs)
            return '\n'.join([def_macros, def_sub, def_io,
                              op_code,
                              undef_io, undef_sub, undef_macros])
        else:
            raise utils.MethodNotDefined(
                'c_code_cleanup', type(self), type(self).__name__)
def c_code_cleanup ( self , node , name , inputs , outputs , sub ) : if 'code_cleanup' in self . code_sections : op_code = self . code_sections [ 'code_cleanup' ] def_macros , undef_macros = self . get_c_macros ( node , name ) def_sub , undef_sub = self . get_sub_macros ( sub ) def_io , undef_io = self . get_io_macros ( inputs , outputs ) return '\n' . join ( [ def_macros , def_sub , def_io , op_code , undef_io , undef_sub , undef_macros ] ) else : raise utils . MethodNotDefined ( 'c_code_cleanup' , type ( self ) , type ( self ) . __name__ )
Stitches all the macros and "code_cleanup" together
Stitches all the macros and " code_cleanup " together
"""
        Stitches all the macros and "code_cleanup" together
        """
self
node
name
inputs
outputs
sub