Module Expr Str ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Num FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num AugAssignAdd SubscriptStore NameLoad Index Num Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad finalbody Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Assign NameStore Call NameLoad NameLoad Str NameLoad Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Raise NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num TupleLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Slice NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad orelse Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Continue orelse Raise If AttributeLoad NameLoad attr body Assign NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Assign NameStore Call NameLoad NameLoad Str NameLoad Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad keyword NameLoad If CompareNotEq NameLoad Num body AugAssignSub NameStore Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpAdd NameLoad Num keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpMult Str NameLoad Expr Call NameLoad NameLoad Str keyword Str keyword NameLoad If Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword Str keyword NameLoad orelse If Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad If CompareEq NameLoad Num body Expr Call NameLoad NameLoad Str keyword NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num body If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index BinOpAdd NameLoad Num SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad If SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num attr NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num keyword BinOpAdd NameLoad Num Expr Call NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Num attr Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Assert CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad ImportFrom alias For NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Num attr Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body If CompareIn NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore NameLoad orelse Assign NameStore NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad If Call NameLoad NameLoad Str body Assert CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Continue If CompareIn NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Index Num attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assert Call AttributeLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Index Num attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assert CompareEqEq Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Num NameLoad ListLoad decorator_list NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad handlers ExceptHandler type NameLoad body For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return handlers ExceptHandler type NameLoad name NameStore body Assert CompareIn Str Call NameLoad NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return handlers ExceptHandler type NameLoad name NameStore body Assert CompareIn Str Call NameLoad NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body TryExcept body If CompareEq NameLoad NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body If CompareIs NameLoad NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assert UnaryOpNot Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assert AttributeLoad NameLoad attr If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr CompareLtE Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad TupleLoad NameLoad NameLoad Str orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Return Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assert CompareGt Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Assert CompareIn TupleLoad NameLoad Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr CompareIn NameLoad AttributeLoad NameLoad attr For NameStore ListLoad body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr CompareIn NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body For NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr body If CompareIn SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body Continue If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp CompareIs NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Continue If UnaryOpNot BoolOpOr NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult ListLoad Str Call NameLoad AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult ListLoad Str Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad Str Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad Str Call NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num Assign NameStore Call NameLoad Call NameLoad BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Assign NameStore Num While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num If BoolOpAnd CompareEq NameLoad Str Call NameLoad NameLoad Str body Pass orelse If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str UnaryOpNot Call NameLoad NameLoad Str body Continue Assign NameStore ListComp SubscriptLoad NameLoad Slice Num comprehension NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num orelse Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad GeneratorExp CompareIs NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Continue If Call NameLoad AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr Str body Assign NameStore BinOpAdd AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr If CompareGt Call NameLoad ListComp CompareIn NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr comprehension TupleStore NameStore NameStore NameLoad BoolOpAnd CompareNotEq NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str Num body Continue TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad body Assign NameStore NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr If NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad If Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Break If AttributeLoad NameLoad attr body Assign NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpSub NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Return TupleLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpMult Str NameLoad Expr Call NameLoad NameLoad Str keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad If CompareGt NameLoad Num body Expr Call NameLoad NameLoad Str keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num body If CompareGt SubscriptLoad NameLoad Index Num Num body Expr Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return BinOpAdd NameLoad NameLoad decorator_list Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad Call NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad Assign TupleStore NameStore NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return CompareEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Return CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Dict If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body If CompareIn NameLoad NameLoad body Return NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Return NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Pass Return NameLoad If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num AugAssignAdd SubscriptStore NameLoad Index Num Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad TupleLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Dict Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Pass orelse If Call NameLoad AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Return If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad Num handlers ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad NameLoad Continue orelse If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Return BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad TupleLoad body FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body If CompareIs Call NameLoad NameLoad Num body Raise Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body If UnaryOpNot BoolOpOr Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call NameLoad NameLoad TupleLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad Str NameLoad comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad Str NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str BinOpMod Str Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword NameLoad If CompareNotEq NameLoad Num body AugAssignSub NameStore Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpAdd NameLoad Num keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num orelse If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareNotEq NameLoad TupleLoad body Assert NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr TupleLoad body Return AttributeLoad NameLoad attr Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body FunctionDef arguments args defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Return Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad If BoolOpOr UnaryOpNot CompareEq AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num BoolOpAnd UnaryOpNot NameLoad CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return Call NameLoad If CompareNotEq BinOpSub Call NameLoad NameLoad Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad orelse If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad If Call NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad orelse Return Call NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad body Return Call NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpAnd Call NameLoad NameLoad TupleLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr CompareEq AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return Call NameLoad orelse If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Return Call NameLoad If NameLoad body Import alias Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Slice Num Return Call SubscriptLoad NameLoad Index Num NameLoad orelse If Call NameLoad NameLoad NameLoad body Return SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return NameLoad orelse Return Call AttributeLoad NameLoad attr decorator_list Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return ListLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str NameLoad body Return AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return BinOpMod Str TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Slice Num orelse If Call NameLoad NameLoad NameLoad body Return BinOpMod Str TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad Call AttributeLoad NameLoad attr Str Str orelse Return Call NameLoad NameLoad decorator_list Return BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Assign NameStore Call NameLoad NameLoad Str Call NameLoad NameLoad Str NameLoad Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num orelse If BoolOpOr Call NameLoad NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str body Raise NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr UnaryOpNot Call NameLoad NameLoad Str NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Assign NameStore NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListComp TupleLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad orelse Raise If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr orelse If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign NameStore ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad orelse Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword NameLoad If CompareNotEq NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword BinOpAdd NameLoad Num keyword BinOpSub NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body If CompareNotIn NameLoad ListLoad Str Str body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr While NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Raise Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpMult Str NameLoad Expr Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Str keyword NameLoad Expr Call NameLoad NameLoad Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad Str NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryExcept body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Raise Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body If CompareIs Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse For NameStore NameLoad body Assert CompareIn NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign NameStore NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list While BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign NameStore NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad If CompareGt SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad AugAssignBitOr NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryFinally body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign NameStore NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad AugAssignBitOr NameStore Call NameLoad NameLoad If CompareGt SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Break finalbody Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign NameStore NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad If CompareGt SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore NameLoad Index Num BinOpSub Call AttributeLoad NameLoad attr NameLoad AugAssignBitOr NameStore Call NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpMod Str NameLoad Str BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr Num Num body Assign NameStore Call NameLoad NameLoad Str NameLoad Expr Call NameLoad BinOpMod Str TupleLoad BinOpMult Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad keyword NameLoad If CompareNotEq NameLoad Num body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpAdd NameLoad Num keyword BinOpSub NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign TupleStore NameStore NameStore NameStore TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpMult Str NameLoad Expr Call NameLoad NameLoad Str keyword Str keyword NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad Str Call NameLoad NameLoad Str Str keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Str If SubscriptLoad NameLoad Index NameLoad body Assign NameStore Call NameLoad Call NameLoad Call NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad TupleLoad Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num If CompareGt Call NameLoad NameLoad Num body AugAssignAdd NameStore Str Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Num Assign NameStore Dict For NameStore BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Num For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad AugAssignAdd NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Expr Call NameLoad NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num body Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num body If CompareGt NameLoad Num body Expr Call NameLoad BinOpAdd NameLoad Str BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad Assign NameStore ListComp NameLoad comprehension NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return Expr Call NameLoad NameLoad Str keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call NameLoad NameLoad BinOpMod Str NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad Str NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad Str NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr If BoolOpOr CompareGt Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num CompareGt Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign NameStore NameLoad If BoolOpOr CompareGt Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num CompareGt Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign NameStore NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareLt NameLoad Call NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num For NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad body If CompareIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Slice Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assert CompareEqEqEq Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If UnaryOpNot CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse TryExcept body If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad If NameLoad body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Call AttributeLoad NameLoad attr Return CompareIsNot NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Return Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr GeneratorExp ListLoad NameLoad Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Return TupleLoad ListLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Return TupleLoad AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad BinOpAdd NameLoad Num For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assert CompareEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad If AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore AttributeLoad NameLoad attr orelse Break Return TupleLoad NameLoad NameLoad decorator_list If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad orelse Assign NameStore Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Dict Num Return SubscriptLoad NameLoad Index NameLoad decorator_list
N/A N/A 
Defines the base class for optimizations as well as a certain
amount of useful generic optimization tools.

 __future__ print_function collections deque N/A copy N/A logging N/A pdb N/A sys N/A time N/A warnings N/A traceback N/A numpy N/A theano theano config theano.compat izip OrderedDict six string_types iteritems itervalues six.moves reduce theano.gof graph op utils unify toolbox theano.gof.fg InconsistencyError theano.misc.ordered_set OrderedSet N/A destroyhandler dh N/A _logger N/A N/A logging getLogger theano.gof.opt N/A _optimizer_idx N/A 0 _list_of_nodes N/A N/A fgraph N/A N/A N/A N/A list N/A N/A graph io_toposort N/A fgraph inputs N/A fgraph outputs N/A Optimizer N/A object N/A N/A 
    WRITEME

    An L{Optimizer} can be applied to an L{FunctionGraph} to transform it.
    It can represent an optimization or in general any kind
    of transformation you could apply to an L{FunctionGraph}.

     __hash__ N/A N/A self N/A N/A N/A N/A N/A hasattr self _optimizer_idx N/A N/A N/A self _optimizer_idx N/A _optimizer_idx N/A 0 N/A N/A _optimizer_idx N/A 0 1 N/A N/A self _optimizer_idx N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A id self N/A id other N/A __neq__ N/A N/A self other N/A N/A N/A N/A N/A id self N/A id other N/A apply N/A N/A self fgraph N/A N/A N/A 
        WRITEME

        Applies the optimization to the provided L{FunctionGraph}. It may
        use all the methods defined by the L{FunctionGraph}. If the
        L{Optimizer} needs to use a certain tool, such as an
        L{InstanceFinder}, it can do so in its L{add_requirements} method.

         N/A N/A optimize N/A N/A self fgraph N/A args kwargs N/A N/A 
        WRITEME

        This is meant as a shortcut to:
          opt.add_requirements(fgraph)
          opt.apply(fgraph)

         N/A N/A N/A self add_requirements fgraph N/A N/A N/A orig N/A N/A N/A N/A theano tensor basic constant enable N/A N/A N/A N/A N/A theano tensor basic constant enable False N/A ret N/A N/A self apply fgraph args kwargs N/A N/A N/A N/A N/A N/A theano tensor basic constant enable orig N/A ret N/A __call__ N/A N/A self fgraph N/A N/A N/A 
        WRITEME

        Same as self.optimize(fgraph).

         N/A N/A N/A self optimize fgraph N/A add_requirements N/A N/A self fgraph N/A N/A N/A 
        WRITEME

        Add features to the fgraph that are required to apply the optimization.
        For example:
          fgraph.attach_feature(History())
          fgraph.attach_feature(MyFeature())
          etc.

         N/A N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A name N/A getattr self name None N/A N/A print N/A %s%s %s id=%i N/A N/A level N/A N/A self __class__ __name__ name N/A id self file stream N/A print_profile N/A N/A stream prof level N/A 0 N/A N/A N/A prof None N/A N/A N/A NotImplementedError The function print_profile must be overrided if the optimizer return profiling information. N/A staticmethod N/A FromFunctionOptimizer N/A Optimizer N/A N/A 
    WRITEME

     __init__ N/A N/A self fn requirements N/A N/A N/A N/A N/A self apply fn N/A N/A self requirements requirements N/A add_requirements N/A N/A self fgraph N/A N/A N/A req N/A self requirements N/A N/A N/A req fgraph N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A N/A print N/A %s%s id=%i N/A N/A level N/A str N/A self apply N/A id self file stream N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A N/A self fn args kwargs N/A __str__ N/A N/A self N/A N/A N/A N/A self __name__ N/A N/A optimizer N/A N/A f N/A N/A N/A 
    Decorator for FromFunctionOptimizer.

     N/A rval N/A FromFunctionOptimizer f N/A N/A rval __name__ N/A f __name__ N/A rval N/A inplace_optimizer N/A N/A f N/A N/A N/A 
    Decorator for FromFunctionOptimizer.

     N/A dh_handler N/A dh DestroyHandler N/A requirements N/A N/A N/A N/A fgraph N/A N/A N/A fgraph attach_feature N/A dh_handler N/A rval N/A FromFunctionOptimizer f requirements N/A N/A rval __name__ N/A f __name__ N/A rval N/A SeqOptimizer N/A Optimizer list N/A N/A 
    WRITEME

    Takes a list of L{Optimizer} instances and applies them
    sequentially.

     warn N/A N/A exc self optimizer N/A N/A N/A 
        Default failure_callback for SeqOptimizer.

         N/A N/A N/A _logger error N/A SeqOptimizer apply %s N/A str optimizer N/A N/A N/A _logger error Traceback: N/A N/A N/A _logger error N/A N/A traceback format_exc N/A N/A N/A config on_opt_error raise N/A N/A exc N/A N/A N/A N/A config on_opt_error pdb N/A N/A N/A N/A pdb post_mortem N/A N/A N/A sys exc_info N/A 2 N/A staticmethod __init__ N/A N/A self N/A opts kw N/A N/A 
        WRITEME

         N/A N/A N/A N/A len opts 1 N/A isinstance N/A opts N/A 0 N/A list tuple N/A N/A opts N/A opts N/A 0 N/A N/A self N/A opts N/A N/A self failure_callback N/A N/A kw pop failure_callback None N/A apply N/A N/A self fgraph N/A N/A N/A 
        WRITEME

        Applies each L{Optimizer} in self in turn.

         N/A l N/A N/A N/A fgraph profile N/A N/A validate_before N/A N/A fgraph profile validate_time N/A sub_validate_time N/A validate_before N/A N/A sub_validate_time N/A N/A callback_before N/A fgraph execute_callbacks_time N/A nb_node_before N/A len N/A fgraph apply_nodes N/A sub_profs N/A N/A optimizer self N/A N/A N/A N/A t0 N/A N/A time time N/A sub_prof N/A N/A optimizer optimize fgraph N/A N/A N/A l append N/A float N/A N/A N/A time time t0 N/A N/A N/A sub_profs append sub_prof N/A N/A fgraph profile N/A N/A N/A N/A sub_validate_time append N/A N/A fgraph profile validate_time N/A N/A N/A AssertionError N/A N/A N/A N/A Exception N/A e N/A N/A N/A self failure_callback N/A N/A N/A N/A self failure_callback e self optimizer N/A N/A N/A N/A N/A fgraph profile N/A N/A validate_time N/A N/A N/A fgraph profile validate_time validate_before N/A N/A validate_time None N/A callback_time N/A N/A fgraph execute_callbacks_time callback_before N/A N/A self l validate_time callback_time nb_node_before N/A len N/A fgraph apply_nodes sub_profs sub_validate_time N/A __str__ N/A N/A self N/A N/A N/A N/A SeqOpt(%s) N/A N/A list __str__ self N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A list __repr__ self N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A name N/A getattr self name None N/A N/A print N/A %s%s %s id=%i N/A N/A level N/A N/A self __class__ __name__ name N/A id self file stream N/A N/A depth 0 N/A N/A depth 1 N/A opt self N/A N/A N/A N/A opt print_summary stream level N/A level 2 depth depth N/A print_profile N/A N/A stream prof level N/A 0 N/A N/A N/A opts prof validate_time callback_time nb_node_before nb_node_after sub_profs sub_validate_time prof N/A blanc N/A level N/A N/A print blanc SeqOptimizer end file stream N/A N/A hasattr opts name N/A N/A N/A print blanc N/A opts name end file stream N/A N/A N/A hasattr opts __name__ N/A N/A N/A print blanc N/A opts __name__ end file stream N/A N/A print N/A  time %.3fs for %d/%d nodes before/after optimization N/A N/A sum prof nb_node_before nb_node_after file stream N/A N/A print blanc N/A   %.3fs for callback callback_time file stream N/A N/A print blanc N/A       %.3fs for fgraph.validate() validate_time file stream N/A N/A level 0 N/A N/A N/A print blanc   time      - (name, class, index) - validate time file stream N/A ll N/A N/A opt opts N/A N/A N/A hasattr opt __name__ N/A N/A N/A N/A ll append N/A N/A opt __name__ N/A N/A opt __class__ __name__ N/A N/A opts index opt N/A N/A N/A N/A ll append N/A N/A opt name N/A N/A opt __class__ __name__ N/A N/A opts index opt N/A lll N/A sorted N/A zip prof ll key N/A N/A N/A a N/A N/A a N/A 0 N/A N/A t opt N/A lll N/A -1 N/A N/A sub_validate_time N/A N/A i N/A opt N/A -1 N/A val_time N/A N/A sub_validate_time N/A N/A i 1 N/A sub_validate_time N/A i N/A N/A print blanc N/A   %.6fs - %s - %.3fs N/A t opt val_time file stream N/A N/A N/A print blanc N/A   %.6fs - %s N/A t opt file stream N/A N/A sub_profs N/A N/A opt N/A -1 N/A N/A N/A N/A N/A opts N/A N/A opt N/A -1 print_profile stream N/A sub_profs N/A N/A opt N/A -1 level N/A level 1 N/A N/A print file stream N/A staticmethod merge_profile N/A N/A prof1 prof2 N/A N/A N/A 
        Merge 2 profiles returned by this cass apply() fct.

         N/A new_t N/A N/A new_l N/A N/A new_sub_profile N/A N/A l N/A N/A N/A set N/A prof1 N/A 0 intersection N/A set N/A prof2 N/A 0 N/A N/A idx1 N/A N/A N/A prof1 N/A 0 index l N/A idx2 N/A N/A N/A prof2 N/A 0 index l N/A N/A N/A new_t append N/A N/A N/A prof1 N/A 1 N/A idx1 N/A N/A prof2 N/A 1 N/A idx2 N/A N/A N/A new_l append l N/A N/A hasattr l merge_profile N/A N/A N/A N/A len N/A N/A prof1 N/A 6 N/A idx1 N/A len N/A N/A prof2 N/A 6 N/A idx2 N/A N/A N/A new_sub_profile append N/A N/A l merge_profile N/A N/A prof1 N/A 6 N/A idx1 N/A N/A prof2 N/A 6 N/A idx2 N/A N/A N/A N/A new_sub_profile append None six StringIO N/A l N/A N/A N/A set N/A prof1 N/A 0 symmetric_difference N/A set N/A prof2 N/A 0 N/A N/A new_l_names N/A N/A o name N/A o new_l N/A N/A N/A l name new_l_names N/A N/A idx N/A N/A new_l_names index N/A l name N/A io1 N/A StringIO N/A io2 N/A StringIO N/A N/A N/A l print_summary io1 N/A N/A N/A N/A new_l N/A idx print_summary io2 N/A N/A N/A N/A io1 read N/A N/A io2 read N/A N/A N/A l N/A prof1 N/A 0 N/A N/A p prof1 N/A N/A p prof2 N/A N/A new_t N/A idx N/A N/A p N/A 1 N/A N/A N/A N/A p N/A 0 index l N/A N/A hasattr l merge_profile N/A N/A N/A N/A len N/A N/A p N/A 6 N/A N/A N/A N/A p N/A 0 index l N/A len N/A new_sub_profile N/A idx N/A N/A new_sub_profile N/A idx N/A N/A l merge_profile N/A new_sub_profile N/A idx N/A N/A p N/A 6 N/A N/A N/A N/A p N/A 0 index l N/A N/A N/A new_sub_profile N/A idx None N/A N/A N/A l N/A prof1 N/A 0 N/A N/A p prof1 N/A N/A p prof2 N/A N/A N/A new_t append N/A N/A p N/A 1 N/A N/A N/A N/A p N/A 0 index l N/A idx N/A N/A N/A p N/A 0 index l N/A N/A N/A new_l append l N/A N/A N/A new_sub_profile append N/A N/A p N/A 6 N/A idx N/A new_opt N/A SeqOptimizer new_l N/A N/A N/A N/A set N/A N/A l name N/A l N/A prof1 N/A 0 issubset N/A set N/A N/A l name N/A l new_l N/A N/A N/A N/A set N/A N/A l name N/A l N/A prof2 N/A 0 issubset N/A set N/A N/A l name N/A l new_l N/A N/A N/A len new_t N/A len new_opt N/A len new_sub_profile N/A N/A new_opt new_t N/A N/A prof1 N/A 2 N/A prof2 N/A 2 N/A N/A prof1 N/A 3 N/A prof2 N/A 3 -1 -1 new_sub_profile N/A N/A staticmethod N/A _metadict N/A N/A N/A 
    WRITEME

     __init__ N/A N/A self N/A N/A N/A N/A self d N/A N/A N/A self l N/A N/A __getitem__ N/A N/A self item N/A N/A N/A N/A N/A self get item None N/A __setitem__ N/A N/A self item value N/A N/A N/A N/A N/A N/A N/A self d N/A item value N/A N/A N/A Exception N/A N/A N/A i N/A key val N/A enumerate N/A self l N/A N/A N/A key item N/A N/A N/A N/A self l N/A i N/A item value N/A N/A N/A N/A N/A self l append N/A item value N/A __delitem__ N/A N/A self item N/A N/A N/A N/A N/A N/A item N/A self d N/A N/A N/A N/A self d N/A item N/A N/A N/A N/A TypeError N/A e N/A N/A N/A unhashable type N/A str e N/A N/A i N/A key val N/A enumerate N/A self l N/A N/A N/A key item N/A N/A N/A N/A self l N/A i N/A N/A N/A KeyError item N/A discard N/A N/A self item N/A N/A N/A N/A N/A N/A item N/A self d N/A N/A N/A N/A self d N/A item N/A N/A N/A N/A TypeError N/A e N/A N/A N/A unhashable type N/A str e N/A N/A i N/A key val N/A enumerate N/A self l N/A N/A N/A key item N/A N/A N/A N/A self l N/A i N/A N/A get N/A N/A self item default N/A N/A N/A N/A N/A N/A N/A self d N/A item N/A N/A N/A Exception N/A N/A N/A item2 value N/A self l N/A N/A N/A N/A N/A item item2 N/A N/A value N/A N/A N/A item equals item2 N/A N/A value N/A N/A N/A Exception N/A N/A N/A item item2 N/A N/A value N/A N/A default N/A clear N/A N/A self N/A N/A N/A N/A self d N/A N/A N/A self l N/A N/A __str__ N/A N/A self N/A N/A N/A N/A (%s, %s) N/A N/A self d N/A self l N/A N/A MergeFeature N/A object N/A N/A 
    Keeps track of variables in fgraph that cannot be merged together.

    That way, the MergeOptimizer can remember the result of the last merge
    pass on the fgraph.

     on_attach N/A N/A self fgraph N/A N/A N/A N/A N/A hasattr fgraph merge_feature N/A N/A fgraph merge_feature self N/A N/A self seen_constants N/A set N/A N/A self const_sig N/A _metadict N/A N/A self const_sig_inv N/A _metadict N/A N/A self nodes_seen N/A set N/A N/A self noinput_nodes N/A OrderedSet N/A N/A self scheduled N/A N/A N/A self blacklist N/A N/A node N/A N/A fgraph toposort N/A N/A N/A N/A self on_import fgraph node on_attach N/A on_change_input N/A N/A self fgraph node i r new_r reason N/A N/A N/A N/A node N/A self nodes_seen N/A N/A N/A N/A N/A self nodes_seen discard node N/A N/A N/A self process_node fgraph node N/A N/A N/A isinstance node string_types N/A N/A N/A node inputs N/A N/A isinstance new_r N/A graph Constant N/A N/A N/A N/A self process_constant fgraph new_r N/A on_import N/A N/A self fgraph node reason N/A N/A N/A c N/A node inputs N/A N/A N/A isinstance c N/A graph Constant N/A N/A N/A N/A self process_constant fgraph c N/A N/A N/A self process_node fgraph node N/A on_prune N/A N/A self fgraph node reason N/A N/A N/A N/A N/A N/A self nodes_seen discard node N/A N/A N/A node inputs N/A N/A N/A N/A N/A self noinput_nodes discard node N/A c N/A node inputs N/A N/A N/A N/A isinstance c N/A graph Constant N/A N/A len N/A c clients 1 N/A N/A sig N/A N/A self const_sig N/A c N/A N/A N/A N/A self const_sig discard c N/A N/A N/A N/A self const_sig_inv discard sig N/A N/A N/A N/A self seen_constants discard N/A id c N/A process_constant N/A N/A self fgraph c N/A N/A N/A 
        Check if a constant can be merged, and queue that replacement.

         N/A N/A N/A id c N/A self seen_constants N/A N/A N/A sig N/A N/A c merge_signature N/A other_c N/A N/A N/A self const_sig_inv get sig None N/A N/A other_c None N/A N/A N/A c name N/A N/A N/A other_c name N/A c name N/A N/A N/A N/A self scheduled append N/A N/A N/A c other_c merge N/A N/A N/A N/A self const_sig N/A c sig N/A N/A N/A self const_sig_inv N/A sig c N/A N/A N/A N/A self seen_constants add N/A id c N/A process_node N/A N/A self fgraph node N/A N/A N/A 
        Check if a node can be merged, and queue that replacement.

         N/A N/A node N/A self nodes_seen N/A N/A N/A node_has_assert False N/A N/A node inputs N/A N/A N/A N/A len N/A N/A N/A node inputs N/A 0 clients 0 N/A N/A N/A node 0 N/A N/A N/A node inputs N/A 0 clients N/A merge_candidates N/A c N/A N/A c i N/A N/A N/A node inputs N/A 0 clients N/A c N/A self nodes_seen N/A i N/A N/A N/A N/A N/A i owner N/A isinstance N/A N/A i owner op N/A N/A N/A theano tensor opt Assert N/A N/A node_has_assert True N/A assert_clients N/A c N/A N/A c _ N/A N/A N/A N/A i owner inputs N/A 0 clients N/A c N/A self nodes_seen N/A idx N/A range N/A len assert_clients N/A N/A client N/A assert_clients N/A idx N/A N/A isinstance N/A N/A i owner op N/A N/A N/A theano tensor opt Assert N/A N/A c N/A N/A N/A client outputs N/A 0 clients N/A N/A N/A N/A c N/A 0 N/A self nodes_seen N/A N/A N/A N/A assert_clients append N/A c N/A 0 N/A N/A N/A merge_candidates extend assert_clients N/A N/A merge_candidates N/A self noinput_nodes N/A replacement_candidates N/A N/A candidate merge_candidates N/A N/A N/A candidate node N/A N/A N/A N/A N/A len N/A node inputs N/A len N/A candidate inputs N/A N/A N/A cand_has_assert False N/A cand_inputs_assert_removed N/A N/A i N/A candidate inputs N/A N/A N/A N/A i owner N/A isinstance N/A N/A i owner op N/A N/A N/A theano tensor opt Assert N/A N/A cand_has_assert True N/A N/A N/A cand_inputs_assert_removed append N/A N/A N/A i owner inputs N/A 0 N/A N/A N/A N/A cand_inputs_assert_removed append i N/A node_has_assert N/A N/A node_inputs_assert_removed N/A N/A i N/A node inputs N/A N/A N/A N/A i owner N/A isinstance N/A N/A i owner op N/A N/A N/A theano tensor opt Assert N/A N/A N/A N/A node_inputs_assert_removed append N/A N/A N/A i owner inputs N/A 0 N/A N/A N/A N/A node_inputs_assert_removed append i N/A N/A node_inputs_assert_removed N/A node inputs N/A inputs_match N/A all N/A N/A node_in cand_in N/A N/A node_in cand_in N/A zip node_inputs_assert_removed cand_inputs_assert_removed N/A N/A inputs_match N/A N/A node op N/A candidate op N/A N/A N/A N/A node candidate N/A self blacklist N/A N/A N/A N/A N/A node_has_assert cand_has_assert N/A N/A pairs N/A list N/A zip N/A node outputs N/A candidate outputs N/A N/A merge N/A len N/A node outputs N/A N/A N/A node_has_assert N/A cand_has_assert N/A N/A pairs N/A list N/A zip N/A candidate outputs N/A node outputs N/A N/A merge N/A len N/A node outputs N/A N/A new_inputs N/A N/A self get_merged_assert_input node candidate N/A new_node N/A N/A node op new_inputs N/A pairs N/A N/A list N/A zip N/A node outputs N/A N/A new_node owner outputs N/A N/A new_node N/A len N/A node outputs N/A list N/A zip N/A candidate outputs N/A N/A new_node owner outputs N/A N/A new_node N/A len N/A node outputs N/A pair pairs N/A N/A N/A node_output cand_output N/A pair N/A 2 N/A N/A node_output name N/A N/A N/A cand_output name N/A node_output name N/A N/A N/A replacement_candidates append pairs N/A replacement_candidates N/A N/A N/A N/A N/A self scheduled append replacement_candidates N/A N/A N/A N/A N/A self nodes_seen add node N/A N/A N/A node inputs N/A N/A N/A N/A N/A self noinput_nodes add node N/A get_merged_assert_input N/A N/A self node candidate N/A N/A N/A new_inputs N/A N/A N/A node_i cand_i N/A zip N/A node inputs N/A candidate inputs N/A N/A N/A N/A node_i owner N/A isinstance N/A N/A node_i owner op N/A N/A N/A theano tensor opt Assert N/A N/A N/A N/A cand_i owner N/A isinstance N/A N/A cand_i owner op N/A N/A N/A theano tensor opt Assert N/A N/A node_cond N/A N/A N/A node_i owner inputs N/A 1 N/A cand_cond N/A N/A N/A cand_i owner inputs N/A 1 N/A new_cond N/A list N/A set N/A node_cond cand_cond N/A N/A N/A new_inputs append N/A N/A N/A N/A theano tensor opt assert_op N/A N/A N/A node_i owner inputs N/A 0 new_cond N/A N/A N/A N/A new_inputs append node_i N/A N/A N/A N/A new_inputs append cand_i N/A new_inputs N/A N/A MergeOptimizer N/A Optimizer N/A N/A 
    Merges parts of the graph that are identical and redundant.

    The basic principle is that if two Applies have ops that compare equal, and
    identical inputs, then they do not both need to be computed. The clients of
    one are transferred to the other and one of them is removed from the graph.
    This procedure is carried out in input->output order through the graph.

    The first step of merging is constant-merging, so that all clients of an
    int(1) for example, are transferred to a particular instance of int(1).

     add_requirements N/A N/A self fgraph N/A N/A N/A N/A N/A hasattr fgraph merge_feature N/A N/A N/A N/A fgraph attach_feature N/A MergeFeature N/A apply N/A N/A self fgraph N/A N/A N/A sched N/A N/A fgraph merge_feature scheduled N/A nb_fail 0 N/A t0 N/A N/A time time N/A N/A fgraph profile N/A N/A validate_before N/A N/A fgraph profile validate_time N/A callback_before N/A fgraph execute_callbacks_time N/A callbacks_before N/A N/A N/A fgraph execute_callbacks_times copy N/A nb_merged 0 N/A nb_constant 0 N/A sched N/A N/A pairs_list N/A N/A sched pop N/A success True N/A pairs_ pairs_list N/A N/A N/A var candidate merge_mode N/A pairs_ N/A 0 N/A N/A N/A merge_mode new_node N/A hasattr var fgraph N/A N/A N/A N/A N/A N/A N/A hasattr var fgraph N/A N/A hasattr candidate fgraph N/A N/A N/A pairs N/A N/A pair N/A 2 N/A pair pairs_ N/A N/A N/A var owner N/A candidate owner N/A N/A node N/A var owner N/A candidate N/A candidate owner N/A cand_inputs_assert_removed N/A N/A i N/A candidate inputs N/A N/A N/A N/A i owner N/A isinstance N/A N/A i owner op N/A N/A N/A theano tensor opt Assert N/A N/A N/A N/A cand_inputs_assert_removed append N/A N/A N/A i owner inputs N/A 0 N/A N/A N/A N/A cand_inputs_assert_removed append i N/A node_inputs_assert_removed N/A N/A i N/A node inputs N/A N/A N/A N/A i owner N/A isinstance N/A N/A i owner op N/A N/A N/A theano tensor opt Assert N/A N/A N/A N/A node_inputs_assert_removed append N/A N/A N/A i owner inputs N/A 0 N/A N/A N/A N/A node_inputs_assert_removed append i N/A N/A merge_mode new_node N/A N/A inputs_match True N/A N/A inputs_match N/A all N/A N/A node_in cand_in N/A N/A node_in cand_in N/A zip node_inputs_assert_removed cand_inputs_assert_removed N/A N/A inputs_match N/A N/A N/A N/A hasattr N/A N/A N/A pairs N/A 0 N/A 0 fgraph destroy_handler N/A N/A clients N/A N/A N/A N/A pairs N/A 0 N/A 0 clients N/A N/A N/A pairs N/A 0 N/A 1 clients N/A N/A N/A sum N/A N/A i N/A N/A utils flatten N/A N/A N/A N/A c op destroy_map values N/A N/A c i clients N/A N/A c output N/A hasattr N/A c op destroy_map 1 N/A N/A N/A N/A N/A N/A N/A fgraph replace_all_validate pairs MergeOptimizer N/A N/A N/A InconsistencyError N/A N/A success False N/A nb_fail 1 N/A N/A N/A N/A N/A fgraph merge_feature blacklist append N/A N/A N/A N/A pairs N/A 0 N/A 0 owner N/A N/A N/A pairs N/A 0 N/A 1 owner N/A success N/A N/A nb_merged N/A len pairs N/A N/A isinstance N/A N/A pairs N/A 0 N/A 0 N/A graph Constant N/A N/A nb_constant 1 N/A N/A N/A fgraph profile N/A N/A validate_time N/A N/A N/A fgraph profile validate_time validate_before N/A callback_time N/A N/A fgraph execute_callbacks_time callback_before N/A callbacks_time N/A N/A N/A k v N/A iteritems N/A fgraph execute_callbacks_times N/A N/A N/A k callbacks_before N/A N/A N/A callbacks_time N/A k N/A v N/A callbacks_before N/A k N/A N/A N/A callbacks_time N/A k v N/A N/A validate_time None N/A callback_time None N/A callbacks_time N/A N/A N/A N/A fgraph merge_feature blacklist N/A N/A N/A nb_fail N/A N/A N/A time time t0 validate_time callback_time callbacks_time nb_merged nb_constant N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self __class__ __name__ N/A print_profile N/A N/A stream prof level N/A 0 N/A N/A N/A nb_fail replace_time validate_time callback_time callbacks_time nb_merged nb_constant prof N/A blanc N/A level N/A N/A print blanc MergeOptimizer file stream N/A N/A print blanc N/A   nb fail=%5d merged=%5d constant=%5d N/A nb_fail nb_merged nb_constant file stream N/A N/A print blanc N/A   time replace=%2.2f validate=%2.2f callback=%2.2f N/A replace_time validate_time callback_time file stream N/A N/A callback_time 1 N/A N/A N/A print blanc   callbacks_time file stream N/A i N/A sorted N/A iteritems callbacks_time key N/A N/A N/A a N/A N/A a N/A 1 N/A N/A N/A N/A i N/A 1 0 N/A N/A N/A print i N/A staticmethod merge_profile N/A N/A prof1 prof2 N/A N/A merge_none_number N/A N/A v1 v2 N/A N/A N/A N/A v1 None N/A N/A v2 N/A N/A v2 None N/A N/A v1 N/A N/A v1 v2 N/A N/A nb_fail N/A N/A prof1 N/A 0 N/A prof2 N/A 0 N/A replace_time N/A N/A prof1 N/A 1 N/A prof2 N/A 1 N/A validate_time N/A merge_none_number N/A prof1 N/A 2 N/A prof2 N/A 2 N/A callback_time N/A merge_none_number N/A prof1 N/A 3 N/A prof2 N/A 3 N/A callbacks_time N/A merge_dict N/A prof1 N/A 4 N/A prof2 N/A 4 N/A nb_merged N/A N/A prof1 N/A 5 N/A prof2 N/A 5 N/A nb_constant N/A N/A prof1 N/A 6 N/A prof2 N/A 6 N/A N/A nb_fail replace_time validate_time callback_time callbacks_time nb_merged nb_constant N/A staticmethod N/A is_same_graph_with_merge N/A N/A var1 var2 givens N/A None N/A N/A 
    Merge-based implementation of `theano.gof.graph.is_same_graph`.

    See help on `theano.gof.graph.is_same_graph` for additional documentation.

     N/A N/A givens None N/A N/A givens N/A N/A copied N/A N/A copy deepcopy N/A var1 var2 givens N/A vars N/A copied N/A 0 2 N/A givens N/A copied N/A 2 N/A inputs N/A N/A N/A N/A theano gof graph inputs vars N/A fgraph N/A N/A N/A N/A theano gof fg FunctionGraph inputs vars clone False N/A N/A to_replace replace_by N/A iteritems givens N/A N/A N/A N/A fgraph replace to_replace replace_by N/A N/A N/A N/A MergeOptimizer optimize fgraph N/A vars_replaced N/A N/A N/A givens get v v N/A v vars N/A N/A o1 o2 N/A N/A v owner N/A v vars_replaced N/A N/A N/A o1 None N/A o2 None N/A N/A N/A N/A vars_replaced N/A 0 N/A vars_replaced N/A 1 N/A N/A N/A o1 o2 N/A pre_constant_merge N/A N/A vars N/A N/A N/A 
    Merge constants in the subgraph used to compute nodes in `vars`.

    `vars` is a list of nodes, and we want to merge together nodes
    that are constant inputs used to compute nodes in that list.

    Notes
    -----
    This function will ignore nodes that are in an fgraph.
    It is used to pre-merge nodes generated inside an optimization,
    before it is inserted in the fgraph.
    It is useful if there are many such replacements to make,
    so that DebugMode will not check each of them.

     N/A seen_var N/A set N/A const_sig_inv N/A N/A N/A isinstance vars N/A graph Variable N/A N/A vars N/A vars recursive_merge N/A N/A var N/A N/A N/A N/A var seen_var N/A N/A var N/A N/A N/A hasattr var owner N/A N/A var N/A N/A N/A var owner N/A hasattr N/A var owner fgraph N/A N/A var N/A N/A N/A seen_var add var N/A N/A isinstance var N/A graph Constant N/A N/A sig N/A N/A var signature N/A N/A N/A N/A sig const_sig_inv N/A N/A N/A const_sig_inv N/A sig N/A N/A const_sig_inv N/A sig var N/A N/A N/A TypeError N/A N/A N/A N/A warnings warn N/A We work around a problem, the following variable signature isn't hashable. Please, report this to theano-dev so that the better fix is done. %s var N/A N/A var N/A N/A var owner N/A N/A N/A idx inp N/A enumerate N/A N/A var owner inputs N/A N/A N/A N/A N/A var owner inputs N/A idx N/A recursive_merge inp N/A var N/A N/A N/A list N/A map recursive_merge vars N/A LocalOptimizer N/A object N/A N/A 
    A class for node-based optimizations.

    Instances should implement the transform function,
    and be passed to configure a fgraph-based Optimizer instance.

     __hash__ N/A N/A self N/A N/A N/A N/A N/A hasattr self _optimizer_idx N/A N/A N/A self _optimizer_idx N/A _optimizer_idx N/A 0 N/A N/A _optimizer_idx N/A 0 1 N/A N/A self _optimizer_idx N/A tracks N/A N/A self N/A N/A N/A 
        Return the list of op classes that this opt applies to.

        Return None to apply to all nodes.

         N/A None N/A transform N/A N/A self node N/A N/A N/A 
        Transform a subgraph whose output is `node`.

        Subclasses should implement this function so that it returns one of two
        kinds of things:

        - False to indicate that no optimization can be applied to this `node`;
          or
        - <list of variables> to use in place of `node`'s outputs in the
          greater graph.
        - dict(old variables -> new variables). A dictionary that map
          from old variables to new variables to replace.

        Parameters
        ----------
        node : an Apply instance

         N/A N/A N/A utils MethodNotDefined transform N/A type self N/A N/A self __class__ __name__ N/A add_requirements N/A N/A self fgraph N/A N/A N/A 
        If this local optimization wants to add some requirements to the
        fgraph, this is the place to do it.

         N/A N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A N/A print N/A %s%s id=%i N/A N/A level N/A N/A self __class__ __name__ N/A id self file stream N/A N/A LocalMetaOptimizer N/A LocalOptimizer N/A N/A 
    Base class for meta-optimizers that try a set of LocalOptimizers
    to replace a node and choose the one that executes the fastest.

     __init__ N/A N/A self tracks optimizers N/A None N/A N/A N/A N/A self _tracks tracks N/A N/A self optimizers N/A list optimizers N/A N/A self verbose N/A N/A config metaopt verbose N/A register N/A N/A self optimizer N/A N/A N/A N/A N/A N/A self optimizers append optimizer N/A tracks N/A N/A self N/A N/A N/A N/A self _tracks N/A transform N/A N/A self node N/A N/A N/A N/A N/A self _tracks None N/A N/A N/A N/A isinstance N/A node op N/A tuple N/A self _tracks N/A N/A N/A givens N/A N/A missing N/A set N/A input N/A node inputs N/A N/A N/A isinstance input N/A N/A theano compile SharedVariable N/A N/A N/A N/A N/A hasattr N/A input tag test_value N/A N/A N/A givens N/A input N/A N/A theano shared N/A N/A N/A input type filter N/A N/A input tag test_value N/A input name broadcastable N/A input broadcastable borrow True N/A N/A N/A N/A missing add input N/A missing N/A N/A N/A N/A givens update N/A N/A self provide_inputs node missing N/A N/A N/A missing difference_update N/A N/A givens keys N/A missing N/A N/A N/A self verbose N/A N/A N/A print N/A %s cannot meta-optimize %s, %d of %d input shapes unknown N/A N/A N/A self __class__ __name__ node N/A len missing N/A node nin N/A N/A N/A self verbose N/A N/A N/A print N/A %s meta-optimizing %s (%d choices): N/A N/A N/A self __class__ __name__ node N/A len N/A self optimizers N/A timings N/A N/A opt N/A self optimizers N/A N/A outputs N/A N/A opt transform node N/A outputs N/A N/A N/A N/A fn N/A N/A theano function N/A outputs givens givens on_unused_input ignore N/A timing N/A min N/A N/A N/A self time_call fn N/A _ N/A range 3 N/A N/A N/A Exception N/A e N/A N/A N/A self verbose N/A N/A N/A print N/A * %s: exception opt e N/A N/A N/A N/A self verbose N/A N/A N/A print N/A * %s: %.5g sec N/A opt timing N/A N/A N/A timings append N/A timing outputs opt N/A N/A N/A self verbose N/A N/A N/A print N/A * %s: not applicable opt N/A timings N/A N/A N/A N/A timings sort N/A N/A self verbose N/A N/A N/A print N/A = %s N/A N/A timings N/A 0 N/A 2 N/A N/A N/A timings N/A 0 N/A 1 N/A N/A provide_inputs N/A N/A self node inputs N/A N/A N/A 
        If implemented, returns a dictionary mapping all symbolic variables
        in ``inputs`` to SharedVariable instances of suitable dummy values.
        The ``node`` can be inspected to infer required input shapes.

         N/A N/A NotImplementedError N/A time_call N/A N/A self fn N/A N/A N/A start N/A N/A time time N/A N/A fn N/A N/A N/A N/A time time start N/A N/A FromFunctionLocalOptimizer N/A LocalOptimizer N/A N/A 
    WRITEME

     __init__ N/A N/A self fn tracks requirements N/A None N/A N/A N/A N/A self transform fn N/A N/A self _tracks tracks N/A N/A self requirements requirements N/A add_requirements N/A N/A self fgraph N/A N/A N/A req N/A self requirements N/A N/A N/A req fgraph N/A tracks N/A N/A self N/A N/A N/A N/A self _tracks N/A __str__ N/A N/A self N/A N/A N/A N/A getattr self __name__ <FromFunctionLocalOptimizer instance> N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A N/A print N/A %s%s id=%i N/A N/A level N/A str N/A self transform N/A id self file stream N/A N/A local_optimizer N/A N/A tracks inplace requirements N/A False N/A N/A decorator N/A N/A f N/A N/A N/A 
        WRITEME

         N/A N/A tracks None N/A N/A N/A N/A len tracks 0 N/A N/A N/A ValueError Use None instead of an empty list to apply to all nodes. N/A f __module__ N/A f __name__ N/A t tracks N/A N/A N/A N/A N/A isinstance t N/A op Op N/A issubclass t N/A op PureOp N/A N/A N/A ValueError Tracks are op classes or instances N/A f __module__ N/A f __name__ N/A req requirements N/A inplace N/A N/A dh_handler N/A dh DestroyHandler N/A req N/A N/A tuple requirements N/A N/A N/A N/A fgraph N/A N/A N/A fgraph attach_feature N/A dh_handler N/A rval N/A FromFunctionLocalOptimizer f tracks req N/A N/A rval __name__ N/A f __name__ N/A rval N/A N/A decorator N/A LocalOptGroup N/A LocalOptimizer N/A N/A 
    WRITEME

     __init__ N/A N/A self N/A optimizers N/A N/A N/A N/A N/A len optimizers 1 N/A isinstance N/A optimizers N/A 0 list N/A N/A optimizers N/A tuple N/A optimizers N/A 0 N/A N/A self opts optimizers N/A N/A self reentrant N/A any N/A N/A getattr opt reentrant True N/A opt optimizers N/A N/A self retains_inputs N/A all N/A N/A getattr opt retains_inputs False N/A opt optimizers N/A __str__ N/A N/A self N/A N/A N/A N/A getattr self __name__ N/A LocalOptGroup(%s) N/A N/A , join N/A N/A str o N/A o N/A self opts N/A tracks N/A N/A self N/A N/A N/A t N/A N/A l N/A self opts N/A N/A tt N/A N/A l tracks N/A tt N/A N/A N/A N/A t extend tt N/A t N/A transform N/A N/A self node N/A N/A N/A opt N/A self opts N/A N/A repl N/A N/A opt transform node N/A repl N/A N/A repl N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A N/A print N/A %s%s id=%i N/A N/A level N/A N/A self __class__ __name__ N/A id self file stream N/A N/A depth 0 N/A N/A depth 1 N/A lopt N/A self opts N/A N/A N/A N/A lopt print_summary stream level N/A level 2 depth depth N/A add_requirements N/A N/A self fgraph N/A N/A N/A opt N/A self opts N/A N/A N/A N/A opt add_requirements fgraph N/A N/A OpSub N/A LocalOptimizer N/A N/A 
    WRITEME

    Replaces the application of a certain op by the application of
    another op that takes the same inputs as what they are replacing.

    Parameters
    ----------
    op1, op2
        op1.make_node and op2.make_node must take the same number of
        inputs and have the same number of outputs.

    Examples
    --------
    OpSub(add, sub) ==>
        add(div(x, y), add(y, x)) -> sub(div(x, y), sub(y, x))

     N/A reentrant False N/A retains_inputs True __init__ N/A N/A self op1 op2 transfer_tags N/A True N/A N/A N/A self op1 op1 N/A N/A self op2 op2 N/A N/A self transfer_tags transfer_tags N/A op_key N/A N/A self N/A N/A N/A N/A self op1 N/A tracks N/A N/A self N/A N/A N/A N/A N/A self op1 N/A transform N/A N/A self node N/A N/A N/A N/A N/A node op N/A self op1 N/A N/A False N/A repl N/A N/A N/A self op2 make_node N/A node inputs N/A N/A self transfer_tags N/A N/A N/A repl tag N/A N/A copy copy N/A node tag N/A N/A output new_output N/A zip N/A node outputs N/A repl outputs N/A N/A N/A new_output tag N/A N/A copy copy N/A output tag N/A N/A repl outputs N/A __str__ N/A N/A self N/A N/A N/A N/A %s -> %s N/A N/A self op1 N/A self op2 N/A N/A OpRemove N/A LocalOptimizer N/A N/A 
    WRITEME

    Removes all applications of an op by transferring each of its
    outputs to the corresponding input.

     N/A reentrant False __init__ N/A N/A self op N/A N/A N/A N/A self op op N/A op_key N/A N/A self N/A N/A N/A N/A self op N/A tracks N/A N/A self N/A N/A N/A N/A N/A self op N/A transform N/A N/A self node N/A N/A N/A N/A N/A node op N/A self op N/A N/A False N/A N/A node inputs N/A __str__ N/A N/A self N/A N/A N/A N/A %s(x) -> x N/A self op N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A N/A print N/A %s%s(%s) id=%i N/A N/A level N/A N/A self __class__ __name__ N/A str N/A self op N/A id self file stream N/A N/A PatternSub N/A LocalOptimizer N/A N/A 
    WRITEME

    @todo update

    Replaces all occurrences of the input pattern by the output pattern:

    input_pattern ::= (op, <sub_pattern1>, <sub_pattern2>, ...)
    input_pattern ::= dict(pattern = <input_pattern>,
                            constraint = <constraint>)
    sub_pattern ::= input_pattern
    sub_pattern ::= string
    sub_pattern ::= a Constant instance
    sub_pattern ::= int
    sub_pattern ::= float
    constraint ::= lambda fgraph, expr: additional matching condition

    output_pattern ::= (op, <output_pattern1>, <output_pattern2>, ...)
    output_pattern ::= string
    output_pattern ::= int
    output_pattern ::= float

    Each string in the input pattern is a variable that will be set to
    whatever expression is found in its place. If the same string is
    used more than once, the same expression must be found in those
    places. If a string used in the input pattern is used in the
    output pattern, the matching expression will be inserted in its
    place. The input pattern cannot just be a string but the output
    pattern can.

    If you put a constant variable in the input pattern, there will be a
    match iff a constant variable with the same value and the same type
    is found in its place.

    You can add a constraint to the match by using the dict(...)  form
    described above with a 'constraint' key. The constraint must be a
    function that takes the fgraph and the current Variable that we are
    trying to match and returns True or False according to an
    arbitrary criterion.

    The constructor creates a PatternSub that replaces occurrences of
    in_pattern by occurrences of out_pattern.

    Parameters
    ----------
    in_pattern
        The input pattern that we want to replace.
    out_pattern
        The replacement pattern.
    allow_multiple_clients : bool
        If False, the pattern matching will fail if one of the subpatterns has
        more than one client.
    skip_identities_fn : TODO
    name
        Allows to override this optimizer name.
    pdb : bool
        If True, we invoke pdb when the first node in the pattern matches.
    tracks : optional
        The values that self.tracks() will return. Useful to speed up
        optimization sometimes.
    get_nodes : optional
        If you provide `tracks`, you must provide this parameter. It must be a
        function that takes the tracked node and returns a list of nodes on
        which we will try this optimizer.

    Notes
    -----
    `tracks` and `get_nodes` can be used to make this optimizer track a less
    frequent Op, so this will make this optimizer tried less frequently.

    Examples
    --------
    PatternSub((add, 'x', 'y'), (add, 'y', 'x'))
    PatternSub((multiply, 'x', 'x'), (square, 'x'))
    PatternSub((subtract, (add, 'x', 'y'), 'y'), 'x')
    PatternSub((power, 'x', Constant(double, 2.0)), (square, 'x'))
    PatternSub((boggle, {'pattern': 'x',
                         'constraint': lambda expr: expr.type == scrabble}),
               (scrabble, 'x'))
     __init__ N/A N/A self in_pattern out_pattern allow_multiple_clients skip_identities_fn name pdb tracks get_nodes values_eq_approx N/A False None None False N/A None None N/A N/A N/A self in_pattern in_pattern N/A N/A self out_pattern out_pattern N/A N/A self values_eq_approx values_eq_approx N/A N/A isinstance in_pattern N/A list tuple N/A N/A N/A self op N/A N/A self in_pattern N/A 0 N/A N/A N/A isinstance in_pattern dict N/A N/A N/A self op N/A N/A N/A self in_pattern N/A pattern N/A 0 N/A N/A N/A TypeError The pattern to search for must start with a specific Op instance. N/A N/A self __doc__ N/A N/A N/A N/A N/A self __class__ __doc__ 

This instance does:  N/A str self N/A N/A self allow_multiple_clients allow_multiple_clients N/A N/A self skip_identities_fn skip_identities_fn N/A name N/A N/A N/A self __name__ name N/A N/A self pdb pdb N/A N/A self _tracks tracks N/A N/A self get_nodes get_nodes N/A N/A tracks N/A N/A N/A get_nodes N/A op_key N/A N/A self N/A N/A N/A N/A self op N/A tracks N/A N/A self N/A N/A N/A N/A N/A self _tracks N/A N/A N/A N/A self _tracks N/A N/A N/A self op N/A transform N/A N/A self node get_nodes N/A True N/A N/A 
        Checks if the graph from node corresponds to in_pattern. If it does,
        constructs out_pattern and performs the replacement.

         N/A N/A get_nodes N/A N/A self get_nodes None N/A N/A real_node N/A N/A self get_nodes node N/A N/A N/A real_node output N/A N/A N/A ret N/A N/A self transform real_node get_nodes False N/A N/A N/A ret False N/A ret None N/A N/A N/A N/A len N/A real_node outputs N/A len ret N/A N/A self values_eq_approx N/A N/A N/A N/A ret tag values_eq_approx N/A self values_eq_approx N/A N/A dict N/A izip N/A real_node outputs ret N/A N/A N/A node op N/A self op N/A N/A False match N/A N/A pattern expr u allow_multiple_clients pdb N/A False False N/A retry_with_equiv N/A N/A N/A N/A N/A N/A N/A self skip_identities_fn N/A N/A False N/A expr_equiv N/A N/A self skip_identities_fn expr N/A N/A expr_equiv None N/A N/A False N/A N/A match pattern expr_equiv u allow_multiple_clients allow_multiple_clients N/A N/A N/A isinstance pattern N/A list tuple N/A N/A N/A N/A expr owner None N/A N/A False N/A N/A N/A N/A N/A N/A expr owner op N/A pattern N/A 0 N/A N/A allow_multiple_clients N/A N/A len N/A expr clients 1 N/A N/A N/A retry_with_equiv N/A N/A N/A N/A len pattern 1 N/A len N/A N/A expr owner inputs N/A N/A N/A retry_with_equiv N/A N/A p v N/A zip N/A pattern N/A 1 N/A N/A expr owner inputs N/A N/A u N/A match p v u N/A self allow_multiple_clients N/A N/A u N/A N/A False N/A N/A N/A isinstance pattern dict N/A N/A N/A N/A real_pattern N/A pattern N/A pattern N/A N/A N/A KeyError N/A N/A N/A KeyError N/A Malformed pattern: %s (expected key 'pattern') pattern N/A constraint N/A N/A pattern get constraint N/A N/A N/A expr N/A True N/A N/A constraint expr N/A N/A N/A match real_pattern expr u N/A N/A pattern get allow_multiple_clients allow_multiple_clients N/A N/A N/A retry_with_equiv N/A N/A N/A isinstance pattern string_types N/A N/A v N/A N/A unify Var pattern N/A N/A N/A N/A u N/A v v N/A N/A u N/A v expr N/A N/A N/A retry_with_equiv N/A N/A u N/A N/A u merge expr v N/A N/A N/A N/A isinstance pattern N/A int float N/A isinstance expr N/A graph Constant N/A N/A N/A N/A numpy all N/A N/A N/A N/A N/A theano tensor constant pattern value N/A expr value N/A N/A u N/A N/A N/A retry_with_equiv N/A N/A N/A N/A isinstance pattern N/A graph Constant N/A isinstance expr N/A graph Constant N/A N/A pattern equals expr N/A N/A u N/A N/A N/A retry_with_equiv N/A pdb N/A N/A pdb N/A N/A N/A pdb set_trace N/A u N/A N/A u N/A match N/A self in_pattern N/A node out N/A N/A unify Unification True N/A self pdb N/A u N/A build N/A N/A pattern u N/A N/A N/A N/A isinstance pattern N/A list tuple N/A N/A args N/A N/A build p u N/A p N/A pattern N/A 1 N/A N/A N/A pattern N/A 0 args N/A N/A N/A isinstance pattern string_types N/A N/A N/A u N/A N/A N/A unify Var pattern N/A N/A N/A isinstance pattern N/A int float N/A N/A pattern N/A N/A N/A N/A pattern clone N/A N/A p N/A self out_pattern N/A ret N/A build p u N/A N/A self values_eq_approx N/A N/A N/A N/A ret tag values_eq_approx N/A self values_eq_approx N/A N/A ret N/A N/A False N/A __str__ N/A N/A self N/A N/A N/A N/A getattr self __name__ None N/A N/A N/A self __name__ pattern_to_str N/A N/A pattern N/A N/A N/A N/A isinstance pattern N/A list tuple N/A N/A N/A %s(%s) N/A N/A str N/A pattern N/A 0 N/A N/A ,  join N/A N/A pattern_to_str p N/A p N/A pattern N/A 1 N/A N/A N/A isinstance pattern dict N/A N/A N/A %s subject to %s N/A N/A pattern_to_str N/A pattern N/A pattern N/A str N/A N/A pattern get constraint no conditions N/A N/A N/A str pattern N/A N/A N/A %s -> %s N/A N/A pattern_to_str N/A self in_pattern N/A pattern_to_str N/A self out_pattern N/A __repr__ N/A N/A self N/A N/A N/A N/A str self N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A name N/A getattr self __name__ N/A getattr self name None N/A N/A print N/A %s%s %s(%s, %s) id=%i N/A N/A level N/A N/A self __class__ __name__ name N/A str N/A self in_pattern N/A str N/A self out_pattern N/A id self file stream N/A N/A Updater N/A N/A __init__ N/A N/A self importer pruner chin N/A N/A N/A N/A self importer importer N/A N/A self pruner pruner N/A N/A self chin chin N/A on_import N/A N/A self fgraph node reason N/A N/A N/A N/A self importer N/A N/A N/A N/A self importer node N/A on_prune N/A N/A self fgraph node reason N/A N/A N/A N/A self pruner N/A N/A N/A N/A self pruner node N/A on_change_input N/A N/A self fgraph node i r new_r reason N/A N/A N/A N/A self chin N/A N/A N/A N/A self chin node i r new_r reason N/A on_detach N/A N/A self fgraph N/A N/A N/A N/A self importer None N/A N/A self pruner None N/A N/A self chin None N/A N/A NavigatorOptimizer N/A Optimizer N/A N/A 
    Abstract class.

    Parameters
    ----------
    local_opt
        A LocalOptimizer to apply over a FunctionGraph (or None is Ok too).
    ignore_newtrees
        - True: new subgraphs returned by an optimization is not a
          candidate for optimization.
        - False: new subgraphs returned by an optimization is a candidate
          for optimization.
        - 'auto': let the local_opt set this parameter via its 'reentrant'
          attribute.
    failure_callback
            A function that takes (exception, navigator, [(old, new),
            (old,new),...]) and we call it if there's an exception.

            If the trouble is from local_opt.transform(), the new variables
            will be 'None'.

            If the trouble is from validation (the new types don't match for
            example) then the new variables will be the ones created by
            transform().

            If this parameter is None, then exceptions are not caught here
            (raised normally).

     warn N/A N/A exc nav repl_pairs local_opt node N/A N/A N/A 
        Failure_callback for NavigatorOptimizer: print traceback.

         N/A N/A N/A config on_opt_error ignore N/A N/A N/A N/A _logger error N/A Optimization failure due to: %s N/A str local_opt N/A N/A N/A _logger error N/A node: %s N/A str node N/A N/A N/A _logger error TRACEBACK: N/A N/A N/A _logger error N/A N/A traceback format_exc N/A N/A N/A config on_opt_error pdb N/A N/A N/A N/A pdb post_mortem N/A N/A N/A sys exc_info N/A 2 N/A N/A N/A N/A isinstance exc AssertionError N/A N/A config on_opt_error raise N/A N/A exc N/A staticmethod warn_inplace N/A N/A exc nav repl_pairs local_opt node N/A N/A N/A 
        Failure_callback for NavigatorOptimizer.

        Ignore InconsistencyErrors, print traceback.

        If error during replacement repl_pairs is set. Otherwise None.

         N/A N/A isinstance exc InconsistencyError N/A N/A N/A N/A N/A NavigatorOptimizer warn exc nav repl_pairs local_opt node N/A staticmethod warn_ignore N/A N/A exc nav repl_pairs local_opt node N/A N/A N/A 
        Failure_callback for NavigatorOptimizer: ignore all errors.

         N/A N/A staticmethod __init__ N/A N/A self local_opt ignore_newtrees failure_callback N/A auto None N/A N/A N/A self local_opt local_opt N/A N/A ignore_newtrees auto N/A N/A N/A self ignore_newtrees N/A N/A getattr local_opt reentrant True N/A N/A N/A self ignore_newtrees ignore_newtrees N/A N/A self failure_callback failure_callback N/A attach_updater N/A N/A self fgraph importer pruner chin N/A None N/A N/A 
        Install some FunctionGraph listeners to help the navigator deal with
        the ignore_trees-related functionality.

        Parameters
        ----------
        importer
            Function that will be called whenever optimizations add stuff
            to the graph.
        pruner
            Function to be called when optimizations remove stuff
            from the graph.
        chin
            "on change input" called whenever a node's inputs change.

        Returns
        -------
        object
            The FunctionGraph plugin that handles the three tasks.
            Keep this around so that you can detach later!

         N/A N/A self ignore_newtrees N/A N/A importer None N/A N/A N/A importer None N/A pruner None N/A N/A None N/A u N/A Updater importer pruner chin N/A N/A N/A fgraph attach_feature u N/A u N/A detach_updater N/A N/A self fgraph u N/A N/A N/A 
        Undo the work of attach_updater.

        Parameters
        ----------
        u
            A return-value of attach_updater.

        Returns
        -------
        None

         N/A N/A u None N/A N/A N/A N/A fgraph remove_feature u N/A process_node N/A N/A self fgraph node lopt N/A None N/A N/A 
        This function will use `lopt` to `transform` the `node`. The
        `transform` method will return either False or a list of Variables
        that are intended to replace `node.outputs`.

        If the fgraph accepts the replacement, then the optimization is
        successful, and this function returns True.

        If there are no replacement candidates or the fgraph rejects the
        replacements, this function returns False.

        Parameters
        ----------
        fgraph
            A FunctionGraph.
        node
            An Apply instance in `fgraph`
        lopt
            A LocalOptimizer instance that may have a better idea for
            how to compute node's outputs.

        Returns
        -------
        bool
            True iff the `node`'s outputs were replaced in the `fgraph`.

         N/A lopt N/A lopt N/A self local_opt N/A N/A N/A replacements N/A N/A lopt transform node N/A N/A N/A Exception N/A e N/A N/A N/A N/A self failure_callback None N/A N/A N/A N/A self failure_callback e self N/A N/A x None N/A x N/A node outputs lopt node N/A False N/A N/A N/A N/A N/A replacements False N/A replacements None N/A N/A False N/A old_vars N/A node outputs N/A N/A isinstance replacements dict N/A N/A old_vars N/A list N/A N/A replacements keys N/A replacements N/A list N/A N/A replacements values N/A N/A N/A N/A isinstance replacements N/A tuple list N/A N/A N/A TypeError N/A Optimizer %s gave wrong type of replacement. Expected list or tuple. Got %s N/A lopt replacements N/A N/A N/A len old_vars N/A len replacements N/A N/A N/A ValueError N/A Optimizer %s gave wrong number of replacements lopt N/A N/A r rnew N/A zip old_vars replacements N/A N/A N/A N/A rnew None N/A N/A len N/A r clients 0 N/A N/A N/A ValueError A local optimizer tried to remove a Variable that is used N/A repl_pairs N/A N/A r rnew N/A N/A r rnew N/A zip old_vars replacements N/A N/A rnew r N/A rnew None N/A N/A N/A len repl_pairs 0 N/A N/A False N/A N/A N/A N/A N/A fgraph replace_all_validate repl_pairs reason lopt N/A True N/A N/A N/A Exception N/A e N/A N/A N/A N/A self failure_callback None N/A N/A N/A N/A self failure_callback e self repl_pairs lopt node N/A False N/A N/A N/A add_requirements N/A N/A self fgraph N/A N/A N/A N/A N/A N/A super NavigatorOptimizer self add_requirements fgraph N/A N/A self local_opt N/A N/A N/A N/A N/A self local_opt add_requirements fgraph N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A N/A print N/A %s%s (%i) N/A N/A level N/A N/A self __class__ __name__ N/A id self file stream N/A N/A depth 0 N/A N/A N/A N/A N/A self local_opt print_summary stream level N/A level 2 depth N/A depth 1 N/A N/A TopoOptimizer N/A NavigatorOptimizer N/A N/A 
    WRITEME

     __init__ N/A N/A self local_opt order ignore_newtrees failure_callback N/A in_to_out False None N/A N/A N/A order N/A out_to_in in_to_out N/A N/A N/A ValueError order must be 'out_to_in' or 'in_to_out' N/A N/A self order order N/A N/A N/A NavigatorOptimizer __init__ self local_opt ignore_newtrees failure_callback N/A apply N/A N/A self fgraph start_from N/A None N/A N/A N/A start_from None N/A N/A start_from N/A fgraph outputs N/A callback_before N/A fgraph execute_callbacks_time N/A nb_nodes_start N/A len N/A fgraph apply_nodes N/A t0 N/A N/A time time N/A q N/A deque N/A N/A graph io_toposort N/A fgraph inputs start_from N/A io_t N/A N/A N/A time time t0 importer N/A N/A node N/A N/A N/A N/A node current_node N/A N/A N/A N/A q append node N/A pruner N/A N/A node N/A N/A N/A N/A node current_node N/A N/A N/A N/A N/A N/A q remove node N/A N/A N/A ValueError N/A N/A N/A N/A u N/A N/A self attach_updater fgraph importer pruner N/A nb 0 N/A N/A N/A t0 N/A N/A time time N/A q N/A N/A N/A N/A self order out_to_in N/A N/A node N/A N/A q pop N/A N/A node N/A N/A q popleft N/A current_node node N/A nb N/A N/A self process_node fgraph node N/A loop_t N/A N/A N/A time time t0 N/A N/A N/A Exception N/A N/A N/A N/A self detach_updater fgraph u N/A N/A N/A N/A self detach_updater fgraph u N/A callback_time N/A N/A fgraph execute_callbacks_time callback_before N/A nb_nodes_end N/A len N/A fgraph apply_nodes N/A N/A self nb nb_nodes_start nb_nodes_end io_t loop_t callback_time N/A print_profile N/A N/A stream prof level N/A 0 N/A N/A N/A opt nb nb_nodes_start nb_nodes_end io_t loop_t callback_time prof N/A blanc N/A level N/A N/A print blanc TopoOptimizer  N/A getattr opt name N/A getattr opt __name__ file stream N/A N/A print blanc   nb_node (start, end, changed) N/A nb_nodes_start nb_nodes_end nb file stream N/A N/A print blanc   init io_toposort io_t file stream N/A N/A print blanc   loop time loop_t file stream N/A N/A print blanc   callback_time callback_time file stream N/A staticmethod __str__ N/A N/A self N/A N/A N/A N/A getattr self __name__ <TopoOptimizer instance> N/A N/A OpKeyOptimizer N/A NavigatorOptimizer N/A N/A 
    WRITEME

     __init__ N/A N/A self local_opt ignore_newtrees failure_callback N/A False None N/A N/A N/A N/A hasattr local_opt op_key N/A N/A N/A TypeError LocalOptimizer for OpKeyOptimizer must have an 'op_key' method. N/A N/A N/A NavigatorOptimizer __init__ self local_opt ignore_newtrees failure_callback N/A apply N/A N/A self fgraph N/A N/A N/A op N/A N/A N/A self local_opt op_key N/A N/A isinstance op N/A list tuple N/A N/A q N/A reduce N/A list __iadd__ N/A map N/A fgraph get_nodes op N/A N/A q N/A list N/A N/A fgraph get_nodes op importer N/A N/A node N/A N/A N/A N/A node current_node N/A N/A N/A N/A node op op N/A N/A N/A N/A q append node N/A pruner N/A N/A node N/A N/A N/A N/A N/A node current_node N/A N/A node op op N/A N/A N/A N/A N/A N/A q remove node N/A N/A N/A ValueError N/A N/A N/A N/A u N/A N/A self attach_updater fgraph importer pruner N/A N/A N/A q N/A N/A node N/A N/A q pop N/A current_node node N/A N/A N/A self process_node fgraph node N/A N/A N/A Exception N/A N/A N/A N/A self detach_updater fgraph u N/A N/A N/A N/A self detach_updater fgraph u N/A add_requirements N/A N/A self fgraph N/A N/A N/A 
        Requires the following features:
          - NodeFinder
          - ReplaceValidate(Added by default)

         N/A N/A N/A N/A super OpKeyOptimizer self add_requirements fgraph N/A N/A N/A fgraph attach_feature N/A N/A toolbox NodeFinder N/A N/A ChangeTracker N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self changed False N/A N/A self nb_imported 0 N/A on_import N/A N/A self fgraph node reason N/A N/A N/A N/A self nb_imported 1 N/A N/A self changed True N/A on_change_input N/A N/A self fgraph node i r new_r reason N/A N/A N/A N/A self changed True N/A reset N/A N/A self N/A N/A N/A N/A self changed False N/A on_attach N/A N/A self fgraph N/A N/A N/A N/A fgraph change_tracker self N/A N/A merge_dict N/A N/A d1 d2 N/A N/A N/A 
    merge 2 dicts by adding the values.
     N/A d N/A N/A d1 copy N/A N/A k v N/A iteritems d2 N/A N/A N/A k d N/A N/A N/A d N/A k v N/A N/A N/A d N/A k v N/A d N/A EquilibriumOptimizer N/A NavigatorOptimizer N/A N/A 
    Apply optimizations until equilibrium point.

    Parameters
    ----------
    optimizers : list or set
        Local or global optimizations to apply until equilibrium.
        The global optimizer will be run at the start of each iteration before
        the local optimizer.
    max_use_ratio : int or float
        Each optimizer can be applied at most (size of graph * this number)
        times.
    ignore_newtrees
        See EquilibriumDB ignore_newtrees parameter definition.
    final_optimizers
        Global optimizers that will be run after each iteration.
    cleanup_optimizers
        Global optimizers that apply a list of pre determined optimization.
        They must not traverse the graph as they are called very frequently.
        The MergeOptimizer is one example of optimization that respect this.
        They are applied after all global optimizer, then when one local optimizer is applied, then after all final optimizer.

     __init__ N/A N/A self optimizers failure_callback ignore_newtrees max_use_ratio final_optimizers cleanup_optimizers N/A None True None None None N/A N/A N/A N/A N/A super EquilibriumOptimizer self __init__ None ignore_newtrees ignore_newtrees failure_callback failure_callback N/A N/A self local_optimizers_map N/A OrderedDict N/A N/A self local_optimizers_all N/A N/A N/A self global_optimizers N/A N/A N/A self final_optimizers N/A N/A N/A self cleanup_optimizers N/A N/A opt optimizers N/A N/A N/A isinstance opt LocalOptimizer N/A N/A N/A N/A N/A opt tracks None N/A N/A N/A N/A N/A self local_optimizers_all append opt N/A N/A c N/A N/A opt tracks N/A N/A N/A N/A N/A N/A N/A self local_optimizers_map setdefault c N/A append opt N/A N/A N/A N/A N/A self global_optimizers append opt N/A final_optimizers N/A N/A N/A self final_optimizers final_optimizers N/A cleanup_optimizers N/A N/A N/A self cleanup_optimizers cleanup_optimizers N/A N/A self max_use_ratio max_use_ratio N/A N/A N/A self max_use_ratio None max_use_ratio has to be a number N/A get_local_optimizers N/A N/A self N/A N/A N/A opt N/A self local_optimizers_all N/A N/A N/A opt N/A s N/A set N/A lopt N/A itervalues N/A self local_optimizers_map N/A N/A opt lopt N/A N/A N/A opt s N/A N/A N/A opt N/A N/A N/A s add opt N/A add_requirements N/A N/A self fgraph N/A N/A N/A N/A N/A N/A super EquilibriumOptimizer self add_requirements fgraph N/A opt N/A N/A self get_local_optimizers N/A N/A N/A N/A opt add_requirements fgraph N/A opt N/A self global_optimizers N/A N/A N/A N/A opt add_requirements fgraph N/A opt N/A self final_optimizers N/A N/A N/A N/A opt add_requirements fgraph N/A opt N/A self cleanup_optimizers N/A N/A N/A N/A opt add_requirements fgraph N/A apply N/A N/A self fgraph start_from N/A None N/A N/A change_tracker N/A ChangeTracker N/A N/A N/A fgraph attach_feature change_tracker N/A N/A start_from None N/A N/A start_from N/A fgraph outputs N/A N/A node start_from N/A N/A N/A node N/A fgraph outputs N/A changed True N/A max_use_abort False N/A opt_name None N/A global_process_count N/A N/A start_nb_nodes N/A len N/A fgraph apply_nodes N/A max_nb_nodes N/A len N/A fgraph apply_nodes N/A max_use N/A max_nb_nodes N/A self max_use_ratio N/A loop_timing N/A N/A loop_process_count N/A N/A global_opt_timing N/A N/A time_opts N/A N/A io_toposort_timing N/A N/A nb_nodes N/A N/A node_created N/A N/A global_sub_profs N/A N/A final_sub_profs N/A N/A cleanup_sub_profs N/A N/A opt N/A N/A N/A N/A self global_optimizers N/A list N/A N/A self get_local_optimizers N/A self final_optimizers N/A self cleanup_optimizers N/A N/A N/A N/A global_process_count setdefault opt 0 N/A N/A N/A time_opts setdefault opt 0 N/A N/A N/A node_created setdefault opt 0 apply_cleanup N/A N/A profs_dict N/A N/A N/A changed False N/A copt N/A self cleanup_optimizers N/A N/A N/A N/A change_tracker reset N/A nb N/A change_tracker nb_imported N/A t_opt N/A N/A time time N/A sub_prof N/A N/A copt apply fgraph N/A N/A time_opts N/A copt N/A N/A N/A time time t_opt N/A N/A N/A N/A profs_dict N/A copt append sub_prof N/A N/A change_tracker changed N/A N/A N/A N/A process_count setdefault copt 0 N/A N/A process_count N/A copt 1 N/A N/A global_process_count N/A copt 1 N/A changed True N/A N/A node_created N/A copt N/A N/A change_tracker nb_imported nb N/A changed N/A N/A N/A changed N/A max_use_abort N/A N/A process_count N/A N/A t0 N/A N/A time time N/A changed False N/A iter_cleanup_sub_profs N/A N/A copt N/A self cleanup_optimizers N/A N/A N/A iter_cleanup_sub_profs N/A copt N/A N/A sub_profs N/A N/A gopt N/A self global_optimizers N/A N/A N/A N/A change_tracker reset N/A nb N/A change_tracker nb_imported N/A t_opt N/A N/A time time N/A sub_prof N/A N/A gopt apply fgraph N/A N/A time_opts N/A gopt N/A N/A N/A time time t_opt N/A N/A N/A sub_profs append sub_prof N/A N/A change_tracker changed N/A N/A N/A N/A process_count setdefault gopt 0 N/A N/A process_count N/A gopt 1 N/A N/A global_process_count N/A gopt 1 N/A changed True N/A N/A node_created N/A gopt N/A N/A change_tracker nb_imported nb N/A N/A N/A global_process_count N/A gopt max_use N/A N/A max_use_abort True N/A opt_name N/A N/A getattr gopt name None N/A getattr gopt __name__ N/A N/A N/A global_sub_profs append sub_profs N/A N/A N/A global_opt_timing append N/A float N/A N/A N/A time time t0 N/A changed N/A apply_cleanup iter_cleanup_sub_profs N/A topo_t0 N/A N/A time time N/A q N/A deque N/A N/A graph io_toposort N/A fgraph inputs start_from N/A N/A N/A io_toposort_timing append N/A N/A N/A time time topo_t0 N/A N/A N/A nb_nodes append N/A len q N/A max_nb_nodes N/A max max_nb_nodes N/A len q N/A max_use N/A max_nb_nodes N/A self max_use_ratio importer N/A N/A node N/A N/A N/A N/A node current_node N/A N/A N/A N/A q append node N/A pruner N/A N/A node N/A N/A N/A N/A node current_node N/A N/A N/A N/A N/A N/A q remove node N/A N/A N/A ValueError N/A N/A N/A N/A u N/A N/A self attach_updater fgraph importer pruner N/A N/A N/A q N/A N/A node N/A N/A q pop N/A current_node node N/A lopt N/A N/A N/A self local_optimizers_all N/A N/A N/A self local_optimizers_map get N/A type N/A node op N/A N/A N/A N/A self local_optimizers_map get N/A node op N/A N/A N/A nb N/A change_tracker nb_imported N/A t_opt N/A N/A time time N/A lopt_change N/A N/A self process_node fgraph node lopt N/A N/A time_opts N/A lopt N/A N/A N/A time time t_opt N/A N/A lopt_change N/A N/A N/A N/A N/A process_count setdefault lopt 0 N/A N/A process_count N/A lopt 1 N/A N/A global_process_count N/A lopt 1 N/A changed True N/A N/A node_created N/A lopt N/A N/A change_tracker nb_imported nb N/A changed N/A apply_cleanup iter_cleanup_sub_profs N/A N/A N/A global_process_count N/A lopt max_use N/A N/A max_use_abort True N/A opt_name N/A N/A getattr lopt name None N/A getattr lopt __name__ N/A N/A node N/A fgraph apply_nodes N/A N/A N/A N/A N/A N/A self detach_updater fgraph u N/A sub_profs N/A N/A t_before_final_opt N/A N/A time time N/A gopt N/A self final_optimizers N/A N/A N/A N/A change_tracker reset N/A nb N/A change_tracker nb_imported N/A t_opt N/A N/A time time N/A sub_prof N/A N/A gopt apply fgraph N/A N/A time_opts N/A gopt N/A N/A N/A time time t_opt N/A N/A N/A sub_profs append sub_prof N/A N/A change_tracker changed N/A N/A N/A N/A process_count setdefault gopt 0 N/A N/A process_count N/A gopt 1 N/A N/A global_process_count N/A gopt 1 N/A changed True N/A N/A node_created N/A gopt N/A N/A change_tracker nb_imported nb N/A N/A N/A global_process_count N/A gopt max_use N/A N/A max_use_abort True N/A opt_name N/A N/A getattr gopt name None N/A getattr gopt __name__ N/A N/A N/A final_sub_profs append sub_profs N/A N/A global_opt_timing N/A -1 N/A N/A N/A time time t_before_final_opt N/A changed N/A apply_cleanup iter_cleanup_sub_profs N/A c_sub_profs N/A N/A N/A copt sub_profs N/A iteritems iter_cleanup_sub_profs N/A N/A sub_prof N/A sub_profs N/A 0 N/A s_p N/A sub_profs N/A 1 N/A N/A sub_prof N/A N/A copt merge_profile sub_prof s_p N/A N/A N/A c_sub_profs append sub_prof N/A N/A N/A cleanup_sub_profs append c_sub_profs N/A N/A N/A loop_process_count append process_count N/A N/A N/A loop_timing append N/A float N/A N/A N/A time time t0 N/A end_nb_nodes N/A len N/A fgraph apply_nodes N/A max_use_abort N/A N/A N/A N/A _logger error N/A N/A N/A EquilibriumOptimizer max'ed out by '%s' opt_name . You can safely raise the current threshold of  N/A %f with the theano flag 'optdb.max_use_ratio'. N/A N/A config optdb max_use_ratio N/A N/A N/A fgraph remove_feature change_tracker N/A N/A self loop_timing loop_process_count N/A start_nb_nodes end_nb_nodes max_nb_nodes global_opt_timing nb_nodes time_opts io_toposort_timing node_created global_sub_profs final_sub_profs cleanup_sub_profs N/A print_summary N/A N/A self stream level depth N/A N/A sys stdout 0 -1 N/A N/A name N/A getattr self name None N/A N/A print N/A %s%s %s id=%i N/A N/A level N/A N/A self __class__ __name__ name N/A id self file stream N/A N/A depth 0 N/A N/A lopt N/A N/A self get_local_optimizers N/A N/A N/A N/A lopt print_summary stream level N/A level 2 depth N/A depth 1 N/A print_profile N/A N/A stream prof level N/A 0 N/A N/A N/A opt loop_timing loop_process_count N/A start_nb_nodes end_nb_nodes max_nb_nodes global_opt_timing nb_nodes time_opts io_toposort_timing node_created global_sub_profs final_sub_profs cleanup_sub_profs prof N/A blanc N/A level N/A N/A print blanc EquilibriumOptimizer end file stream N/A N/A print blanc N/A getattr opt name N/A getattr opt __name__ file stream N/A N/A print blanc N/A   time %.3fs for %d passes N/A N/A sum loop_timing N/A len loop_timing file stream N/A N/A print blanc N/A   nb nodes (start, end,  max) %d %d %d N/A start_nb_nodes end_nb_nodes max_nb_nodes file stream N/A N/A print blanc N/A   time io_toposort %.3fs N/A sum io_toposort_timing file stream N/A s N/A sum N/A N/A time_opts N/A o N/A o N/A N/A opt get_local_optimizers N/A N/A print blanc N/A   time in local optimizers %.3fs s file stream N/A s N/A sum N/A N/A time_opts N/A o N/A o N/A opt global_optimizers N/A N/A print blanc N/A   time in global optimizers %.3fs s file stream N/A s N/A sum N/A N/A time_opts N/A o N/A o N/A opt final_optimizers N/A N/A print blanc N/A   time in final optimizers %.3fs s file stream N/A s N/A sum N/A N/A time_opts N/A o N/A o N/A opt cleanup_optimizers N/A N/A print blanc N/A   time in cleanup optimizers %.3fs s file stream N/A i N/A range N/A len loop_timing N/A N/A lopt N/A N/A loop_process_count N/A i N/A N/A d N/A list N/A reversed N/A sorted N/A iteritems N/A loop_process_count N/A i key N/A N/A N/A a N/A N/A a N/A 1 N/A lopt N/A N/A join N/A N/A str N/A N/A str k v N/A N/A k v N/A d N/A 5 N/A N/A N/A len d 5 N/A N/A lopt  ... N/A N/A print blanc N/A   %2d - %.3fs %d (%.3fs in global opts, %.3fs io_toposort) - %d nodes - %s N/A i N/A loop_timing N/A i N/A sum N/A N/A N/A loop_process_count N/A i values N/A global_opt_timing N/A i N/A io_toposort_timing N/A i N/A nb_nodes N/A i lopt file stream N/A count_opt N/A N/A not_used N/A N/A not_used_time 0 N/A process_count N/A N/A o N/A N/A N/A N/A opt global_optimizers N/A list N/A N/A opt get_local_optimizers N/A list N/A opt final_optimizers N/A list N/A opt cleanup_optimizers N/A N/A N/A N/A process_count setdefault o 0 N/A count loop_process_count N/A N/A N/A o v N/A iteritems count N/A N/A N/A process_count N/A o v N/A N/A o count N/A iteritems process_count N/A N/A N/A count 0 N/A N/A N/A N/A count_opt append N/A N/A time_opts N/A o count N/A node_created N/A o o N/A N/A N/A N/A not_used append N/A N/A time_opts N/A o o N/A not_used_time N/A time_opts N/A o N/A count_opt N/A N/A N/A print blanc   times - times applied - nb node created - name: file stream N/A N/A N/A count_opt sort N/A N/A t count n_created o N/A count_opt N/A -1 N/A N/A N/A print blanc N/A   %.3fs - %d - %d - %s N/A t count n_created o file stream N/A N/A print blanc N/A   %.3fs - in %d optimization that where not used (display only those with a runtime > 0) N/A not_used_time N/A len not_used file stream N/A N/A N/A not_used sort key N/A N/A N/A nu N/A N/A N/A nu N/A 0 N/A str N/A nu N/A 1 N/A N/A t o N/A not_used N/A -1 N/A N/A N/A t 0 N/A N/A N/A print N/A blanc N/A   %.3fs - %s N/A t o file stream N/A N/A print file stream N/A gf_opts N/A o N/A o N/A N/A N/A opt global_optimizers N/A list N/A opt final_optimizers N/A list N/A opt cleanup_optimizers N/A N/A N/A o print_profile __code__ N/A N/A Optimizer print_profile __code__ N/A N/A gf_opts N/A N/A N/A N/A print blanc Global, final and clean up optimizers file stream N/A i N/A range N/A len loop_timing N/A N/A N/A print blanc N/A Iter %d i file stream N/A N/A o prof N/A zip N/A opt global_optimizers N/A global_sub_profs N/A i N/A N/A N/A N/A N/A N/A o print_profile stream prof N/A level 2 N/A N/A N/A NotImplementedError N/A N/A N/A print blanc merge not implemented for  o N/A N/A o prof N/A zip N/A opt final_optimizers N/A final_sub_profs N/A i N/A N/A N/A N/A N/A N/A o print_profile stream prof N/A level 2 N/A N/A N/A NotImplementedError N/A N/A N/A print blanc merge not implemented for  o N/A N/A o prof N/A zip N/A opt cleanup_optimizers N/A cleanup_sub_profs N/A i N/A N/A N/A N/A N/A N/A o print_profile stream prof N/A level 2 N/A N/A N/A NotImplementedError N/A N/A N/A print blanc merge not implemented for  o N/A staticmethod merge_profile N/A N/A prof1 prof2 N/A N/A N/A local_optimizers N/A N/A N/A OrderedSet N/A N/A N/A prof1 N/A 0 get_local_optimizers union N/A N/A N/A prof2 N/A 0 get_local_optimizers N/A global_optimizers N/A N/A N/A OrderedSet N/A N/A prof1 N/A 0 global_optimizers union N/A N/A prof2 N/A 0 global_optimizers N/A N/A N/A N/A len N/A N/A prof1 N/A 0 final_optimizers 0 N/A N/A len N/A N/A prof2 N/A 0 final_optimizers 0 N/A N/A final_optimizers N/A N/A N/A OrderedSet N/A N/A prof1 N/A 0 final_optimizers union N/A N/A prof2 N/A 0 final_optimizers N/A N/A final_optimizers None N/A N/A N/A N/A len N/A N/A prof1 N/A 0 cleanup_optimizers 0 N/A N/A len N/A N/A prof2 N/A 0 cleanup_optimizers 0 N/A N/A cleanup_optimizers N/A N/A N/A OrderedSet N/A N/A prof1 N/A 0 cleanup_optimizers union N/A N/A prof2 N/A 0 cleanup_optimizers N/A N/A cleanup_optimizers None N/A new_opt N/A EquilibriumOptimizer N/A N/A local_optimizers union global_optimizers max_use_ratio 1 final_optimizers final_optimizers cleanup_optimizers cleanup_optimizers merge_list N/A N/A l1 l2 N/A N/A N/A l N/A N/A copy copy l1 N/A N/A idx nb N/A enumerate l2 N/A N/A N/A idx N/A len l N/A N/A N/A l N/A idx nb N/A N/A N/A N/A l append nb N/A l N/A N/A loop_timing N/A merge_list N/A prof1 N/A 1 N/A prof2 N/A 1 N/A loop_process_count N/A list N/A prof1 N/A 2 N/A i N/A range N/A min N/A len loop_process_count N/A len N/A prof2 N/A 2 N/A N/A process_count N/A loop_process_count N/A i N/A N/A process count N/A iteritems N/A N/A prof2 N/A 2 N/A i N/A N/A N/A process process_count N/A N/A N/A process_count N/A process count N/A N/A N/A process_count N/A process count N/A N/A N/A loop_process_count extend N/A N/A prof2 N/A 2 N/A N/A len loop_process_count N/A max_nb_nodes N/A max N/A prof1 N/A 3 N/A prof2 N/A 3 N/A global_opt_timing N/A merge_list N/A prof1 N/A 4 N/A prof2 N/A 4 N/A nb_nodes N/A merge_list N/A prof1 N/A 5 N/A prof2 N/A 5 N/A time_opts N/A merge_dict N/A prof1 N/A 6 N/A prof2 N/A 6 N/A io_toposort_timing N/A merge_list N/A prof1 N/A 7 N/A prof2 N/A 7 N/A N/A N/A len loop_timing N/A len global_opt_timing N/A len io_toposort_timing N/A len nb_nodes N/A N/A N/A len loop_timing N/A max N/A len N/A prof1 N/A 1 N/A len N/A prof2 N/A 1 N/A node_created N/A merge_dict N/A prof1 N/A 8 N/A prof2 N/A 8 N/A global_sub_profs N/A merge_list N/A prof1 N/A 9 N/A prof2 N/A 9 N/A final_sub_profs N/A merge_list N/A prof1 N/A 10 N/A prof2 N/A 10 N/A cleanup_sub_profs N/A merge_list N/A prof1 N/A 10 N/A prof2 N/A 10 N/A N/A new_opt loop_timing loop_process_count max_nb_nodes global_opt_timing nb_nodes time_opts io_toposort_timing node_created global_sub_profs final_sub_profs cleanup_sub_profs N/A staticmethod N/A _check_chain N/A N/A r chain N/A N/A N/A 
    WRITEME

     N/A chain N/A list N/A reversed chain N/A chain N/A N/A elem N/A N/A chain pop N/A N/A elem None N/A N/A N/A N/A r owner None N/A N/A False N/A N/A N/A N/A r owner None N/A N/A False N/A N/A N/A isinstance elem N/A op Op N/A N/A N/A N/A N/A N/A r owner op elem N/A N/A False N/A N/A N/A N/A N/A N/A issubclass elem N/A op Op N/A N/A isinstance N/A N/A r owner op elem N/A N/A False N/A N/A N/A TypeError N/A N/A False N/A chain N/A N/A r N/A N/A N/A r owner inputs N/A N/A N/A chain pop N/A N/A r None N/A check_chain N/A N/A r N/A chain N/A N/A 
    WRITEME

     N/A N/A isinstance r N/A graph Apply N/A N/A r N/A N/A r outputs N/A 0 N/A N/A _check_chain r N/A reduce N/A list __iadd__ N/A N/A x 0 N/A x chain N/A pre_greedy_local_optimizer N/A N/A list_optimizations out N/A N/A N/A 
    This function traverses the computation graph described by all
    ``node`` in the graph before the variable out but that are not in the
    fgraph. It applies each of the local_optimizations on the traversed graph.

    Its main use is to apply locally constant folding when generating
    the graph of the indices of a subtensor.

    We should not apply optimizations on node that are in fgraph.
    So we don't optimize node that have an attribute fgraph.

    Notes
    -----
    This doesn't do an equilibrium... So if there is optimization
    like local_upcast_elemwise_constant_inputs in the list, that
    adds additional node to the inputs of the node, it can
    be needed to call this function multiple times.

     local_recursive_function N/A N/A list_opt out optimized_vars depth N/A N/A N/A N/A N/A getattr out owner None N/A N/A N/A N/A out optimized_vars N/A node N/A out owner N/A N/A hasattr node fgraph N/A N/A N/A N/A node outputs optimized_vars N/A N/A idx inp N/A enumerate N/A node inputs N/A N/A N/A inp optimized_vars N/A N/A nw_in N/A optimized_vars N/A inp N/A N/A N/A inp owner N/A N/A N/A outs optimized_vars N/A local_recursive_function list_opt inp optimized_vars N/A depth 1 N/A N/A k v N/A zip N/A N/A inp owner outputs outs N/A N/A N/A optimized_vars N/A k v N/A nw_in N/A outs N/A N/A N/A N/A N/A inp owner outputs index inp N/A N/A nw_in inp N/A N/A optimized_vars N/A inp inp N/A N/A N/A node inputs N/A idx nw_in N/A results N/A node outputs N/A opt list_opt N/A N/A ret N/A N/A opt transform node N/A N/A N/A ret False N/A ret None N/A N/A N/A N/A len ret N/A len N/A node outputs N/A N/A k v N/A zip N/A node outputs ret N/A N/A N/A optimized_vars N/A k v N/A results ret N/A N/A N/A ret N/A 0 owner N/A N/A node N/A out owner N/A N/A N/A N/A results optimized_vars N/A N/A N/A out owner N/A N/A out_index N/A N/A N/A N/A out owner outputs index out N/A N/A out_index 0 N/A N/A final_outs optimized_nodes N/A local_recursive_function list_optimizations out N/A 0 N/A N/A final_outs N/A out_index N/A