Module Import alias ImportFrom alias Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword Num BinOpAdd NameLoad NameLoad keyword Dict NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad BinOpMult NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpAdd NameLoad BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr keyword NameLoad Num keyword NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpAdd NameLoad Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str TryExcept body Expr Call NameLoad ListLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult NameLoad NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Str If CompareLt Call AttributeLoad Call NameLoad NameLoad attr NameLoad Num body Raise decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr keyword NameLoad Num keyword NameLoad Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr BinOpPow BinOpAdd NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Str Assign NameStore Call NameLoad ListLoad NameLoad Assert CompareEq Call NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr keyword NameLoad Num keyword NameLoad Assert CompareEq Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad ListLoad NameLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword Str Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad ListLoad NameLoad TryExcept body Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad ListLoad NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpMult NameLoad Num Assert UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad ListLoad NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad BinOpMult NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad Num Assert CompareIsNot Call AttributeLoad NameLoad attr keyword NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword Str Assert Call AttributeLoad CompareEq Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Num attr Assert Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad NameLoad keyword Str Assert Call AttributeLoad CompareEq Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Num attr Assert Call AttributeLoad CompareEq Call AttributeLoad NameLoad attr keyword NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Num attr Assert Call AttributeLoad CompareEq NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Num attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpAdd NameLoad Num keyword Str Assert Call AttributeLoad CompareEq Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Num Num attr Assert Call AttributeLoad CompareEq Call AttributeLoad NameLoad attr keyword NameLoad BinOpAdd BinOpMult Call AttributeLoad NameLoad attr Num Num Num attr Assert UnaryOpNot Call AttributeLoad CompareEq NameLoad Call AttributeLoad NameLoad attr Num attr Assert UnaryOpNot Call AttributeLoad CompareEq NameLoad Call AttributeLoad NameLoad attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Call AttributeLoad NameLoad attr ListLoad Num keyword Str Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad BinOpPow Num Num Call AttributeLoad NameLoad attr Num keyword Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num Num Num Num Assert Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num If CompareEq AttributeLoad NameLoad attr Str body Assert Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Num orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad Call NameLoad NameLoad keyword NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad NameLoad Num Assert Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad ListLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad keyword NameLoad Assert CompareEq Call NameLoad ListLoad BinOpPow Num Num ListLoad Num Num Num Assert CompareEq Call NameLoad ListLoad Num ListLoad Num Num Num Assert CompareEq Call NameLoad ListLoad Num ListLoad Num Num Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad keyword NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Call AttributeLoad NameLoad attr ListLoad Num keyword Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num ListLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Call AttributeLoad NameLoad attr ListLoad Num keyword Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad BinOpAdd NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad BinOpAdd NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad BinOpAdd NameLoad NameLoad keyword NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num ListLoad Num Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num ListLoad Num Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad Num ListLoad Num Num Assert Call AttributeLoad NameLoad attr Call NameLoad Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr Call NameLoad Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num ListLoad Num If CompareEq AttributeLoad NameLoad attr Str body Assert Call AttributeLoad NameLoad attr Call NameLoad Num ListLoad Num Num orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad keyword Dict NameLoad Num Expr Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad keyword Dict NameLoad BinOpAdd NameLoad Num Expr Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad keyword Dict NameLoad BinOpAdd NameLoad NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num attr Str Assign NameStore Call NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword ListLoad keyword ListLoad keyword Dict NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad NameLoad NameLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad TupleLoad NameLoad BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad keyword Dict NameLoad Num Assert CompareEq Call NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr keyword NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad BinOpMult NameLoad NameLoad keyword Dict NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num Num Num ListLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad BinOpAdd NameLoad Num keyword Dict NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Str Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad ListLoad Num Num Num ListLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign NameStore Call NameLoad ListLoad ListLoad keyword Dict NameLoad NameLoad NameLoad BinOpMult NameLoad Num BinOpAdd BinOpMult NameLoad Num NameLoad BinOpPow BinOpAdd BinOpMult NameLoad Num NameLoad NameLoad Expr Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr BinOpPow Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Delete AttributeDel NameLoad attr Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad NameLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad ListLoad NameLoad keyword Str Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword ListLoad NameLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword ListLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Str Assign NameStore BinOpMult NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword NameLoad Assert CompareEq Call NameLoad Num Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword ListLoad NameLoad Assert CompareEq Call NameLoad Num Num Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr BinOpSub NameLoad Num Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num keyword NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad BinOpSub NameLoad Num Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr BinOpSub NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpSub NameLoad Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad ListLoad NameLoad NameLoad NameLoad keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore Call NameLoad Str orelse Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad keyword NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad keyword ListLoad NameLoad Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad keyword Dict NameLoad BinOpSub NameLoad Num Expr Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign NameStore BinOpMult Num NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Expr Call NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Str Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Dict NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Assert CompareEq Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Str Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad keyword Dict NameLoad BinOpAdd NameLoad Num Assert CompareEq Call NameLoad Num Assert CompareEq Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad keyword ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad BinOpMult Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad keyword ListLoad TupleLoad NameLoad BinOpMult NameLoad Num TupleLoad NameLoad NameLoad Expr Call NameLoad Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr Expr Call NameLoad Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad keyword ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad BinOpSub BinOpMult Num NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad keyword ListLoad TupleLoad NameLoad BinOpSub BinOpMult NameLoad Num NameLoad TupleLoad NameLoad NameLoad Expr Call NameLoad Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr Expr Call NameLoad Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Pass ImportFrom alias If CompareEq NameLoad NameLoad body Raise Call NameLoad Str ImportFrom alias Assign NameStore Call Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad BinOpAdd BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num keyword Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad BinOpAdd Call AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num keyword Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num keyword Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad ListLoad keyword ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad keyword ListLoad TupleLoad NameLoad SubscriptLoad NameLoad Slice TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad keyword ListLoad TupleLoad NameLoad BinOpAdd NameLoad Num TupleLoad NameLoad SubscriptLoad NameLoad Slice Expr Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad ListLoad keyword ListLoad TupleLoad NameLoad BinOpAdd NameLoad Num TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad SubscriptLoad NameLoad Slice Num TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad SubscriptLoad NameLoad Slice Num TupleLoad NameLoad BinOpMult SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad BinOpMult NameLoad Num keyword ListLoad TupleLoad NameLoad BinOpMult SubscriptLoad NameLoad Slice Num Num TupleLoad NameLoad BinOpMult SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad BinOpMult NameLoad Num keyword ListLoad TupleLoad NameLoad BinOpMult SubscriptLoad NameLoad Slice Num Num TupleLoad NameLoad BinOpMult SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call NameLoad ListLoad ListLoad keyword ListLoad TupleLoad NameLoad NameLoad Expr Call NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad ListLoad keyword ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad ListLoad keyword ListLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Expr Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad UnaryOpUAdd Num Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore BinOpSub Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad ListLoad keyword ListLoad TupleLoad NameLoad SubscriptLoad NameLoad ExtSlice Slice Slice Num TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad UnaryOpUAdd Num Assert UnaryOpNot Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad If CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str body Assert Call AttributeLoad NameLoad attr CompareLt Call NameLoad NameLoad Num AugAssignAdd NameStore Num Assert Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num AugAssignSub NameStore Num Assert Call AttributeLoad NameLoad attr CompareLt Call NameLoad NameLoad Num AugAssignAdd NameStore Num Assert Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num AugAssignSub NameStore Num Assert Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad keyword ListLoad TupleLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Str Call AttributeLoad NameLoad attr Num keyword Str Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad BinOpMult Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call NameLoad attr
N/A N/A unittest nose.plugins.skip SkipTest N/A numpy N/A theano theano.tensor dmatrix iscalar lscalar dmatrices theano tensor theano.compile In theano.compile.sharedvalue * theano.compile.pfunc * data_of N/A N/A s N/A N/A N/A Return the raw value of a shared variable N/A N/A N/A N/A s container storage N/A 0 N/A Test_pfunc N/A N/A unittest TestCase N/A test_doc N/A N/A self N/A N/A N/A Ensure the code given in pfunc.txt works as expected N/A a N/A lscalar N/A b N/A shared 1 N/A f1 N/A pfunc N/A a N/A a b N/A f2 N/A pfunc N/A N/A In a value 44 N/A a b updates N/A b N/A b 1 N/A N/A N/A self assertTrue N/A N/A N/A b get_value 1 N/A N/A N/A self assertTrue N/A N/A f1 3 4 N/A N/A N/A self assertTrue N/A N/A f2 3 4 N/A N/A N/A self assertTrue N/A N/A N/A b get_value 2 N/A N/A N/A self assertTrue N/A N/A f1 3 5 N/A N/A N/A b set_value 0 N/A N/A N/A self assertTrue N/A N/A f1 3 3 N/A a N/A N/A tensor lscalar N/A b N/A shared 7 N/A f1 N/A pfunc N/A a N/A a b N/A f2 N/A pfunc N/A a N/A a b N/A N/A N/A self assertTrue N/A N/A f1 5 12 N/A N/A N/A b set_value 8 N/A N/A N/A self assertTrue N/A N/A f1 5 13 N/A N/A N/A self assertTrue N/A N/A f2 4 32 N/A test_shared N/A N/A self N/A N/A N/A w N/A shared N/A N/A N/A numpy random rand 2 2 w N/A wval N/A N/A w get_value borrow False N/A x N/A dmatrix N/A out1 N/A w x N/A out2 N/A w x N/A f1 N/A pfunc N/A x N/A out1 N/A f2 N/A pfunc N/A x N/A out2 N/A xval N/A N/A N/A numpy random rand 2 2 N/A N/A N/A numpy all N/A N/A f1 xval N/A xval wval N/A N/A N/A numpy all N/A N/A f2 xval N/A xval wval N/A f3 N/A pfunc N/A x out1 updates N/A N/A w N/A w 1 N/A N/A N/A numpy all N/A N/A f3 xval N/A xval wval N/A N/A N/A numpy all N/A N/A f1 xval N/A xval N/A wval 1 N/A N/A N/A w set_value N/A N/A N/A w get_value borrow True 10 borrow True N/A N/A N/A numpy all N/A N/A f1 xval N/A xval N/A N/A w get_value borrow True N/A test_no_shared_as_input N/A N/A self N/A N/A N/A Test that shared variables cannot be used as function inputs. N/A w_init N/A N/A N/A numpy random rand 2 2 N/A w N/A shared N/A N/A w_init copy w N/A N/A N/A N/A pfunc N/A w N/A N/A N/A theano tensor sum N/A w w N/A False N/A N/A N/A TypeError N/A e N/A N/A msg Cannot use a shared variable (w) as explicit input N/A N/A N/A N/A N/A str e find msg 0 N/A N/A N/A test_default_container N/A N/A self N/A N/A N/A rng N/A N/A N/A numpy random RandomState 1827 N/A w_init N/A N/A rng rand 5 N/A w N/A shared N/A N/A w_init copy w N/A reg N/A N/A N/A theano tensor sum N/A w w N/A f N/A pfunc N/A reg N/A N/A N/A f N/A N/A numpy sum N/A w_init w_init N/A N/A N/A w set_value N/A N/A N/A w get_value borrow True 1.0 borrow True N/A N/A N/A f N/A N/A numpy sum N/A N/A w_init 1 2 N/A test_default_scalar_container N/A N/A self N/A N/A N/A x N/A shared 0.0 x N/A f N/A pfunc N/A x N/A N/A N/A f 0 N/A N/A N/A x set_value N/A N/A N/A x get_value borrow True 1 borrow True N/A N/A N/A f 1 N/A test_param_strict N/A N/A self N/A N/A N/A a N/A N/A tensor dvector N/A b N/A shared 7 N/A out N/A a b N/A f N/A pfunc N/A N/A In a strict False N/A out N/A N/A f N/A N/A N/A numpy random rand 8 N/A N/A f N/A N/A numpy array N/A 1 2 3 4 dtype int32 N/A f N/A pfunc N/A N/A In a strict True N/A out N/A N/A N/A N/A f N/A N/A numpy array N/A 1 2 3 4 dtype int32 N/A N/A N/A TypeError N/A N/A N/A test_param_mutable N/A N/A self N/A N/A N/A a N/A N/A tensor dvector N/A a_out N/A a 2 N/A fip N/A pfunc N/A N/A In a mutable True N/A a_out mode FAST_RUN N/A aval N/A N/A N/A numpy random rand 10 N/A aval2 N/A N/A aval copy N/A N/A N/A numpy all N/A N/A fip aval N/A aval2 2 N/A N/A N/A N/A numpy all N/A aval aval2 N/A f N/A pfunc N/A N/A In a mutable False N/A a_out mode FAST_RUN N/A aval N/A N/A N/A numpy random rand 10 N/A aval2 N/A N/A aval copy N/A N/A N/A numpy all N/A N/A f aval N/A aval2 2 N/A N/A N/A numpy all N/A aval aval2 N/A test_shared_mutable N/A N/A self N/A N/A N/A bval N/A N/A numpy arange 5 N/A b N/A shared bval N/A b_out N/A b 2 N/A N/A N/A N/A b get_value borrow True bval N/A bval N/A data_of b N/A f N/A pfunc N/A N/A b_out mode FAST_RUN N/A N/A N/A N/A N/A f N/A N/A N/A numpy arange 5 2 all N/A N/A N/A numpy all N/A N/A N/A b get_value borrow True N/A N/A numpy arange 5 N/A f N/A pfunc N/A N/A b_out updates N/A N/A b b_out mode FAST_RUN N/A N/A N/A N/A N/A f N/A N/A N/A numpy arange 5 2 all N/A N/A N/A N/A N/A N/A b get_value borrow True N/A N/A N/A numpy arange 5 2 all N/A N/A N/A N/A bval N/A N/A N/A numpy arange 5 2 all N/A bval N/A N/A numpy arange 5 N/A N/A N/A b set_value bval borrow True N/A bval N/A data_of b N/A f N/A pfunc N/A N/A b_out updates N/A N/A b N/A b_out 3 mode FAST_RUN N/A N/A N/A N/A N/A f N/A N/A N/A numpy arange 5 2 all N/A N/A N/A N/A N/A N/A b get_value borrow True N/A N/A N/A N/A numpy arange 5 2 3 all N/A N/A N/A N/A N/A bval N/A N/A numpy arange 5 all N/A N/A N/A N/A N/A bval N/A N/A b get_value borrow True all N/A test_param_allow_downcast_int N/A N/A self N/A N/A N/A a N/A N/A tensor wvector a N/A b N/A N/A tensor bvector b N/A c N/A N/A tensor bscalar c N/A f N/A pfunc N/A N/A In a allow_downcast True N/A In b allow_downcast False N/A In c allow_downcast None N/A N/A a b c N/A N/A N/A numpy all N/A N/A f N/A 3 N/A 6 1 10 N/A N/A N/A self assertRaises TypeError f N/A 3 N/A N/A numpy array N/A 6 dtype int16 1 N/A N/A N/A numpy all N/A N/A f N/A N/A 2 20 N/A N/A numpy ones 1 dtype int8 1 2 N/A N/A N/A self assertRaises TypeError f N/A 3 N/A 312 1 N/A N/A N/A self assertRaises TypeError f N/A 3 N/A 6 806 N/A test_param_allow_downcast_floatX N/A N/A self N/A N/A N/A a N/A N/A tensor fscalar a N/A b N/A N/A tensor fscalar b N/A c N/A N/A tensor fscalar c N/A f N/A pfunc N/A N/A In a allow_downcast True N/A In b allow_downcast False N/A In c allow_downcast None N/A N/A a b c N/A N/A N/A numpy all N/A N/A f 0 0 0 0 N/A N/A N/A numpy allclose N/A f 0.1 0 0 0.1 N/A N/A N/A self assertRaises TypeError f 0 0.1 0 N/A N/A N/A config floatX float32 N/A N/A N/A N/A numpy allclose N/A f 0 0 0.1 0.1 N/A N/A N/A N/A self assertRaises TypeError f 0 0 0.1 N/A test_param_allow_downcast_vector_floatX N/A N/A self N/A N/A N/A a N/A N/A tensor fvector a N/A b N/A N/A tensor fvector b N/A c N/A N/A tensor fvector c N/A f N/A pfunc N/A N/A In a allow_downcast True N/A In b allow_downcast False N/A In c allow_downcast None N/A N/A a b c N/A z N/A 0 N/A N/A N/A numpy all N/A N/A f z z z 0 N/A N/A N/A numpy allclose N/A f N/A 0.1 z z 0.1 N/A N/A N/A self assertRaises TypeError f z N/A 0.1 z N/A N/A N/A self assertRaises TypeError f z z N/A 0.1 N/A test_allow_input_downcast_int N/A N/A self N/A N/A N/A a N/A N/A tensor wvector a N/A b N/A N/A tensor bvector b N/A c N/A N/A tensor bscalar c N/A f N/A pfunc N/A a b c N/A N/A a b c allow_input_downcast True N/A N/A N/A f N/A N/A 2 20 N/A 1 0 1 N/A N/A N/A f N/A 3 N/A 312 0 59 N/A N/A N/A f N/A 3 N/A 1 806 42 N/A g N/A pfunc N/A a b c N/A N/A a b c allow_input_downcast False N/A N/A N/A numpy all N/A N/A g N/A 3 N/A 6 0 9 N/A N/A N/A self assertRaises TypeError g N/A 3 N/A N/A numpy array N/A 6 dtype int16 0 N/A N/A N/A self assertRaises TypeError g N/A 3 N/A 312 0 N/A h N/A pfunc N/A a b c N/A N/A a b c N/A N/A N/A numpy all N/A N/A h N/A 3 N/A 6 0 9 N/A N/A N/A self assertRaises TypeError h N/A 3 N/A N/A numpy array N/A 6 dtype int16 0 N/A N/A N/A self assertRaises TypeError h N/A 3 N/A 312 0 N/A test_allow_downcast_floatX N/A N/A self N/A N/A N/A a N/A N/A tensor fscalar a N/A b N/A N/A tensor fvector b N/A f N/A pfunc N/A a b N/A a b allow_input_downcast True N/A g N/A pfunc N/A a b N/A a b allow_input_downcast False N/A h N/A pfunc N/A a b N/A a b allow_input_downcast None N/A N/A N/A numpy all N/A N/A f 0 N/A 0 0 N/A N/A N/A numpy all N/A N/A g 0 N/A 0 0 N/A N/A N/A numpy all N/A N/A h 0 N/A 0 0 N/A N/A N/A numpy allclose N/A f 0 N/A 0.1 0.1 N/A N/A N/A self assertRaises TypeError g 0 N/A 0.1 N/A N/A N/A self assertRaises TypeError h 0 N/A 0.1 N/A N/A N/A numpy allclose N/A f 0.1 N/A 0 0.1 N/A N/A N/A self assertRaises TypeError g 0.1 N/A 0 N/A N/A N/A config floatX float32 N/A N/A N/A N/A numpy allclose N/A h 0.1 N/A 0 0.1 N/A N/A N/A N/A self assertRaises TypeError h 0.1 N/A 0 N/A test_update N/A N/A self N/A N/A N/A Test update mechanism in different settings. N/A x N/A shared 0 N/A assign N/A pfunc N/A N/A updates N/A x 3 N/A N/A assign N/A N/A N/A self assertTrue N/A N/A N/A x get_value 3 N/A N/A N/A x set_value 0 N/A inc N/A pfunc N/A N/A updates N/A x N/A x 1 N/A N/A inc N/A N/A N/A self assertTrue N/A N/A N/A x get_value 1 N/A N/A N/A x set_value -1 N/A y N/A shared 2 N/A inc_by_y N/A pfunc N/A N/A updates N/A x N/A x y N/A N/A inc_by_y N/A N/A N/A self assertTrue N/A N/A N/A x get_value 1 N/A test_update_err_broadcast N/A N/A self N/A N/A N/A data N/A N/A N/A N/A N/A numpy random rand 10 10 astype float32 N/A output_var N/A shared name output value data N/A N/A N/A self assertRaises TypeError N/A theano function inputs N/A outputs N/A updates N/A output_var N/A N/A N/A N/A output_var sum dimshuffle x x N/A test_duplicate_updates N/A N/A self N/A N/A N/A N/A x y N/A dmatrices x y N/A z N/A shared N/A N/A numpy ones N/A 2 3 N/A N/A N/A self assertRaises ValueError N/A theano function N/A x y N/A z updates N/A N/A z N/A N/A z x y N/A z N/A z x N/A test_givens N/A N/A self N/A N/A N/A x N/A shared 0 N/A assign N/A pfunc N/A x givens N/A x 3 N/A N/A N/A assign 3 N/A N/A N/A N/A x get_value borrow True 0 N/A y N/A N/A tensor ivector N/A f N/A pfunc N/A y N/A y x givens N/A x 6 N/A N/A N/A numpy all N/A N/A f N/A 1 1 1 N/A 6 6 6 N/A N/A N/A N/A x get_value 0 N/A z N/A N/A tensor ivector N/A c N/A z y N/A f N/A pfunc N/A y N/A c 7 givens N/A z N/A N/A theano _asarray N/A 4 4 4 dtype int32 N/A N/A N/A numpy all N/A N/A f N/A 1 1 1 N/A 11 11 11 N/A N/A N/A N/A x get_value 0 N/A test_clone0 N/A N/A self N/A N/A N/A x N/A shared N/A N/A numpy asarray N/A 4 4 4 N/A y N/A shared N/A N/A numpy asarray N/A 4 4 4 N/A z N/A shared N/A N/A numpy asarray N/A 2 2 2 N/A up N/A pfunc N/A N/A updates N/A x y z N/A x 5 N/A N/A x 5 y N/A N/A N/A x 5 y z N/A N/A up N/A N/A N/A numpy all N/A N/A N/A x get_value 20 N/A N/A N/A numpy all N/A N/A N/A y get_value 24 N/A N/A N/A numpy all N/A N/A N/A z get_value N/A 24 2 N/A test_default_updates N/A N/A self N/A N/A N/A x N/A shared 0 N/A N/A x default_update N/A x 1 N/A f N/A pfunc N/A N/A x N/A N/A f N/A N/A N/A N/A x get_value 1 N/A N/A x default_update N/A N/A f N/A N/A N/A N/A x get_value 2 N/A g N/A pfunc N/A N/A x N/A N/A g N/A N/A N/A N/A x get_value 2 N/A test_no_default_updates N/A N/A self N/A N/A N/A x N/A shared 0 N/A y N/A shared 1 N/A N/A x default_update N/A x 2 N/A f1 N/A pfunc N/A N/A x no_default_updates True N/A N/A f1 N/A N/A N/A N/A x get_value 0 N/A f2 N/A pfunc N/A N/A x no_default_updates N/A x N/A N/A f2 N/A N/A N/A N/A x get_value 0 N/A f3 N/A pfunc N/A N/A x no_default_updates N/A x y N/A N/A f3 N/A N/A N/A N/A x get_value 0 N/A f4 N/A pfunc N/A N/A x no_default_updates N/A y N/A N/A f4 N/A N/A N/A N/A x get_value 2 N/A f5 N/A pfunc N/A N/A x no_default_updates N/A N/A N/A f5 N/A N/A N/A N/A x get_value 4 N/A f5 N/A pfunc N/A N/A x no_default_updates False N/A N/A f5 N/A N/A N/A N/A x get_value 6 N/A N/A N/A self assertRaises TypeError pfunc N/A N/A x no_default_updates x N/A N/A N/A self assertRaises TypeError pfunc N/A N/A x no_default_updates x N/A N/A N/A self assertRaises TypeError pfunc N/A N/A x no_default_updates canard N/A g1 N/A pfunc N/A N/A x updates N/A N/A x N/A x 1 no_default_updates True N/A N/A g1 N/A N/A N/A N/A x get_value 5 N/A g2 N/A pfunc N/A N/A x updates N/A N/A x N/A x 1 no_default_updates N/A x N/A N/A g2 N/A N/A N/A N/A x get_value 4 N/A g3 N/A pfunc N/A N/A x updates N/A N/A x N/A x 1 no_default_updates N/A x y N/A N/A g3 N/A N/A N/A N/A x get_value 3 N/A g4 N/A pfunc N/A N/A x updates N/A N/A x N/A x 1 no_default_updates N/A y N/A N/A g4 N/A N/A N/A N/A x get_value 2 N/A g5 N/A pfunc N/A N/A x updates N/A N/A x N/A x 1 no_default_updates N/A N/A N/A g5 N/A N/A N/A N/A x get_value 1 N/A g5 N/A pfunc N/A N/A x updates N/A N/A x N/A x 1 no_default_updates False N/A N/A g5 N/A N/A N/A N/A x get_value 0 N/A test_default_updates_expressions N/A N/A self N/A N/A N/A x N/A shared 0 N/A y N/A shared 1 N/A a N/A lscalar a N/A z N/A a x N/A N/A x default_update N/A x y N/A f1 N/A pfunc N/A a z N/A N/A f1 12 N/A N/A N/A N/A x get_value 1 N/A f2 N/A pfunc N/A a z no_default_updates True N/A N/A N/A f2 7 7 N/A N/A N/A N/A x get_value 1 N/A f3 N/A pfunc N/A a z no_default_updates N/A x N/A N/A N/A f3 9 9 N/A N/A N/A N/A x get_value 1 N/A test_default_updates_multiple N/A N/A self N/A N/A N/A x N/A shared 0 N/A y N/A shared 1 N/A N/A x default_update N/A x 1 N/A N/A y default_update N/A y 1 N/A f1 N/A pfunc N/A N/A x y N/A N/A f1 N/A N/A N/A N/A x get_value -1 N/A N/A N/A N/A y get_value 2 N/A f2 N/A pfunc N/A N/A x y updates N/A N/A x N/A x 2 no_default_updates N/A y N/A N/A f2 N/A N/A N/A N/A x get_value -3 N/A N/A N/A N/A y get_value 2 N/A f3 N/A pfunc N/A N/A x y updates N/A N/A x N/A x 2 no_default_updates True N/A N/A f3 N/A N/A N/A N/A x get_value -5 N/A N/A N/A N/A y get_value 2 N/A f4 N/A pfunc N/A N/A x y updates N/A N/A y N/A y 2 N/A N/A f4 N/A N/A N/A N/A x get_value -6 N/A N/A N/A N/A y get_value 0 N/A test_default_updates_chained N/A N/A self N/A N/A N/A x N/A shared 2 N/A y N/A shared 1 N/A z N/A shared -1 N/A N/A x default_update N/A x y N/A N/A y default_update z N/A N/A z default_update N/A z 1 N/A f1 N/A pfunc N/A N/A x N/A N/A f1 N/A N/A N/A N/A x get_value 1 N/A N/A N/A N/A y get_value -1 N/A N/A N/A N/A z get_value -2 N/A f2 N/A pfunc N/A N/A x y N/A N/A f2 N/A N/A N/A N/A x get_value 2 N/A N/A N/A N/A y get_value -2 N/A N/A N/A N/A z get_value -3 N/A f3 N/A pfunc N/A N/A y N/A N/A f3 N/A N/A N/A N/A x get_value 2 N/A N/A N/A N/A y get_value -3 N/A N/A N/A N/A z get_value -4 N/A f4 N/A pfunc N/A N/A x y no_default_updates N/A x N/A N/A f4 N/A N/A N/A N/A x get_value 2 N/A N/A N/A N/A y get_value -4 N/A N/A N/A N/A z get_value -5 N/A f5 N/A pfunc N/A N/A x y z no_default_updates N/A z N/A N/A f5 N/A N/A N/A N/A x get_value 6 N/A N/A N/A N/A y get_value -5 N/A N/A N/A N/A z get_value -5 N/A test_default_updates_input N/A N/A self N/A N/A N/A x N/A shared 0 N/A y N/A shared 1 N/A N/A N/A N/A N/A theano configdefaults python_int_bitwidth 32 N/A N/A a N/A iscalar a N/A N/A a N/A lscalar a N/A N/A x default_update y N/A N/A y default_update N/A y a N/A f1 N/A pfunc N/A x no_default_updates True N/A N/A f1 N/A N/A N/A N/A x get_value 0 N/A N/A N/A N/A y get_value 1 N/A f2 N/A pfunc N/A x no_default_updates N/A x N/A N/A f2 N/A N/A N/A N/A x get_value 0 N/A N/A N/A N/A y get_value 1 N/A f3 N/A pfunc N/A x no_default_updates N/A y N/A N/A f3 N/A N/A N/A N/A x get_value 1 N/A N/A N/A N/A y get_value 1 N/A f4 N/A pfunc N/A a x N/A N/A f4 2 N/A N/A N/A N/A x get_value 1 N/A N/A N/A N/A y get_value 3 N/A f5 N/A pfunc N/A x updates N/A y N/A y 1 N/A N/A f5 N/A N/A N/A N/A x get_value 3 N/A N/A N/A N/A y get_value 2 N/A N/A N/A self assertRaises N/A N/A theano gof MissingInputError pfunc N/A x N/A test_default_updates_partial_graph N/A N/A self N/A N/A N/A a N/A shared 0 N/A N/A a default_update N/A a 1 N/A b N/A 2 a N/A f N/A pfunc N/A b b N/A N/A N/A N/A a get_value 0 N/A N/A f 21 N/A N/A N/A N/A a get_value 0 N/A test_givens_replaces_shared_variable N/A N/A self N/A N/A N/A a N/A shared 1.0 a N/A N/A a default_update N/A a 3.0 N/A b N/A N/A tensor dscalar b N/A c N/A a 10 N/A f N/A pfunc N/A b c givens N/A a b N/A N/A N/A len N/A N/A N/A f maker fgraph inputs 1 N/A N/A N/A len N/A N/A N/A f maker fgraph outputs 1 N/A test_givens_replaces_shared_variable2 N/A N/A self N/A N/A N/A a N/A shared 1.0 a N/A N/A a default_update N/A a 3 N/A c N/A a 10 N/A f N/A pfunc N/A c givens N/A a N/A a 10 N/A N/A N/A f 21 N/A N/A N/A f 34 N/A test_duplicate_inputs N/A N/A self N/A N/A N/A x N/A N/A N/A theano tensor lscalar x N/A N/A N/A self assertRaises N/A N/A theano compile UnusedInputError N/A theano function N/A x x x x N/A test_update_same N/A N/A self N/A N/A N/A a N/A shared 1.0 a N/A b N/A shared N/A N/A numpy ones N/A 2 3 b N/A f N/A N/A theano function N/A N/A updates N/A N/A a a N/A b N/A 2 b N/A g N/A N/A theano function N/A N/A updates N/A N/A a N/A a 2 N/A b b N/A N/A f N/A N/A N/A N/A N/A a get_value borrow True shape N/A N/A N/A a get_value N/A N/A N/A N/A N/A b get_value borrow True shape N/A 2 3 N/A N/A b get_value N/A N/A g N/A N/A N/A N/A N/A a get_value borrow True shape N/A N/A N/A a get_value N/A N/A N/A N/A N/A b get_value borrow True shape N/A 2 3 N/A N/A b get_value N/A test_update_equiv N/A N/A self N/A N/A N/A a N/A shared 1.0 a N/A b N/A shared N/A N/A numpy ones N/A 2 3 b N/A f N/A N/A theano function N/A N/A updates N/A N/A a a N/A b N/A N/A 2 b b N/A g N/A N/A theano function N/A N/A updates N/A N/A a N/A N/A a 2 a N/A b b N/A N/A f N/A N/A N/A N/A N/A a get_value borrow True shape N/A N/A N/A a get_value N/A N/A N/A N/A N/A b get_value borrow True shape N/A 2 3 N/A N/A b get_value N/A N/A g N/A N/A N/A N/A N/A a get_value borrow True shape N/A N/A N/A a get_value N/A N/A N/A N/A N/A b get_value borrow True shape N/A 2 3 N/A N/A b get_value N/A N/A Test_aliasing_rules N/A N/A unittest TestCase N/A N/A 
    1. Theano manages its own memory space, which typically does not overlap
    with the memory of normal python variables that the user uses.

    2. shared variables are allocated in this memory space, as are the
    temporaries used for Function evalution.

    3. Physically, this managed memory space may be spread across the host,
    on a GPU device(s), or even on a remote machine.

    4. Theano assumes that shared variables are never aliased to one another,
    and tries to make it impossible to accidentally alias them.

    5. Theano's managed data is constant while Theano Functions are not running
    and theano library code is not running.

    6. The default behaviour of Function is to return user-space values for
    outputs, but this can be overridden (borrow=True) for better performance,
    in which case the returned value may be aliased to managed memory, and
    potentially invalidated by the next Theano Function call or call to theano
    library code.
     shared N/A N/A self x N/A N/A N/A N/A N/A tensor _shared x N/A test_shared_constructor_copies N/A N/A self N/A N/A N/A orig_a N/A N/A numpy zeros N/A 2 2 N/A A N/A N/A self shared orig_a N/A N/A N/A N/A numpy may_share_memory orig_a N/A data_of A N/A N/A N/A N/A numpy may_share_memory N/A N/A A get_value borrow False N/A data_of A N/A test_sparse_input_aliasing_affecting_inplace_operations N/A N/A self N/A N/A N/A N/A N/A scipy.sparse sp N/A N/A N/A ImportError N/A N/A theano.sparse enable_sparse N/A N/A enable_sparse False N/A N/A N/A SkipTest Optional package sparse disabled theano sparse N/A x N/A N/A N/A sparse SparseType csc dtype float64 N/A y N/A N/A N/A sparse SparseType csc dtype float64 N/A f N/A N/A theano function N/A N/A N/A theano In x mutable True N/A N/A theano In y mutable True N/A N/A x y N/A x y N/A m N/A N/A sp csc_matrix N/A N/A numpy asarray N/A N/A 1 0 0 0 0 N/A 0 1 0 0 0 N/A 0 0 1 0 0 N/A 0 0 0 1 0 N/A 0 0 0 0 1 dtype float64 N/A bogus_vals N/A f m m N/A m N/A N/A sp csc_matrix N/A N/A numpy asarray N/A N/A 1 0 0 0 0 N/A 0 1 0 0 0 N/A 0 0 1 0 0 N/A 0 0 0 1 0 N/A 0 0 0 0 1 dtype float64 N/A m_copy N/A N/A m copy N/A vals N/A f m m_copy N/A N/A N/A numpy allclose N/A N/A vals todense N/A N/A bogus_vals todense N/A test_input_aliasing_affecting_inplace_operations N/A N/A self N/A N/A N/A x N/A N/A N/A theano tensor dvector N/A y N/A N/A N/A theano tensor dvector N/A m1 N/A N/A N/A theano tensor dmatrix N/A m2 N/A N/A N/A theano tensor dmatrix N/A f N/A N/A theano function N/A N/A N/A theano In x mutable True N/A N/A theano In y mutable True N/A N/A theano In m1 mutable True N/A N/A theano In m2 mutable True N/A N/A N/A theano dot N/A x 2 m1 N/A N/A theano dot N/A y 3 m2 N/A v N/A N/A numpy asarray N/A 1 2 3 4 5 dtype float64 N/A m N/A N/A numpy asarray N/A N/A 1 0 0 0 0 N/A 0 1 0 0 0 N/A 0 0 1 0 0 N/A 0 0 0 1 0 N/A 0 0 0 0 1 dtype float64 N/A bogus_vals N/A f v v m m N/A v N/A N/A numpy asarray N/A 1 2 3 4 5 dtype float64 N/A m N/A N/A numpy asarray N/A N/A 1 0 0 0 0 N/A 0 1 0 0 0 N/A 0 0 1 0 0 N/A 0 0 0 1 0 N/A 0 0 0 0 1 dtype float64 N/A m_copy N/A N/A m copy N/A v_copy N/A N/A v copy N/A vals N/A f v v_copy m m_copy N/A N/A N/A numpy allclose vals bogus_vals N/A test_partial_input_aliasing_affecting_inplace_operations N/A N/A self N/A N/A N/A x N/A N/A N/A theano tensor dvector N/A y N/A N/A N/A theano tensor dvector N/A z N/A N/A N/A theano tensor dvector N/A m1 N/A N/A N/A theano tensor dmatrix N/A m2 N/A N/A N/A theano tensor dmatrix N/A m3 N/A N/A N/A theano tensor dmatrix N/A f N/A N/A theano function N/A N/A N/A theano In x mutable True N/A N/A theano In y mutable True N/A N/A theano In z mutable True N/A N/A theano In m1 mutable True N/A N/A theano In m2 mutable True N/A N/A theano In m3 mutable True N/A N/A N/A N/A theano dot N/A x 2 m1 N/A N/A theano dot N/A y 3 m2 N/A N/A theano dot N/A z 4 m3 N/A v N/A N/A numpy asarray N/A 1 2 3 4 5 dtype float64 N/A m N/A N/A numpy asarray N/A N/A 1 0 N/A 0 1 dtype float64 N/A bogus_vals N/A f N/A v N/A 2 N/A v N/A 1 3 N/A v N/A 2 4 m m m N/A v N/A N/A numpy asarray N/A 1 2 3 4 5 dtype float64 N/A m N/A N/A numpy asarray N/A N/A 1 0 N/A 0 1 dtype float64 N/A m_copy1 N/A N/A m copy N/A v_copy1 N/A N/A v copy N/A m_copy2 N/A N/A m copy N/A v_copy2 N/A N/A v copy N/A vals N/A f N/A v N/A 2 N/A v_copy1 N/A 1 3 N/A v_copy2 N/A 2 4 m m_copy1 m_copy2 N/A N/A N/A numpy allclose vals bogus_vals N/A test_potential_output_aliasing_induced_by_updates N/A N/A self N/A N/A N/A A N/A N/A self shared N/A N/A numpy zeros N/A 2 2 N/A B N/A N/A self shared N/A N/A numpy zeros N/A 2 2 N/A C N/A N/A numpy zeros N/A 2 2 N/A D N/A N/A tensor dmatrix N/A DD N/A D 5 N/A f N/A pfunc N/A D N/A updates N/A N/A A D N/A B D N/A N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A f N/A pfunc N/A D N/A updates N/A N/A A N/A D N/A N/A B D N/A N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A f N/A pfunc N/A D N/A updates N/A N/A A N/A D 5 N/A B N/A D N/A N/A N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A f N/A pfunc N/A D N/A updates N/A N/A A N/A D 5 N/A B D N/A N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A f N/A pfunc N/A D DD updates N/A N/A A N/A DD N/A 1 N/A B DD N/A R N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of A N/A f N/A pfunc N/A D DD updates N/A N/A A N/A DD N/A 1 N/A B N/A N/A DD N/A 1 2 N/A R N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of A N/A f N/A pfunc N/A D N/A DD 4 updates N/A N/A A N/A N/A DD N/A 1 3 N/A B N/A N/A DD N/A 1 2 N/A R N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of A N/A f N/A pfunc N/A D N/A DD 4 updates N/A N/A A N/A N/A DD N/A 1 3 N/A B N/A N/A DD N/A 1 3 N/A R N/A f C N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of B N/A N/A N/A N/A numpy may_share_memory R N/A data_of A N/A test_no_aliasing_0 N/A N/A self N/A N/A N/A A N/A N/A self shared N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A B N/A N/A self shared N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A f N/A pfunc N/A N/A updates N/A N/A A B N/A N/A f N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A test_no_aliasing_1 N/A N/A self N/A N/A N/A A N/A N/A self shared N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A B N/A N/A self shared N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A C N/A N/A tensor dmatrix N/A f N/A pfunc N/A C N/A updates N/A N/A A B N/A B C N/A z N/A N/A numpy zeros N/A 2 2 N/A N/A f z N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A N/A numpy may_share_memory z N/A data_of B N/A N/A N/A numpy all N/A N/A data_of B z N/A test_no_aliasing_2 N/A N/A self N/A N/A N/A orig_a N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A orig_b N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A A N/A N/A self shared orig_a N/A B N/A N/A self shared orig_b N/A data_of_a N/A data_of A N/A data_of_b N/A data_of B N/A f N/A pfunc N/A N/A updates N/A N/A A B N/A B A N/A N/A f N/A N/A N/A numpy all N/A N/A data_of A -0.5 N/A N/A N/A numpy all N/A N/A data_of B N/A 0.5 N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A numpy may_share_memory N/A data_of A data_of_b N/A N/A N/A numpy may_share_memory N/A data_of B data_of_a N/A test_no_aliasing_2b N/A N/A self N/A N/A N/A orig_a N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A orig_b N/A N/A N/A numpy zeros N/A 2 2 0.5 N/A A N/A N/A self shared orig_a N/A B N/A N/A self shared orig_b N/A data_of_a N/A data_of A N/A data_of_b N/A data_of B N/A f N/A pfunc N/A N/A updates N/A N/A A N/A B N/A N/A N/A -1 N/A B N/A A T N/A N/A f N/A N/A N/A numpy all N/A N/A data_of A -0.5 N/A N/A N/A numpy all N/A N/A data_of B N/A 0.5 N/A N/A N/A N/A numpy may_share_memory N/A data_of A N/A data_of B N/A N/A N/A N/A theano config mode N/A DebugMode DEBUG_MODE FAST_COMPILE N/A N/A N/A N/A numpy all N/A N/A data_of A 5 N/A data_of_b 10 N/A N/A N/A numpy all N/A N/A data_of A 5 N/A data_of_b 10 N/A N/A N/A numpy all N/A N/A data_of B 5 N/A data_of_a 10 N/A N/A N/A numpy all N/A N/A data_of B 5 N/A data_of_a 10 N/A N/A N/A numpy may_share_memory N/A data_of A data_of_b N/A N/A N/A numpy may_share_memory N/A data_of B data_of_a N/A N/A Test_rebuild_strict N/A N/A unittest TestCase N/A test1 N/A N/A self N/A N/A N/A w N/A N/A tensor imatrix N/A N/A x y N/A N/A tensor ivectors x y N/A z N/A x y N/A f N/A N/A theano function N/A w y z givens N/A N/A x w rebuild_strict False N/A z_val N/A f N/A N/A numpy ones N/A 3 5 dtype int32 N/A N/A numpy arange 5 dtype int32 N/A N/A N/A z_val ndim 2 N/A N/A N/A numpy all N/A z_val N/A N/A N/A numpy ones N/A 3 5 N/A N/A numpy arange 5 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A theano config mode FAST_COMPILE N/A N/A N/A N/A Test_pfunc test_default_scalar_container