theano/gof/op.py
def c_init_code_struct(self, node, name, sub):
        """
        Optional: return a code string specific to the apply
        to be inserted in the struct initialization code.

        Parameters
        ----------
        node : an Apply instance in the graph being compiled
        name : str
            A unique name to distinguish variables from those of other nodes.
        sub
            A dictionary of values to substitute in the code.
            Most notably it contains a 'fail' entry that you should place in
            your code after setting a python exception to indicate an error.

        Raises
        ------
        MethodNotDefined
            The subclass does not override this method.

        """
        raise utils.MethodNotDefined("c_init_code_struct", type(self),
                                     self.__class__.__name__)

        Optional: return a code string specific to the apply
        to be inserted in the struct initialization code.

        Parameters
        ----------
        node : an Apply instance in the graph being compiled
        name : str
            A unique name to distinguish variables from those of other nodes.
        sub
            A dictionary of values to substitute in the code.
            Most notably it contains a 'fail' entry that you should place in
            your code after setting a python exception to indicate an error.

        Raises
        ------
        MethodNotDefined
            The subclass does not override this method.

        
return a code string specific to the apply
to be inserted in the struct initialization code.

Parameters

node : an Apply instance in the graph being compiled
name : str
A unique name to distinguish variables from those of other nodes.
sub
A dictionary of values to substitute in the code.
Most notably it contains a 'fail' entry that you should place in
your code after setting a python exception to indicate an error.

Raises

MethodNotDefined
The subclass does not override this method.
return a code string specific to the apply to be inserted in the struct initialization code . Parameters node : an Apply instance in the graph being compiled name : str A unique name to distinguish variables from those of other nodes . sub A dictionary of values to substitute in the code . Most notably it contains a ' fail ' entry that you should place in your code after setting a python exception to indicate an error . Raises MethodNotDefined The subclass does not override this method .
def c_init_code_struct(self, node, name, sub):
        raise utils.MethodNotDefined("c_init_code_struct", type(self),
                                     self.__class__.__name__)
def c_init_code_struct ( self , node , name , sub ) : raise utils . MethodNotDefined ( "c_init_code_struct" , type ( self ) , self . __class__ . __name__ )
Optional: return a code string specific to the apply
to be inserted in the struct initialization code.
Optional : return a code string specific to the apply to be inserted in the struct initialization code .
"""
        Optional: return a code string specific to the apply
        to be inserted in the struct initialization code.

        Parameters
        ----------
        node : an Apply instance in the graph being compiled
        name : str
            A unique name to distinguish variables from those of other nodes.
        sub
            A dictionary of values to substitute in the code.
            Most notably it contains a 'fail' entry that you should place in
            your code after setting a python exception to indicate an error.

        Raises
        ------
        MethodNotDefined
            The subclass does not override this method.

        """
self
node
name
sub