theano/gof/op.py
def c_init_code_struct(self, node, name, sub):
        """
        Stitches all the macros and "init_code" together

        """
        if 'init_code_struct' in self.code_sections:
            op_code = self.code_sections['init_code_struct']

            def_macros, undef_macros = self.get_c_macros(node, name)
            def_sub, undef_sub = self.get_sub_macros(sub)

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

        Stitches all the macros and "init_code" together

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

        """
self
node
name
sub