Module Expr Str ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias Import alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListLoad Assign NameStore Dict Assign NameStore Call NameLoad ListLoad Assign NameStore Call NameLoad ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad Assign NameStore Num For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num Assign NameStore NameLoad If BoolOpAnd NameLoad CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assert CompareEq Call NameLoad NameLoad Num Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad CompareIn NameLoad NameLoad body Assert CompareIs NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assert CompareEq Call NameLoad NameLoad Num Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num If CompareIsNot NameLoad NameLoad body Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad AugAssignAdd NameStore Num For NameStore AttributeLoad NameLoad attr body Assert UnaryOpNot BoolOpAnd CompareIn NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad If BoolOpAnd CompareEq Call NameLoad NameLoad Str NameLoad Num UnaryOpNot SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num CompareNotIn NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListComp SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad CompareNotIn NameLoad NameLoad body Assign NameStore NameLoad If BoolOpAnd CompareNotIn NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad ListLoad body For NameStore Call NameLoad BinOpAdd NameLoad Num Call NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Break For NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body If BoolOpAnd CompareEq Call NameLoad NameLoad Str NameLoad Num CompareNotIn NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Break orelse If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If BoolOpAnd UnaryOpNot SubscriptLoad NameLoad Index NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body For NameStore Call NameLoad BinOpAdd NameLoad Num Call NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Break For NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body If BoolOpAnd CompareEq Call NameLoad NameLoad Str NameLoad Num CompareNotIn NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Break If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult ListLoad Num Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpMult ListLoad Num Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad Str If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice If Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Num NameLoad TryExcept body For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpSub NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Num NameLoad TryExcept body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot CompareEqEq Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Num NameLoad TryExcept body Assign NameStore Num For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpSub NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Num NameLoad AugAssignAdd NameStore Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Num NameLoad TryExcept body For TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Num NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad 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 body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameStore Dict Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad If CompareIn NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareIs SubscriptLoad NameLoad Index Num NameLoad body Continue If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num orelse Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Str Str If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num Str NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr body Assign NameStore Str orelse If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad While NameLoad body Assign NameStore Call NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num comprehension NameStore NameLoad If UnaryOpNot AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body If BoolOpAnd NameLoad UnaryOpNot NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Delete NameDel If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Index NameLoad If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num orelse Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Str Str If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num Str NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr body Assign NameStore Str orelse If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword NameLoad For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num Assign NameStore ListLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If BoolOpAnd SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body If Call NameLoad GeneratorExp SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareIn NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad AttributeLoad NameLoad attr orelse If UnaryOpNot NameLoad body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword NameLoad If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr orelse If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Index NameLoad If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num orelse Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Str Str If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num Str NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr body Assign NameStore Str orelse If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index Num Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore ListLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If BoolOpAnd SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body If UnaryOpNot SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num body Assign NameStore NameLoad Break If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad If AttributeLoad NameLoad attr body For NameStore NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Num body Continue orelse Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list TryExcept body ImportFrom alias ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list handlers ExceptHandler type NameLoad body Pass ExceptHandler type TupleLoad NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr name NameStore body Assert UnaryOpNot Call AttributeLoad AttributeLoad SubscriptLoad ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr Str Index Num attr attr Str NameLoad Pass ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad Call Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad NameLoad Index Num Str body AugAssignAdd NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr If BoolOpOr CompareIsNot AttributeLoad NameLoad attr NameLoad BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad For NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Dict Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body Assert CompareIs Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Assert CompareIs Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad body Expr Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword BinOpMult ListLoad Num Call NameLoad NameLoad keyword BinOpMult ListLoad Num Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assert CompareEq NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore UnaryOpNot Call NameLoad ListComp UnaryOpNot AttributeLoad NameLoad attr comprehension NameStore NameLoad If UnaryOpNot NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Lambda arguments args defaults ListLoad Num For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num If Call NameLoad AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body TryExcept body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Num Str body Assign AttributeStore SubscriptLoad NameLoad Index Num attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr BinOpAdd TupleLoad Str NameLoad Str AttributeLoad NameLoad attr Raise For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore UnaryOpNot Call NameLoad ListComp UnaryOpNot AttributeLoad NameLoad attr comprehension NameStore NameLoad If UnaryOpNot BoolOpOr NameLoad BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index NameLoad CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
VMs that run Theano graph computations.

A VM is not actually different from a Linker, we just decided
VM was a better name at some point.

 N/A link collections defaultdict N/A logging N/A os N/A sys N/A time N/A warnings theano.configparser config _config_var_list N/A theano.gof.cmodule six iteritems itervalues six.moves xrange N/A logger N/A N/A logging getLogger __name__ calculate_reallocate_info N/A N/A order fgraph storage_map compute_map_re dependencies N/A N/A N/A reallocated_info N/A N/A viewed_by N/A N/A var N/A fgraph variables N/A N/A N/A viewed_by N/A var N/A N/A view_of N/A N/A pre_allocated N/A set N/A N/A allocated N/A set N/A N/A idx N/A range N/A len order N/A N/A node N/A order N/A idx N/A dmap N/A getattr N/A node op destroy_map None N/A vmap N/A getattr N/A node op view_map None N/A idx_o 0 N/A out N/A node outputs N/A N/A var N/A node outputs N/A N/A N/A N/A compute_map_re N/A var N/A 0 1 N/A ins None N/A N/A dmap N/A idx_o dmap N/A N/A idx_v N/A dmap N/A idx_o N/A N/A N/A len idx_v 1 Here we only support the possibility to destroy one input N/A ins N/A N/A node inputs N/A N/A idx_v N/A 0 N/A N/A vmap N/A idx_o vmap N/A N/A N/A ins None N/A idx_v N/A vmap N/A idx_o N/A N/A N/A len idx_v 1 Here we only support the possibility to view one input N/A ins N/A N/A node inputs N/A N/A idx_v N/A 0 N/A N/A ins None N/A N/A N/A isinstance ins N/A theano Variable N/A origin N/A N/A view_of get ins ins N/A N/A view_of N/A out origin N/A N/A N/A N/A viewed_by N/A origin append out N/A idx_o 1 N/A ins N/A node inputs N/A N/A N/A N/A N/A ins view_of N/A viewed_by N/A ins N/A N/A N/A N/A getattr ins ndim None 0 N/A N/A N/A storage_map N/A ins N/A 0 N/A ins N/A fgraph outputs N/A ins owner N/A all N/A N/A N/A compute_map_re N/A v N/A 0 N/A v N/A N/A dependencies get ins N/A N/A ins allocated N/A N/A reuse_out None N/A N/A N/A ins view_of N/A N/A N/A viewed_by get ins N/A N/A N/A i N/A range N/A idx 1 N/A len order N/A N/A N/A reuse_out None N/A N/A N/A out N/A N/A order N/A i outputs N/A N/A N/A N/A N/A getattr out ndim None 0 N/A out pre_allocated N/A N/A ins type N/A out type N/A N/A reuse_out out N/A N/A N/A pre_allocated add out N/A N/A N/A allocated add ins N/A N/A N/A N/A ins view_of N/A N/A origin N/A view_of N/A ins N/A N/A ins N/A viewed_by N/A origin N/A N/A N/A N/A N/A viewed_by N/A origin remove ins N/A N/A N/A N/A viewed_by N/A origin N/A origin N/A fgraph inputs N/A N/A isinstance origin N/A theano Constant N/A N/A i N/A range N/A idx 1 N/A len order N/A N/A N/A reuse_out None N/A N/A N/A out N/A N/A order N/A i outputs N/A N/A N/A N/A N/A getattr out ndim None 0 N/A out pre_allocated N/A N/A ins type N/A out type N/A N/A reuse_out out N/A N/A N/A pre_allocated add out N/A N/A N/A allocated add ins N/A N/A N/A reuse_out None N/A N/A N/A reallocated_info N/A ins N/A ins reuse_out N/A reallocated_info N/A VM N/A object N/A N/A 
    A VM object's __call__ method evaluates a Theano program.

    The Stack should be considered the reference VM/Linker implementation.
    It can correctly evaluate all graphs and is the easiest to read. The CVM
    is a port of Stack, and should have the same behavior, but run faster.
    The CVM's code is harder to read though.

    The other python VMs are maybe not necessary anymore, and don't take
    advantage of lazy computation, though they still produce the correct
    output for lazy nodes.

    Parameters
    ----------
    nodes
        A list of nodes in toposort order.
    thunks
        A list of thunks to execute those nodes, in toposort order.
    pre_call_clear
        A list of containers to empty at the beginning of each call.

    Attributes
    ----------
    call_counts
        List of integers, one for each thunk. call_count[i] is the number of
        times thunks[i] was called in the course of computations performed by
        call_with_timers().
    call_times
        List of floats, one for each thunk. call_times[i] is the amount of
        runtime spent on thunks[i] in the course of computations performed by
        call_with_timers().

    need_update_inputs : bool
        True indicates that Function.__call__ must implement the feedback from
        output storage to input storage. False means it *must not* repeat that
        feedback.

     __init__ N/A N/A self nodes thunks pre_call_clear N/A N/A N/A N/A N/A len nodes N/A len thunks N/A N/A N/A ValueError N/A N/A self nodes nodes N/A N/A self thunks thunks N/A N/A self pre_call_clear pre_call_clear N/A N/A self call_counts N/A N/A 0 N/A len nodes N/A N/A self call_times N/A N/A 0 N/A len nodes N/A N/A self time_thunks False N/A N/A self need_update_inputs True N/A __call__ N/A N/A self N/A N/A N/A 
        Run the machine.

        Postcondition - all output variables have been computed.  VMs vary in
        what exactly this means and how it is done.

         N/A N/A NotImplementedError override me N/A clear_storage N/A N/A self N/A N/A N/A 
        Free any internal references to temporary variables.

        Free internal variables and outputs.  Essentially, free as much memory
        as possible without intefering with the ability to evaluate subsequent
        calls.

         N/A N/A NotImplementedError override me N/A update_profile N/A N/A self profile N/A N/A N/A N/A node thunk t c N/A zip N/A self nodes N/A self thunks N/A self call_times N/A self call_counts N/A N/A N/A N/A N/A profile apply_time setdefault node 0.0 N/A N/A N/A profile apply_time N/A node t N/A N/A N/A N/A profile apply_callcount setdefault node 0 N/A N/A N/A profile apply_callcount N/A node c N/A N/A N/A profile apply_cimpl N/A node N/A hasattr thunk cthunk N/A N/A hasattr self variable_shape N/A N/A N/A profile variable_shape N/A N/A N/A self variable_shape copy N/A N/A profile variable_strides N/A N/A N/A self variable_strides copy N/A N/A hasattr self node_executed_order N/A N/A N/A profile node_executed_order N/A N/A self node_executed_order N/A N/A N/A hasattr self node_cleared_order N/A N/A N/A profile node_cleared_order N/A N/A self node_cleared_order N/A N/A N/A hasattr self dependencies N/A N/A N/A profile dependencies N/A self dependencies N/A i N/A xrange N/A len N/A self call_times N/A N/A N/A N/A self call_times N/A i 0.0 N/A N/A N/A self call_counts N/A i 0 N/A N/A Loop N/A VM N/A N/A 
    Unconditional start-to-finish program execution in Python.
    No garbage collection is allowed on intermediate results.

     N/A allow_gc False __call__ N/A N/A self N/A N/A N/A N/A self time_thunks N/A N/A cont N/A self pre_call_clear N/A N/A N/A cont N/A 0 None N/A N/A N/A N/A i N/A thunk node N/A enumerate N/A zip N/A self thunks N/A self nodes N/A N/A t0 N/A N/A time time N/A N/A thunk N/A t1 N/A N/A time time N/A N/A N/A self call_counts N/A i 1 N/A N/A N/A self call_times N/A i N/A t1 t0 N/A N/A N/A N/A N/A N/A link raise_with_op node thunk N/A N/A cont N/A self pre_call_clear N/A N/A N/A cont N/A 0 None N/A N/A N/A N/A thunk node N/A zip N/A self thunks N/A self nodes N/A N/A N/A thunk N/A N/A N/A N/A N/A N/A link raise_with_op node thunk N/A N/A LoopGC N/A VM N/A N/A 
    Unconditional start-to-finish program execution in Python.
    Garbage collection is possible on intermediate results.

     __init__ N/A N/A self nodes thunks pre_call_clear post_thunk_clear N/A N/A N/A N/A N/A N/A super LoopGC self __init__ nodes thunks pre_call_clear N/A N/A self post_thunk_clear post_thunk_clear N/A N/A self allow_gc True N/A N/A N/A N/A len nodes N/A len thunks N/A len post_thunk_clear N/A N/A N/A ValueError N/A __call__ N/A N/A self N/A N/A N/A N/A self time_thunks N/A N/A cont N/A self pre_call_clear N/A N/A N/A cont N/A 0 None N/A N/A N/A i 0 N/A N/A thunk node old_storage N/A zip N/A self thunks N/A self nodes N/A self post_thunk_clear N/A N/A t0 N/A N/A time time N/A N/A thunk N/A t1 N/A N/A time time N/A N/A N/A self call_counts N/A i 1 N/A N/A N/A self call_times N/A i N/A t1 t0 N/A old_s old_storage N/A N/A N/A old_s N/A 0 None N/A i 1 N/A N/A N/A N/A N/A N/A link raise_with_op node thunk N/A N/A cont N/A self pre_call_clear N/A N/A N/A cont N/A 0 None N/A N/A N/A N/A thunk node old_storage N/A zip N/A self thunks N/A self nodes N/A self post_thunk_clear N/A N/A N/A thunk N/A old_s old_storage N/A N/A N/A old_s N/A 0 None N/A N/A N/A N/A N/A N/A link raise_with_op node thunk N/A N/A Stack N/A VM N/A N/A 
    Finish-to-start evalution order of thunks.

    This supports lazy evaluation of subtrees and partial
    computations of graphs when only some inputs have changed.

    At a pseudo-code level, the basic idea is the following:

    def recursively_evaluate(var):
        if var is up to date:
            return
        if var.owner.inputs are up to date:
            update var
            return
        for input in var.owner.unputs:
            recursively_evaluate(var)

    for output in outputs:
        recursively_evaluate(output)

    The actual logic is more complex to support intermediate
    garbage collection, lazily-evaluated nodes, and better speed.

     __init__ N/A N/A self nodes thunks pre_call_clear storage_map compute_map fgraph allow_gc dependencies callback N/A None None N/A N/A N/A N/A N/A super Stack self __init__ nodes thunks pre_call_clear N/A N/A self allow_gc allow_gc N/A N/A self message N/A N/A self base_apply_stack N/A N/A o owner N/A o N/A fgraph outputs N/A o owner N/A N/A self outputs N/A fgraph outputs N/A N/A self storage_map storage_map N/A N/A self variable_shape N/A N/A N/A self variable_strides N/A N/A N/A self compute_map compute_map N/A N/A self node_idx node_idx N/A N/A N/A self callback callback N/A ords N/A N/A fgraph orderings N/A N/A i node N/A enumerate N/A self nodes N/A N/A N/A node_idx N/A node i N/A N/A node destroy_dependencies N/A N/A N/A node ords N/A N/A prereq N/A ords N/A node N/A N/A N/A node destroy_dependencies N/A prereq outputs N/A N/A self dependencies dependencies N/A N/A N/A self allow_gc N/A N/A self dependencies None N/A N/A N/A ValueError Must set dependencies when using GC N/A run_thunk_of_node N/A N/A self node N/A N/A N/A 
        Run the thunk corresponding to Apply instance `node`.

        Calls self.callback if it is defined.

         N/A idx N/A N/A self node_idx N/A node N/A t0 N/A N/A time time N/A rval N/A N/A N/A self thunks N/A idx N/A N/A N/A N/A self node_executed_order append node N/A dt N/A max N/A N/A N/A time time t0 1e-10 N/A N/A N/A self callback None N/A N/A N/A N/A self callback node node thunk N/A N/A self thunks N/A idx storage_map N/A self storage_map compute_map N/A self compute_map N/A N/A rval dt N/A __call__ N/A N/A self N/A N/A N/A storage_map N/A self storage_map N/A compute_map N/A self compute_map N/A thunks N/A self thunks N/A dependencies N/A self dependencies N/A N/A self node_executed_order N/A N/A N/A self node_cleared_order N/A N/A k N/A self storage_map N/A N/A N/A N/A compute_map N/A k N/A 0 N/A N/A k owner None N/A apply_stack N/A list N/A self base_apply_stack N/A last_apply_stack_len -1 N/A N/A var data N/A iteritems N/A self storage_map N/A N/A N/A N/A data N/A 0 None N/A N/A N/A N/A hasattr N/A var type get_shape_info N/A N/A sh N/A N/A N/A var type get_shape_info N/A data N/A 0 N/A N/A sh input no shape N/A N/A N/A self variable_shape N/A var sh N/A st N/A getattr N/A data N/A 0 strides input no strides N/A N/A N/A getattr N/A data N/A 0 flags False N/A N/A N/A data N/A 0 flags c_contiguous N/A N/A st c N/A N/A N/A N/A hasattr N/A data N/A 0 is_c_contiguous N/A N/A N/A data N/A 0 is_c_contiguous N/A N/A st c N/A N/A N/A self variable_strides N/A var st N/A apply_stack N/A N/A apply_stack_len N/A len apply_stack N/A N/A apply_stack_len last_apply_stack_len N/A last_apply_stack_len apply_stack_len N/A current_apply N/A N/A apply_stack pop N/A current_inputs N/A current_apply inputs N/A current_outputs N/A current_apply outputs N/A current_deps N/A current_inputs N/A current_apply destroy_dependencies N/A computed_ins N/A all N/A N/A N/A compute_map N/A v N/A 0 N/A v current_deps N/A computed_outs N/A all N/A N/A N/A compute_map N/A v N/A 0 N/A v current_outputs N/A N/A N/A N/A thunks N/A N/A N/A self node_idx N/A current_apply lazy N/A N/A N/A computed_ins N/A computed_outs N/A N/A N/A N/A N/A _ dt N/A N/A self run_thunk_of_node current_apply N/A _ N/A N/A config profile N/A N/A current_idx N/A N/A self node_idx N/A current_apply N/A N/A N/A self call_counts N/A current_idx 1 N/A N/A N/A self call_times N/A current_idx dt N/A N/A idx o N/A enumerate N/A N/A thunks N/A N/A N/A self node_idx N/A current_apply outputs N/A N/A var N/A N/A N/A N/A self nodes N/A current_idx outputs N/A idx N/A N/A hasattr N/A var type get_shape_info N/A N/A sh N/A N/A N/A var type get_shape_info N/A o N/A 0 N/A N/A sh input no shape N/A N/A N/A self variable_shape N/A var sh N/A st N/A getattr N/A o N/A 0 strides input no strides N/A N/A N/A getattr N/A o N/A 0 flags False N/A N/A N/A o N/A 0 flags c_contiguous N/A N/A st c N/A N/A N/A N/A hasattr N/A data N/A 0 is_c_contiguous N/A N/A N/A data N/A 0 is_c_contiguous N/A N/A st c N/A N/A N/A self variable_strides N/A var st N/A N/A N/A Exception N/A N/A N/A N/A link raise_with_op current_apply N/A N/A self thunks N/A N/A N/A self node_idx N/A current_apply storage_map storage_map N/A o N/A current_apply outputs N/A N/A N/A N/A compute_map N/A o N/A 0 1 N/A input_index N/A N/A N/A self allow_gc N/A N/A i N/A current_apply inputs N/A N/A N/A N/A dependencies N/A i N/A i owner N/A i N/A self outputs N/A N/A N/A all N/A N/A N/A compute_map N/A v N/A 0 N/A v N/A dependencies N/A i N/A N/A N/A N/A storage_map N/A i N/A 0 None N/A N/A N/A input_index append N/A N/A N/A current_apply inputs index i N/A N/A N/A compute_map N/A i N/A 0 2 N/A N/A N/A N/A config warn vm_gc_bug N/A current_apply apply_stack N/A getattr N/A current_apply op destroy_map False N/A N/A N/A N/A warnings warn There was a bug that existed in the default Theano configuration, only in the development version between July 5th 2012 and July 30th 2012. This was not in a released version. The bug was affecting this script. stacklevel 3 N/A N/A N/A N/A self node_cleared_order append input_index N/A N/A N/A computed_ins N/A N/A N/A N/A apply_stack append current_apply N/A N/A N/A apply_stack extend N/A N/A inp owner N/A inp current_deps N/A inp owner N/A N/A N/A computed_outs N/A N/A N/A N/A N/A requires dt N/A N/A self run_thunk_of_node current_apply N/A current_idx N/A N/A self node_idx N/A current_apply N/A N/A N/A self call_counts N/A current_idx 1 N/A N/A N/A self call_times N/A current_idx dt N/A N/A N/A Exception N/A N/A N/A N/A link raise_with_op current_apply N/A N/A self thunks N/A N/A N/A self node_idx N/A current_apply storage_map storage_map N/A requires N/A N/A r requires N/A N/A N/A N/A apply_stack append current_apply N/A N/A N/A N/A current_apply inputs N/A r owner N/A N/A N/A N/A apply_stack append N/A N/A N/A current_apply inputs N/A r owner N/A N/A N/A config profile N/A N/A N/A idx o N/A enumerate N/A N/A thunks N/A N/A N/A self node_idx N/A current_apply outputs N/A N/A var N/A N/A N/A N/A self nodes N/A N/A N/A self node_idx N/A current_apply outputs N/A idx N/A N/A hasattr N/A var type get_shape_info N/A N/A sh N/A N/A N/A var type get_shape_info N/A o N/A 0 N/A N/A sh input no shape N/A N/A N/A self variable_shape N/A var sh N/A st N/A getattr N/A o N/A 0 strides input no strides N/A N/A N/A getattr N/A o N/A 0 flags False N/A N/A N/A o N/A 0 flags c_contiguous N/A N/A st c N/A N/A N/A N/A hasattr N/A data N/A 0 is_c_contiguous N/A N/A N/A data N/A 0 is_c_contiguous N/A N/A st c N/A N/A N/A self variable_strides N/A var st N/A input_index N/A N/A N/A self allow_gc N/A N/A i N/A current_apply inputs N/A N/A N/A N/A dependencies N/A i N/A i owner N/A i N/A self outputs N/A N/A empty_storage_map True N/A x N/A dependencies N/A i N/A N/A N/A N/A N/A compute_map N/A x N/A 0 N/A N/A empty_storage_map False N/A N/A empty_storage_map N/A N/A N/A N/A storage_map N/A i N/A 0 None N/A N/A N/A input_index append N/A N/A N/A current_apply inputs index i N/A N/A N/A compute_map N/A i N/A 0 2 N/A N/A N/A N/A self node_cleared_order append input_index N/A final_index N/A N/A N/A self allow_gc N/A N/A v storage_map N/A N/A N/A N/A v owner N/A v N/A self outputs N/A N/A N/A N/A N/A compute_map N/A v N/A 0 2 N/A N/A N/A N/A N/A N/A storage_map N/A v N/A 0 None N/A N/A N/A final_index append v N/A N/A N/A compute_map N/A v N/A 0 2 N/A N/A N/A N/A self node_cleared_order append final_index N/A N/A N/A N/A N/A lazylinker_c CVM N/A N/A lazylinker_c CLazyLinker VM N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A lazylinker_c CLazyLinker __init__ self args kwargs N/A N/A N/A N/A N/A ImportError N/A N/A N/A N/A N/A OSError N/A N/A N/A theano gof cmodule MissingGXX N/A e N/A N/A N/A N/A N/A N/A N/A N/A x N/A x _config_var_list N/A N/A x fullname linker N/A 0 default startswith cvm e N/A VM_Linker N/A N/A link LocalLinker N/A N/A 
    Class that satisfies the Linker interface by acting as a VM factory.

    Parameters
    ----------
    allow_gc
        Force the virtual machine to clean up unnecessary
        references, in order to allow garbage collection on
        intermediate values during computation of a function.
        If None use as default the value of the Theano flag allow_gc.
    use_cloop
        Use the C-based virtual machine if possible
    callback
        A callable object to call after each call to a thunk within
        the virtual machine.  It will be called with four arguments called
        'node', 'thunk', 'storage_map', and 'compute_map'.
    lazy
        Useful only when use_cloop is False. When lazy is None, use the
        theano flag vm.lazy value. Then if we have a None (default) we auto
        detect if lazy evaluation is needed and use the apropriate
        version. If lazy is True or False, we force the version used
        between Loop/LoopGC and Stack.
    c_thunks
        If None or True, don't change the default. If False,
        don't compile c code for the thunks.

     __init__ N/A N/A self allow_gc use_cloop callback lazy schedule c_thunks N/A None False None None None None N/A N/A N/A allow_gc None N/A N/A allow_gc N/A config allow_gc N/A N/A self fgraph None N/A N/A self allow_gc allow_gc N/A N/A self use_cloop use_cloop N/A N/A self callback callback N/A N/A self lazy lazy N/A N/A self c_thunks c_thunks N/A N/A self updated_vars N/A N/A schedule N/A N/A N/A self schedule schedule N/A accept N/A N/A self fgraph no_recycling N/A None N/A N/A 

        Parameters
        ----------
        fgraph
            A PerformLinker can have accepted one FunctionGraph instance
            at a time.
        no_recycling
            WRITEME

        Returns
        -------
        Self if fgraph is the first FunctionGraph that has ever been
        associated to self, else, a new VM_Linker associated to fgraph.

         N/A N/A N/A config profile N/A hasattr theano sandbox N/A hasattr N/A theano sandbox cuda N/A N/A N/A theano sandbox cuda cuda_enabled N/A N/A N/A N/A N/A N/A os environ get CUDA_LAUNCH_BLOCKING 0 1 N/A N/A N/A Exception You are running the Theano profiler with CUDA enabled. Theano GPU ops execution is asynchronous by default. So by default, the profile is useless. You must set the environment variable CUDA_LAUNCH_BLOCKING to 1 to tell the CUDA driver to synchronize the execution to get a meaningful profile. N/A N/A no_recycling None N/A N/A no_recycling N/A N/A N/A N/A N/A self fgraph None N/A N/A self fgraph fgraph N/A N/A N/A N/A N/A N/A type self allow_gc N/A self allow_gc use_cloop N/A self use_cloop callback N/A self callback lazy N/A self lazy schedule N/A self schedule c_thunks N/A self c_thunks accept fgraph no_recycling N/A N/A self fgraph fgraph N/A N/A self no_recycling no_recycling N/A self N/A accept_var_updates N/A N/A self updated_vars N/A N/A N/A N/A self updated_vars updated_vars N/A compute_gc_dependencies N/A N/A self variables N/A N/A N/A 
        Returns dict: variable K -> list of variables [v1, v2, v3, ...]
        for each K in variables.

        The variables v1, v2, ... are the full set of variables that depend
        directly on K. When we know that none of them will need to be
        computed, we know that:
        * K will not need to be computed.
        * If K is already computed, it can be released for garbage collection.

        Parameters
        ----------
        variables
            Iterable over the variables used in a graph computation.

        Notes
        -----
        It doesn't take care of the view_map/destroy_map. So it means it relies
        on Python gc no to free the object real storage.

        N.B. gc means garbage collection

         N/A dependencies N/A N/A k variables N/A N/A N/A dependencies N/A k N/A N/A N/A N/A k owner N/A k clients N/A N/A ls N/A N/A cl N/A k clients N/A N/A N/A N/A cl N/A 0 output N/A N/A ls N/A N/A cl N/A 0 outputs N/A N/A dependencies N/A k ls N/A dependencies N/A make_vm N/A N/A self nodes thunks input_storage output_storage storage_map post_thunk_clear computed compute_map updated_vars N/A N/A N/A pre_call_clear N/A N/A storage_map N/A v N/A v N/A self no_recycling N/A N/A N/A N/A self callback None N/A N/A config profile N/A config profile_memory N/A N/A N/A N/A self use_cloop N/A N/A self callback None N/A N/A N/A N/A logger warn CVM does not support callback, using Stack VM. N/A N/A N/A self use_cloop N/A config profile_memory N/A N/A N/A N/A warnings warn CVM does not support memory profile, using Stack VM. N/A deps N/A N/A self compute_gc_dependencies storage_map N/A vm N/A Stack nodes thunks pre_call_clear storage_map compute_map N/A self fgraph N/A self allow_gc dependencies deps callback N/A self callback N/A N/A N/A self use_cloop N/A N/A nodes_idx N/A N/A vars_idx N/A N/A N/A i node N/A enumerate nodes N/A N/A N/A nodes_idx N/A node i N/A v N/A N/A node inputs N/A node outputs N/A N/A N/A N/A vars_idx setdefault v N/A len vars_idx N/A v N/A N/A N/A self fgraph inputs N/A N/A self fgraph outputs N/A N/A N/A N/A vars_idx setdefault v N/A len vars_idx N/A nodes_idx_inv N/A N/A vars_idx_inv N/A N/A N/A node i N/A iteritems nodes_idx N/A N/A N/A nodes_idx_inv N/A i node N/A N/A var i N/A iteritems vars_idx N/A N/A N/A vars_idx_inv N/A i var N/A storage_map_list N/A N/A storage_map N/A N/A vars_idx_inv N/A i N/A i N/A xrange N/A len vars_idx_inv N/A compute_map_list N/A N/A compute_map N/A N/A vars_idx_inv N/A i N/A i N/A xrange N/A len vars_idx_inv N/A nodes N/A N/A N/A N/A type N/A storage_map_list N/A 0 list N/A N/A N/A type N/A compute_map_list N/A 0 list N/A dependency_map N/A N/A self compute_gc_dependencies storage_map N/A dependency_map_list N/A N/A N/A vars_idx N/A d N/A d N/A dependency_map N/A N/A vars_idx_inv N/A i N/A i N/A xrange N/A len vars_idx_inv N/A base_input_output_list N/A N/A node_n_inputs N/A N/A node_n_outputs N/A N/A node_input_offset N/A N/A node_output_offset N/A N/A node nodes N/A N/A inputs_idx N/A N/A vars_idx N/A v N/A v N/A node inputs N/A outputs_idx N/A N/A vars_idx N/A v N/A v N/A node outputs N/A N/A N/A node_n_inputs append N/A len inputs_idx N/A N/A N/A node_n_outputs append N/A len outputs_idx N/A N/A N/A node_input_offset append N/A len base_input_output_list N/A N/A N/A base_input_output_list extend inputs_idx N/A N/A N/A node_output_offset append N/A len base_input_output_list N/A N/A N/A base_input_output_list extend outputs_idx N/A var_owner N/A N/A None N/A len vars_idx N/A N/A var i N/A iteritems vars_idx N/A N/A N/A var owner N/A N/A N/A var_owner N/A i N/A nodes_idx N/A N/A var owner N/A is_lazy_list N/A N/A int N/A th lazy N/A th thunks N/A output_vars N/A N/A vars_idx N/A v N/A v N/A N/A self fgraph outputs N/A ords N/A N/A N/A self fgraph orderings N/A node_prereqs N/A N/A node_output_size N/A N/A N/A i node N/A enumerate nodes N/A N/A N/A N/A node_output_size append 0 N/A prereq_var_idxs N/A N/A prereq_node N/A N/A ords get node N/A N/A N/A N/A N/A prereq_var_idxs extend N/A N/A vars_idx N/A v N/A v N/A prereq_node outputs N/A prereq_var_idxs N/A list N/A set prereq_var_idxs N/A N/A N/A prereq_var_idxs sort N/A N/A N/A node_prereqs append prereq_var_idxs N/A update_storage N/A N/A update_in_from_out N/A N/A N/A ivar ovar N/A iteritems updated_vars N/A N/A N/A update_in_from_out N/A N/A vars_idx N/A ovar N/A vars_idx N/A ivar N/A oidx output_vars N/A N/A N/A oidx update_in_from_out N/A N/A N/A N/A update_storage append N/A update_in_from_out N/A oidx N/A c0 N/A N/A sys getrefcount node_n_inputs N/A vm N/A CVM nodes thunks pre_call_clear allow_gc N/A self allow_gc call_counts N/A N/A 0 N/A len nodes call_times N/A N/A 0.0 N/A len nodes compute_map_list compute_map_list storage_map_list storage_map_list base_input_output_list base_input_output_list node_n_inputs node_n_inputs node_n_outputs node_n_outputs node_input_offset node_input_offset node_output_offset node_output_offset var_owner var_owner is_lazy_list is_lazy_list output_vars output_vars node_prereqs node_prereqs node_output_size node_output_size update_storage update_storage dependencies dependency_map_list N/A N/A c0 N/A N/A sys getrefcount node_n_inputs N/A N/A lazy N/A self lazy N/A N/A lazy None N/A N/A lazy N/A N/A config vm lazy N/A N/A lazy None N/A N/A lazy N/A N/A all N/A N/A N/A th lazy N/A th thunks N/A N/A lazy N/A N/A N/A self allow_gc N/A N/A vm N/A LoopGC nodes thunks pre_call_clear post_thunk_clear N/A N/A vm N/A Loop nodes thunks pre_call_clear N/A N/A deps N/A N/A self compute_gc_dependencies storage_map N/A vm N/A Stack nodes thunks pre_call_clear storage_map compute_map N/A self fgraph N/A self allow_gc dependencies deps N/A vm N/A make_all N/A N/A self profiler input_storage output_storage storage_map N/A None None None None N/A N/A fgraph N/A self fgraph N/A order N/A N/A self schedule fgraph N/A no_recycling N/A self no_recycling N/A N/A input_storage output_storage storage_map N/A N/A link map_storage fgraph order input_storage output_storage storage_map N/A compute_map N/A N/A k storage_map N/A N/A N/A compute_map N/A k N/A N/A N/A k owner None N/A thunks N/A N/A compute_map_re N/A defaultdict N/A N/A N/A N/A N/A 0 N/A var N/A fgraph inputs N/A N/A N/A N/A compute_map_re N/A var N/A 0 1 N/A N/A getattr N/A fgraph profile dependencies None N/A N/A dependencies N/A getattr N/A fgraph profile dependencies N/A N/A dependencies N/A N/A self compute_gc_dependencies storage_map N/A reallocated_info N/A calculate_reallocate_info order fgraph storage_map compute_map_re dependencies N/A node order N/A N/A N/A N/A N/A N/A self c_thunks False N/A N/A N/A N/A node op _op_use_c_code False N/A N/A N/A thunks append N/A N/A N/A node op make_thunk node storage_map compute_map no_recycling N/A N/A N/A hasattr N/A thunks N/A -1 lazy N/A N/A N/A N/A thunks N/A -1 lazy False N/A N/A N/A Exception N/A e N/A N/A N/A e args N/A N/A The following error happened while compiling the node node N/A e args N/A N/A N/A node thunk N/A zip order thunks N/A N/A N/A thunk inputs N/A N/A storage_map N/A v N/A v N/A node inputs N/A N/A thunk outputs N/A N/A storage_map N/A v N/A v N/A node outputs N/A lazy N/A self lazy N/A N/A lazy None N/A N/A lazy N/A N/A config vm lazy N/A N/A lazy None N/A N/A lazy N/A N/A all N/A N/A N/A th lazy N/A th thunks N/A N/A N/A lazy N/A N/A config profile N/A config profile_memory N/A self use_cloop N/A self callback N/A N/A pair N/A itervalues reallocated_info N/A N/A N/A storage_map N/A N/A pair N/A 1 N/A storage_map N/A N/A pair N/A 0 N/A N/A computed last_user N/A N/A link gc_helper order N/A N/A self allow_gc N/A N/A post_thunk_clear N/A N/A node order N/A N/A clear_after_this_thunk N/A N/A input N/A node inputs N/A N/A N/A N/A input computed N/A input N/A fgraph outputs N/A node N/A last_user N/A input N/A input reallocated_info N/A N/A N/A N/A clear_after_this_thunk append N/A storage_map N/A input N/A N/A N/A post_thunk_clear append clear_after_this_thunk N/A N/A post_thunk_clear None N/A vm N/A N/A self make_vm order thunks input_storage output_storage storage_map post_thunk_clear computed compute_map N/A self updated_vars N/A N/A vm storage_map storage_map N/A N/A vm N/A N/A N/A link Container input storage N/A N/A input storage N/A zip N/A fgraph inputs input_storage N/A N/A N/A link Container output storage True N/A N/A output storage N/A zip N/A fgraph outputs output_storage thunks order N/A __setstate__ N/A N/A self d N/A N/A N/A N/A N/A N/A self __dict__ update d N/A N/A N/A hasattr self c_thunks N/A N/A N/A self c_thunks True N/A N/A