Module ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr ListLoad AugAssignAdd AttributeStore NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr Call NameLoad NameLoad Str Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Return Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults body For NameStore TupleLoad Str Str body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Raise orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr BinOpSub NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd ListLoad Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body For NameStore TupleLoad Str Str Str body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str If CompareIn NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr TupleLoad Str Raise orelse If BoolOpAnd CompareNotIn NameLoad NameLoad CompareNotIn NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Str Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise If NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad Str keyword NameLoad Expr Call NameLoad NameLoad NameLoad keyword NameLoad Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Delete AttributeDel NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad attr NameLoad handlers ExceptHandler type NameLoad body Return ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Str Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr TryExcept body Expr Call NameLoad Str Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str NameLoad CompareIs Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad Assign NameStore SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Continue Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd Call NameLoad NameLoad Str CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Str NameLoad Str Str Str decorator_list decorator_list
N/A __future__ print_function functools partial N/A sys N/A time N/A inspect N/A theano theano config theano.compat OrderedDict theano.gof graph AlreadyThere N/A Exception N/A N/A 
    Raised by a Feature's on_attach callback method if the FunctionGraph
    attempting to attach the feature already has a functionally identical
    feature.

     N/A N/A ReplacementDidntRemovedError N/A Exception N/A N/A 
    This exception should be thrown by replace_all_validate_remove
    when an optimization wanted to remove a Variable or a Node from
    the graph, but the replacement it gived didn't do that.

     N/A N/A Feature N/A object N/A N/A 
    Base class for FunctionGraph extensions.

    A Feature is an object with several callbacks that are triggered
    by various operations on FunctionGraphs. It can be used to enforce
    graph properties at all stages of graph optimization.

    See Also
    --------
    theano.gof.toolbox : for common extensions.

     on_attach N/A N/A self function_graph N/A N/A N/A 
        Called by FunctionGraph.attach_feature, the method that attaches
        the feature to the FunctionGraph. Since this is called after the
        FunctionGraph is initially populated, this is where you should
        run checks on the initial contents of the FunctionGraph.

        The on_attach method may raise the AlreadyThere exception to cancel
        the attach operation if it detects that another Feature instance
        implementing the same functionality is already atttached to the
        FunctionGraph.

        The feature has great freedom in what it can do with the
        function_graph: it may, for example, add methods to it dynamically.

         N/A on_detach N/A N/A self function_graph N/A N/A N/A 
        Called by remove_feature(feature).  Should remove any dynamically-added
        functionality that it installed into the function_graph.

         N/A on_import N/A N/A self function_graph node reason N/A N/A N/A 
        Called whenever a node is imported into function_graph, which is
        just before the node is actually connected to the graph.
        Note: on_import is not called when the graph is created. If you
        want to detect the first nodes to be implemented to the graph,
        you should do this by implementing on_attach.

         N/A on_prune N/A N/A self function_graph node reason N/A N/A N/A 
        Called whenever a node is pruned (removed) from the function_graph,
        after it is disconnected from the graph.

         N/A on_change_input N/A N/A self function_graph node i r new_r reason N/A None N/A N/A 
        Called whenever node.inputs[i] is changed from r to new_r.
        At the moment the callback is done, the change has already
        taken place.

        If you raise an exception in this function, the state of the graph
        might be broken for all intents and purposes.

         N/A orderings N/A N/A self function_graph N/A N/A N/A 
        Called by toposort. It should return a dictionary of
        {node: predecessors} where predecessors is a list of
        nodes that should be computed before the key node.

        If you raise an exception in this function, the state of the graph
        might be broken for all intents and purposes.

         N/A N/A OrderedDict N/A N/A Bookkeeper N/A Feature N/A on_attach N/A N/A self fgraph N/A N/A N/A node N/A N/A graph io_toposort N/A fgraph inputs N/A fgraph outputs N/A N/A N/A N/A self on_import fgraph node on_attach N/A on_detach N/A N/A self fgraph N/A N/A N/A node N/A N/A graph io_toposort N/A fgraph inputs N/A fgraph outputs N/A N/A N/A N/A self on_prune fgraph node Bookkeeper.detach N/A N/A GetCheckpoint N/A N/A __init__ N/A N/A self history fgraph N/A N/A N/A N/A self h history N/A N/A self fgraph fgraph N/A N/A self nb 0 N/A __call__ N/A N/A self N/A N/A N/A N/A N/A N/A self h history N/A N/A self fgraph N/A N/A N/A self nb 1 N/A N/A self nb N/A N/A LambdExtract N/A N/A __init__ N/A N/A self fgraph node i r reason N/A None N/A N/A N/A self fgraph fgraph N/A N/A self node node N/A N/A self i i N/A N/A self r r N/A N/A self reason reason N/A __call__ N/A N/A self N/A N/A N/A N/A N/A N/A self fgraph change_input N/A self node N/A self i N/A self r reason N/A Revert N/A self reason N/A N/A History N/A Feature N/A N/A Keep an history of changes to an FunctionGraph.

    This history can be reverted up to the last checkpoint.. We can
    revert to only 1 point in the past. This limit was added to lower
    the memory usage.

     N/A pickle_rm_attr N/A checkpoint revert __init__ N/A N/A self N/A N/A N/A N/A self history N/A N/A on_attach N/A N/A self fgraph N/A N/A N/A N/A N/A hasattr fgraph checkpoint N/A hasattr fgraph revert N/A N/A N/A AlreadyThere History feature is already present or in conflict with another plugin. N/A N/A N/A self history N/A fgraph N/A N/A N/A fgraph checkpoint N/A GetCheckpoint self fgraph N/A N/A fgraph revert N/A partial N/A self revert fgraph N/A unpickle N/A N/A self fgraph N/A N/A N/A N/A fgraph checkpoint N/A GetCheckpoint self fgraph N/A N/A fgraph revert N/A partial N/A self revert fgraph N/A on_detach N/A N/A self fgraph N/A N/A N/A N/A fgraph checkpoint N/A N/A fgraph revert N/A N/A N/A self history N/A fgraph N/A on_change_input N/A N/A self fgraph node i r new_r reason N/A None N/A N/A N/A N/A N/A self history N/A fgraph None N/A N/A N/A h N/A N/A self history N/A fgraph N/A N/A N/A h append N/A LambdExtract fgraph node i r reason N/A revert N/A N/A self fgraph checkpoint N/A N/A N/A 
        Reverts the graph to whatever it was at the provided
        checkpoint (undoes all replacements). A checkpoint at any
        given time can be obtained using self.checkpoint().

         N/A h N/A N/A self history N/A fgraph N/A N/A N/A self history N/A fgraph None N/A N/A N/A N/A fgraph checkpoint nb checkpoint N/A h N/A N/A f N/A N/A h pop N/A N/A f N/A N/A N/A self history N/A fgraph h N/A N/A Validator N/A Feature N/A N/A pickle_rm_attr N/A validate consistent on_attach N/A N/A self fgraph N/A N/A N/A attr N/A validate validate_time N/A N/A N/A hasattr fgraph attr N/A N/A N/A AlreadyThere Validator feature is already present or in conflict with another plugin. N/A N/A fgraph validate N/A partial N/A self validate_ fgraph N/A N/A fgraph consistent N/A partial N/A self consistent_ fgraph N/A unpickle N/A N/A self fgraph N/A N/A N/A N/A fgraph validate N/A partial N/A self validate_ fgraph N/A N/A fgraph consistent N/A partial N/A self consistent_ fgraph N/A on_detach N/A N/A self fgraph N/A N/A N/A N/A fgraph validate N/A N/A fgraph consistent N/A validate_ N/A N/A self fgraph N/A N/A N/A t0 N/A N/A time time N/A N/A N/A ret N/A N/A fgraph execute_callbacks validate N/A N/A N/A Exception N/A e N/A N/A cf N/A N/A inspect currentframe N/A uf N/A cf f_back N/A uf_info N/A N/A inspect getframeinfo uf N/A N/A N/A uf_info function replace_all_validate N/A N/A N/A N/A verbose N/A N/A N/A uf f_locals get verbose False N/A verbose N/A N/A r N/A N/A N/A uf f_locals get r N/A reason N/A uf_info function N/A N/A print N/A validate failed on node %s.
 Reason: %s, %s N/A r reason e N/A N/A t1 N/A N/A time time N/A N/A fgraph profile N/A N/A N/A N/A fgraph profile validate_time N/A t1 t0 N/A ret N/A consistent_ N/A N/A self fgraph N/A N/A N/A N/A N/A N/A N/A fgraph validate N/A True N/A N/A N/A Exception N/A N/A False N/A N/A ReplaceValidate N/A History Validator N/A N/A pickle_rm_attr N/A N/A N/A replace_validate replace_all_validate replace_all_validate_remove N/A History pickle_rm_attr N/A Validator pickle_rm_attr on_attach N/A N/A self fgraph N/A N/A N/A attr N/A replace_validate replace_all_validate replace_all_validate_remove N/A N/A N/A hasattr fgraph attr N/A N/A N/A AlreadyThere ReplaceValidate feature is already present or in conflict with another plugin. N/A N/A self _nodes_removed N/A set N/A N/A self fail_validate False N/A N/A N/A History on_attach self fgraph N/A N/A N/A Validator on_attach self fgraph N/A N/A N/A self unpickle fgraph N/A unpickle N/A N/A self fgraph N/A N/A N/A N/A N/A History unpickle self fgraph N/A N/A N/A Validator unpickle self fgraph N/A N/A fgraph replace_validate N/A partial N/A self replace_validate fgraph N/A N/A fgraph replace_all_validate N/A partial N/A self replace_all_validate fgraph N/A N/A fgraph replace_all_validate_remove N/A partial N/A self replace_all_validate_remove fgraph N/A on_detach N/A N/A self fgraph N/A N/A N/A N/A N/A History on_detach self fgraph N/A N/A N/A Validator on_detach self fgraph N/A N/A self _nodes_removed N/A N/A fgraph replace_validate N/A N/A fgraph replace_all_validate N/A N/A fgraph replace_all_validate_remove N/A replace_validate N/A N/A self fgraph r new_r reason N/A None N/A N/A N/A N/A self replace_all_validate fgraph N/A N/A r new_r reason reason N/A replace_all_validate N/A N/A self fgraph replacements reason verbose N/A None None N/A N/A chk N/A N/A fgraph checkpoint N/A N/A verbose None N/A N/A verbose N/A config optimizer_verbose N/A N/A r new_r replacements N/A N/A N/A N/A N/A N/A fgraph replace r new_r reason reason verbose False N/A N/A N/A Exception N/A e N/A N/A msg N/A str e N/A s1 The type of the replacement must be the same N/A s2 does not belong to this FunctionGraph N/A s3 maximum recursion depth exceeded N/A N/A s3 msg N/A N/A N/A e args N/A Please, report this to theano-dev mailing list. As a temporary work around, you can raise Python stack limit with: import sys; sys.setrecursionlimit(10000) N/A N/A N/A N/A N/A s1 msg N/A s2 msg N/A N/A out N/A sys stderr N/A N/A print <<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> N/A type e e reason file out N/A N/A N/A fgraph revert chk N/A N/A N/A N/A N/A N/A fgraph validate N/A N/A N/A Exception N/A e N/A N/A N/A N/A fgraph revert chk N/A verbose N/A N/A N/A print N/A validate failed on node %s.
 Reason: %s, %s N/A r reason e N/A N/A verbose N/A N/A N/A print reason r new_r N/A chk N/A replace_all_validate_remove N/A N/A self fgraph replacements remove reason warn N/A None True N/A N/A 
        As replace_all_validate, revert the replacement if the ops
        in the list remove are still in the graph. Also print a warning.

         N/A chk N/A N/A fgraph replace_all_validate replacements reason N/A N/A N/A N/A self _nodes_removed update remove N/A rm remove N/A N/A N/A N/A rm N/A fgraph apply_nodes N/A rm N/A fgraph variables N/A N/A N/A N/A fgraph revert chk N/A warn N/A N/A out N/A sys stderr N/A N/A print WARNING: An optimization wanted to replace a Variable in the graph, but the replacement for it doesn't remove it. We disabled the optimization. Your function runs correctly, but it would be appreciated if you submit this problem to the mailing list theano-users so that we can fix it. file out N/A N/A print reason replacements file out N/A N/A ReplacementDidntRemovedError N/A __getstate__ N/A N/A self N/A N/A N/A d N/A N/A N/A self __dict__ copy N/A N/A history d N/A N/A N/A d N/A history N/A d N/A on_import N/A N/A self fgraph node reason N/A N/A N/A N/A node N/A self _nodes_removed N/A N/A N/A self fail_validate True N/A validate N/A N/A self fgraph N/A N/A N/A N/A self fail_validate N/A N/A N/A self fail_validate False N/A N/A N/A N/A theano gof InconsistencyError Trying to reintroduce a removed node N/A N/A NodeFinder N/A Bookkeeper N/A __init__ N/A N/A self N/A N/A N/A N/A self fgraph None N/A N/A self d N/A N/A on_attach N/A N/A self fgraph N/A N/A N/A N/A N/A self fgraph None N/A N/A N/A Exception A NodeFinder instance can only serve one FunctionGraph. N/A N/A hasattr fgraph get_nodes N/A N/A N/A AlreadyThere NodeFinder is already present or in conflict with another plugin. N/A N/A self fgraph fgraph N/A N/A fgraph get_nodes N/A partial N/A self query fgraph N/A N/A N/A Bookkeeper on_attach self fgraph N/A on_detach N/A N/A self fgraph N/A N/A N/A N/A N/A self fgraph fgraph N/A N/A N/A Exception This NodeFinder instance was not attached to the provided fgraph. N/A N/A self fgraph None N/A N/A fgraph get_nodes N/A N/A N/A Bookkeeper on_detach self fgraph N/A on_import N/A N/A self fgraph node reason N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self d setdefault N/A node op N/A append node N/A N/A N/A TypeError N/A N/A N/A N/A Exception N/A e N/A N/A N/A print OFFENDING node N/A type node N/A type N/A node op file N/A sys stderr N/A N/A N/A N/A print OFFENDING node hash N/A hash N/A node op file N/A sys stderr N/A N/A N/A Exception N/A N/A N/A print OFFENDING node not hashable file N/A sys stderr N/A e N/A on_prune N/A N/A self fgraph node reason N/A N/A N/A N/A N/A nodes N/A N/A self d N/A N/A node op N/A N/A N/A TypeError N/A N/A N/A N/A N/A nodes remove node N/A N/A nodes N/A N/A N/A N/A self d N/A N/A node op N/A query N/A N/A self fgraph op N/A N/A N/A N/A N/A all N/A N/A N/A self d get op N/A N/A N/A N/A TypeError N/A N/A N/A TypeError N/A %s in unhashable and cannot be queried by the optimizer op N/A all N/A list all N/A all N/A N/A PrintListener N/A Feature N/A __init__ N/A N/A self active N/A True N/A N/A N/A self active active N/A on_attach N/A N/A self fgraph N/A N/A N/A N/A self active N/A N/A N/A print -- attaching to:  fgraph N/A on_detach N/A N/A self fgraph N/A N/A N/A N/A self active N/A N/A N/A print -- detaching from:  fgraph N/A on_import N/A N/A self fgraph node reason N/A N/A N/A N/A self active N/A N/A N/A print N/A -- importing: %s, reason: %s N/A node reason N/A on_prune N/A N/A self fgraph node reason N/A N/A N/A N/A self active N/A N/A N/A print N/A -- pruning: %s, reason: %s N/A node reason N/A on_change_input N/A N/A self fgraph node i r new_r reason N/A None N/A N/A N/A self active N/A N/A N/A print N/A -- changing (%s.inputs[%s]) from %s to %s N/A node i r new_r N/A N/A PreserveNames N/A Feature N/A N/A 
    This preserve some variables names during optimization.

    Deprecated. We need to keep it to allow unpickling.
     on_change_input N/A N/A self fgraph node i r new_r reason N/A None N/A N/A N/A N/A N/A r name None N/A N/A new_r name None N/A N/A N/A new_r name N/A r name N/A N/A PreserveVariableAttributes N/A Feature N/A N/A 
    This preserve some variables attributes and tag during optimization.
     on_change_input N/A N/A self fgraph node i r new_r reason N/A None N/A N/A N/A N/A N/A r name None N/A N/A new_r name None N/A N/A N/A new_r name N/A r name N/A N/A N/A getattr N/A r tag nan_guard_mode_check False N/A N/A getattr N/A new_r tag nan_guard_mode_check False False N/A N/A N/A N/A new_r tag nan_guard_mode_check N/A N/A r tag nan_guard_mode_check N/A N/A NoOutputFromInplace N/A Feature N/A __init__ N/A N/A self first_output_idx last_output_idx N/A 0 None N/A N/A N/A self first_idx first_output_idx N/A N/A self last_idx last_output_idx N/A validate N/A N/A self fgraph N/A N/A N/A N/A N/A hasattr fgraph destroyers N/A N/A True N/A outputs_to_validate N/A N/A list N/A fgraph outputs N/A N/A self first_idx N/A self last_idx N/A out outputs_to_validate N/A N/A N/A N/A out owner None N/A N/A N/A node N/A out owner N/A op N/A node op N/A out_idx N/A N/A N/A node outputs index out N/A N/A N/A hasattr op destroy_map N/A out_idx N/A op destroy_map N/A N/A N/A N/A N/A theano gof InconsistencyError A function graph Feature has requested (probably for  efficiency reasons for scan) that outputs of the graph be prevented from being the result of inplace  operations. This has prevented output  out  from  being computed by modifying another variable  inplace. N/A N/A