Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias If BoolOpAnd NameLoad Call NameLoad body TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias orelse ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias identifier ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num ClassDef bases NameLoad body Expr Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str 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 Str Str NameLoad NameLoad NameLoad NameLoad kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assert CompareGtE Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad For NameStore NameLoad body Assert CompareIs Call AttributeLoad NameLoad attr NameLoad If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr 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 If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call NameLoad TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assert UnaryOpNot AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assert UnaryOpNot AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad Num Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assert AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Str Str Call NameLoad Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad For NameStore Call NameLoad Num Call NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assert CompareGt Call NameLoad NameLoad Num For NameStore NameLoad body Assert CompareIs Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad NameLoad NameLoad If BoolOpAnd CompareIs NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call NameLoad TupleLoad Call NameLoad NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd Call NameLoad Call NameLoad NameLoad Str Str Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert UnaryOpNot Call NameLoad NameLoad NameLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr Assert Call NameLoad ListComp CompareIsNot AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad body If CompareNotEq NameLoad Num body AugAssignAdd NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Return Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad body If CompareNotEq NameLoad Num body AugAssignAdd NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Return Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad Num NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict If CompareIs NameLoad NameLoad body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpPow Num Num Num For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore NameLoad If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Dict If Call NameLoad GeneratorExp CompareNotIn NameLoad NameLoad comprehension NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareGtE NameLoad Num Str If BoolOpAnd CompareGt NameLoad Num CompareGt Call AttributeLoad NameLoad attr NameLoad Num NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad For NameStore Call NameLoad BinOpSub NameLoad Num Num Num body If CompareEq BinOpFloorDiv NameLoad BinOpPow Num NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Num orelse Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore BinOpMod NameLoad BinOpPow Num NameLoad Return NameLoad decorator_list Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore BinOpBitAnd NameLoad BinOpSub BinOpPow Num NameLoad Num AugAssignRShift NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Str Assign NameStore AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore BinOpMult BinOpMult NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad GeneratorExp CompareNotIn NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num For NameStore AttributeLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Assign NameStore ListLoad NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str If CompareIn NameLoad ListLoad NameLoad Num Num body Return NameLoad Assert CompareIsNot NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr ListComp CompareEq NameLoad Num comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore BinOpMult BinOpMult NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr NameLoad Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword Num If NameLoad body If NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assert Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr TupleLoad BinOpSub NameLoad AttributeLoad NameLoad attr keyword Str If NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Num orelse If CompareNotEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore BinOpDiv Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore IfExp AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr UnaryOpNot Call NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad orelse Assign NameStore BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr While CompareNotEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Num Num Str Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return TupleLoad Str Str decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call NameLoad NameLoad body If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore BinOpSub NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr Num Str Assign NameStore BinOpSub NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr keyword Num attr Num Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str TupleLoad Num AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad NameLoad attr keyword Num Assign AttributeStore NameLoad attr Str orelse Assign NameStore BinOpMult NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Return UnaryOpUSub NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpAdd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Return UnaryOpUSub NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Return BinOpMult NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign NameStore AttributeLoad NameLoad attr Return BinOpMult NameLoad Call AttributeLoad Call NameLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad Num Num Num NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad keyword BinOpAdd NameLoad Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot CompareEq BinOpMod AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr Num Num TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad Return CompareEq SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Num decorator_list For NameStore Call NameLoad AttributeLoad NameLoad attr body Assert CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr While BoolOpOr CompareNotEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Num Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AugAssignMult NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpMult SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert UnaryOpNot Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareNotIn AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMult NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMult NameLoad Call AttributeLoad Call NameLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return TupleLoad Str Str decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Num body Raise Call NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Num Num Str Return Call Call NameLoad ListLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad ListLoad TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore ListLoad TupleLoad NameLoad Str orelse Assign NameStore ListLoad TupleLoad NameLoad Str For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpSub NameLoad NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index BinOpAdd NameLoad NameLoad NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num Num Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareIs NameLoad NameLoad body Assign NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad keyword BinOpAdd NameLoad Str orelse Assert CompareIs NameLoad NameLoad Expr CompareIs NameLoad NameLoad If BoolOpAnd BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad keyword NameLoad keyword Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr Num Num TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return NameLoad Return CompareEq SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Num decorator_list For NameStore Call NameLoad AttributeLoad NameLoad attr body Assert CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr While BoolOpOr CompareNotEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Num Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AugAssignMult NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpMult SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert UnaryOpNot Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assert CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareNotIn AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMult NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMult NameLoad Call AttributeLoad Call NameLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return TupleLoad Str Str decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Num Num Str Return Call Call NameLoad ListLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad ListLoad TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Assert CompareIn NameLoad ListLoad Str Str Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore CompareGt NameLoad Num Assign NameStore CompareGt NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad BinOpMult NameLoad NameLoad attr Assign NameStore Call AttributeLoad BinOpMult BinOpSub Num NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad BinOpMult NameLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad BinOpMult BinOpSub Num NameLoad NameLoad attr keyword Num Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad orelse Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr CompareGt NameLoad Num NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad keyword NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpMult NameLoad CompareGt NameLoad Num BinOpMult BinOpMult AttributeLoad NameLoad attr NameLoad CompareLt NameLoad Num Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assert CompareIn NameLoad ListLoad Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore CompareGt NameLoad Num Assign NameStore CompareGt NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad BinOpMult NameLoad NameLoad attr Assign NameStore Call AttributeLoad BinOpMult BinOpSub Num NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad BinOpMult NameLoad NameLoad attr keyword ListLoad Num Num Assign NameStore Call AttributeLoad BinOpMult BinOpSub Num NameLoad NameLoad attr keyword ListLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad Num Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad TupleLoad Num Num Str body If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad Str orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assert CompareIsNot NameLoad NameLoad BinOpMod Str NameLoad Assert CompareIsNot NameLoad NameLoad BinOpMod Str NameLoad Assert CompareIsNot NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Assert CompareIn NameLoad ListLoad Str Str BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Delete AttributeDel NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assert CompareIn AttributeLoad NameLoad attr ListLoad Str Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad NameLoad attr keyword TupleLoad Str Str Num Num orelse Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad NameLoad attr keyword TupleLoad Str Str Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore ListLoad BinOpAdd Call NameLoad BinOpDiv BinOpSub SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num BinOpAdd Call NameLoad BinOpDiv BinOpSub SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore ListLoad BinOpSub Call NameLoad BinOpDiv BinOpAdd SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num BinOpSub Call NameLoad BinOpDiv BinOpAdd SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad Str Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert UnaryOpNot Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareNotIn AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMult NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad Str Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMult NameLoad Call AttributeLoad Call NameLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return TupleLoad Str Str decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign TupleStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Num Assign NameStore Call NameLoad ListLoad TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareIn AttributeLoad NameLoad attr ListLoad Str Str Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad Num Num NameLoad NameLoad Num NameLoad Str NameLoad NameLoad NameLoad TupleLoad Num Num Str body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad Str orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad 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 keyword NameLoad keyword NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str Assert CompareIn NameLoad ListLoad Str Str If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assert CompareLtE NameLoad NameLoad Assert CompareLtE NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad orelse Assign NameStore NameLoad If BoolOpAnd CompareEq NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Return NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad BinOpSub NameLoad NameLoad NameLoad Assert CompareGtE BinOpAdd BinOpMult NameLoad NameLoad NameLoad NameLoad Assert CompareLt BinOpAdd BinOpMult NameLoad BinOpSub NameLoad Num NameLoad NameLoad If CompareGtE BinOpMult NameLoad NameLoad NameLoad body AugAssignSub NameStore Num Return NameLoad decorator_list Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assert UnaryOpNot Call NameLoad NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num If BoolOpOr CompareGt NameLoad NameLoad CompareGt NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Slice Num NameLoad Slice Num NameLoad SubscriptLoad NameLoad ExtSlice Slice Slice Slice Num NameLoad Slice Num NameLoad Assign NameStore BinOpAdd Str NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Str orelse For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Slice NameLoad NameLoad NameLoad Slice NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str For NameStore Call NameLoad NameLoad body Assert Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assert CompareGt NameLoad Num Assert CompareGt NameLoad Num Assert CompareLtE NameLoad NameLoad Assert CompareLtE NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad BinOpSub NameLoad NameLoad NameLoad Assert CompareGtE BinOpAdd BinOpMult NameLoad NameLoad NameLoad NameLoad Assert CompareLt BinOpAdd BinOpMult NameLoad BinOpSub NameLoad Num NameLoad NameLoad Return NameLoad decorator_list Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assert UnaryOpNot Call NameLoad NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Num NameLoad Slice Num NameLoad Slice NameLoad Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice NameLoad NameLoad NameLoad Slice NameLoad NameLoad NameLoad Slice Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str For NameStore Call NameLoad NameLoad body Assert Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad BinOpSub NameLoad NameLoad NameLoad Assert CompareGtE BinOpAdd BinOpMult NameLoad NameLoad NameLoad NameLoad Assert CompareLt BinOpAdd BinOpMult NameLoad BinOpSub NameLoad Num NameLoad NameLoad Return NameLoad decorator_list Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assert UnaryOpNot Call NameLoad NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Slice Num NameLoad Slice Num NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Slice Num NameLoad Slice Num NameLoad Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Slice NameLoad NameLoad NameLoad Slice NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Slice NameLoad NameLoad NameLoad Slice NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Call NameLoad NameLoad Str Call NameLoad NameLoad AugAssignDiv NameStore NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str For NameStore Call NameLoad NameLoad body Assert Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpSub BinOpMult Num Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr attr BinOpMult Num Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpSub BinOpMult BinOpMult Num Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr BinOpMult Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad Call NameLoad NameLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str Return BinOpDiv Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return ListLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Return Call NameLoad ListLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpAdd Str Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad For NameStore Call NameLoad NameLoad body Assert Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assert Call NameLoad NameLoad Assert Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assert BoolOpOr UnaryOpNot NameLoad Call NameLoad GeneratorExp CompareLtELt Num NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str orelse If AttributeLoad NameLoad attr body If UnaryOpNot CompareLt Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr ListComp Call Call NameLoad NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad body Assert Call NameLoad GeneratorExp CompareGtE NameLoad Num comprehension NameStore NameLoad Return Call AttributeLoad NameLoad attr ListComp Call Call NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad CompareGt NameLoad Num keyword AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Delete AttributeDel NameLoad attr If BoolOpOr CompareLt SubscriptLoad NameLoad Index Num Num CompareGt SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num CompareLt SubscriptLoad NameLoad Index Num Num CompareGt SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If BoolOpOr CompareGt BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num NameLoad CompareGt BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad BinOpAdd BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num BinOpAdd BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad TupleLoad Num Num Num body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Num Assign NameStore Num For NameStore AttributeLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Assign NameStore NameLoad For NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr body AugAssignBitOr NameStore BinOpLShift Call NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad Num NameLoad TupleLoad Num Num Num NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict If CompareIs NameLoad NameLoad body Assign NameStore Dict If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad orelse Assign NameStore ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If Call NameLoad GeneratorExp CompareNotIn NameLoad NameLoad comprehension NameStore NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr Raise Call NameLoad BinOpAdd Call AttributeLoad Str attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad BinOpPow Num NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body Assert Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore BinOpDiv Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assert Call NameLoad NameLoad NameLoad Assert UnaryOpNot Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore NameLoad Assert Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert Call NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
Multilayer Perceptron
 N/A __authors__ Ian Goodfellow N/A __copyright__ Copyright 2012-2013, Universite de Montreal N/A __credits__ N/A Ian Goodfellow David Warde-Farley N/A __license__ 3-clause BSD N/A __maintainer__ LISA Lab N/A logging N/A math N/A operator N/A sys N/A warnings N/A numpy np theano.compat six theano.compat.six.moves reduce xrange theano config theano.gof.op get_debug_values theano.sandbox.cuda cuda_enabled theano.sandbox.cuda.dnn dnn_available dnn_pool theano.sandbox.rng_mrg MRG_RandomStreams theano.tensor.signal.downsample max_pool_2d N/A theano.tensor T pylearn2.compat OrderedDict pylearn2.costs.mlp Default pylearn2.expr.probabilistic_max_pooling max_pool_channels N/A N/A cuda_enabled N/A dnn_available N/A N/A N/A pylearn2.linear cudnn2d conv2d N/A N/A N/A ImportError N/A pylearn2.linear conv2d N/A pylearn2.linear conv2d pylearn2.linear.matrixmul MatrixMul pylearn2.model_extensions.norm_constraint MaxL2FilterNorm pylearn2.models.model Model pylearn2.monitor get_monitor_doc pylearn2.expr.nnet arg_of_softmax pylearn2.expr.nnet pseudoinverse_softmax_numpy pylearn2.space CompositeSpace pylearn2.space Conv2DSpace pylearn2.space Space pylearn2.space VectorSpace IndexSpace pylearn2.utils function pylearn2.utils is_iterable pylearn2.utils py_float_types pylearn2.utils py_integer_types pylearn2.utils safe_union pylearn2.utils safe_zip pylearn2.utils safe_izip pylearn2.utils sharedX pylearn2.utils wraps pylearn2.utils contains_inf pylearn2.utils isfinite pylearn2.utils.data_specs DataSpecsMapping pylearn2.expr.nnet elemwise_kl kl compute_precision compute_recall compute_f1 pylearn2.costs.mlp L1WeightDecay _L1WD pylearn2.costs.mlp WeightDecay _WD N/A logger N/A N/A logging getLogger __name__ N/A N/A N/A logger debug MLP changing the recursion limit. N/A N/A N/A sys setrecursionlimit 40000 Layer N/A Model N/A N/A 
    Abstract class. A Layer of an MLP.

    May only belong to one MLP.

    Parameters
    ----------
    kwargs : dict
        Passed on to the superclass.

    Notes
    -----
    This is not currently a Block because as far as I know the Block interface
    assumes every input is a single matrix. It doesn't support using Spaces to
    work with composite inputs, stacked multichannel image inputs, etc. If the
    Block interface were upgraded to be that flexible, then we could make this
    a block.
     N/A dropout_input_mask_value 0.0 get_mlp N/A N/A self N/A N/A N/A 
        Returns the MLP that this layer belongs to.

        Returns
        -------
        mlp : MLP
            The MLP that this layer belongs to, or None if it has not been
            assigned to an MLP yet.
         N/A N/A hasattr self mlp N/A N/A N/A self mlp N/A None N/A set_mlp N/A N/A self mlp N/A N/A N/A 
        Assigns this layer to an MLP. This layer will then use the MLP's
        random number generator, batch size, etc. This layer's name must
        be unique within the MLP.

        Parameters
        ----------
        mlp : MLP
         N/A N/A N/A N/A self get_mlp None N/A N/A self mlp mlp N/A get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A 
        Returns monitoring channels.

        Parameters
        ----------
        state_below : member of self.input_space
            A minibatch of states that this Layer took as input.
            Most of the time providing state_blow is unnecessary when
            state is given.
        state : member of self.output_space
            A minibatch of states that this Layer took on during fprop.
            Provided externally so that we don't need to make a second
            expression for it. This helps keep the Theano graph smaller
            so that function compilation runs faster.
        targets : member of self.output_space
            Should be None unless this is the last layer.
            If specified, it should be a minibatch of targets for the
            last layer.

        Returns
        -------
        channels : OrderedDict
            A dictionary mapping channel names to monitoring channels of
            interest for this layer.
         N/A N/A OrderedDict N/A fprop N/A N/A self state_below N/A N/A N/A 
        Does the forward prop transformation for this layer.

        Parameters
        ----------
        state_below : member of self.input_space
            A minibatch of states of the layer below.

        Returns
        -------
        state : member of self.output_space
            A minibatch of states of this layer.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement fprop. N/A cost N/A N/A self Y Y_hat N/A N/A N/A 
        The cost of outputting Y_hat when the true output is Y.

        Parameters
        ----------
        Y : theano.gof.Variable
            The targets
        Y_hat : theano.gof.Variable
            The predictions.
            Assumed to be the output of the layer's `fprop` method.
            The implmentation is permitted to do things like look at the
            ancestors of `Y_hat` in the theano graph. This is useful for
            e.g. computing numerically stable *log* probabilities when
            `Y_hat` is the *probability*.

        Returns
        -------
        cost : theano.gof.Variable
            A Theano scalar describing the cost.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement mlp.Layer.cost. N/A cost_from_cost_matrix N/A N/A self cost_matrix N/A N/A N/A 
        The cost final scalar cost computed from the cost matrix

        Parameters
        ----------
        cost_matrix : WRITEME

        Examples
        --------
        >>> # C = model.cost_matrix(Y, Y_hat)
        >>> # Do something with C like setting some values to 0
        >>> # cost = model.cost_from_cost_matrix(C)
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement mlp.Layer.cost_from_cost_matrix. N/A cost_matrix N/A N/A self Y Y_hat N/A N/A N/A 
        The element wise cost of outputting Y_hat when the true output is Y.

        Parameters
        ----------
        Y : WRITEME
        Y_hat : WRITEME

        Returns
        -------
        WRITEME
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement mlp.Layer.cost_matrix N/A set_weights N/A N/A self weights N/A N/A N/A 
        Sets the weights of the layer.

        Parameters
        ----------
        weights : ndarray
            A numpy ndarray containing the desired weights of the layer. This
            docstring is provided by the Layer base class. Layer subclasses
            should add their own docstring explaining the subclass-specific
            format of the ndarray.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement set_weights. N/A get_biases N/A N/A self N/A N/A N/A 
        Returns the value of the biases of the layer.

        Returns
        -------
        biases : ndarray
            A numpy ndarray containing the biases of the layer. This docstring
            is provided by the Layer base class. Layer subclasses should add
            their own docstring explaining the subclass-specific format of the
            ndarray.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement get_biases (perhaps because the class has no biases). N/A set_biases N/A N/A self biases N/A N/A N/A 
        Sets the biases of the layer.

        Parameters
        ----------
        biases : ndarray
            A numpy ndarray containing the desired biases of the layer. This
            docstring is provided by the Layer base class. Layer subclasses
            should add their own docstring explaining the subclass-specific
            format of the ndarray.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement set_biases (perhaps because the class has no biases). N/A get_weights_format N/A N/A self N/A N/A N/A 
        Returns a description of how to interpret the weights of the layer.

        Returns
        -------
        format: tuple
            Either ('v', 'h') or  ('h', 'v').
            ('v', 'h') means a weight matrix of shape
            (num visible units, num hidden units),
            while ('h', 'v') means the transpose of it.

         N/A NotImplementedError N/A get_weight_decay N/A N/A self coeff N/A N/A N/A 
        Provides an expression for a squared L2 penalty on the weights.

        Parameters
        ----------
        coeff : float or tuple
            The coefficient on the weight decay penalty for this layer.
            This docstring is provided by the Layer base class. Individual
            Layer subclasses should add their own docstring explaining the
            format of `coeff` for that particular layer. For most ordinary
            layers, `coeff` is a single float to multiply by the weight
            decay term. Layers containing many pieces may take a tuple or
            nested tuple of floats, and should explain the semantics of
            the different elements of the tuple.

        Returns
        -------
        weight_decay : theano.gof.Variable
            An expression for the weight decay penalty term for this
            layer.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement get_weight_decay. N/A get_l1_weight_decay N/A N/A self coeff N/A N/A N/A 
        Provides an expression for an L1 penalty on the weights.

        Parameters
        ----------
        coeff : float or tuple
            The coefficient on the L1 weight decay penalty for this layer.
            This docstring is provided by the Layer base class. Individual
            Layer subclasses should add their own docstring explaining the
            format of `coeff` for that particular layer. For most ordinary
            layers, `coeff` is a single float to multiply by the weight
            decay term. Layers containing many pieces may take a tuple or
            nested tuple of floats, and should explain the semantics of
            the different elements of the tuple.

        Returns
        -------
        weight_decay : theano.gof.Variable
            An expression for the L1 weight decay penalty term for this
            layer.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement get_l1_weight_decay. N/A set_input_space N/A N/A self space N/A N/A N/A 
        Tells the layer to prepare for input formatted according to the
        given space.

        Parameters
        ----------
        space : Space
            The Space the input to this layer will lie in.

        Notes
        -----
        This usually resets parameters.
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement set_input_space. N/A N/A MLP N/A Layer N/A N/A 
    A multilayer perceptron.

    Note that it's possible for an entire MLP to be a single layer of a larger
    MLP.

    Parameters
    ----------
    layers : list
        A list of Layer objects. The final layer specifies the output space
        of this MLP.
    batch_size : int, optional
        If not specified then must be a positive integer. Mostly useful if
        one of your layers involves a Theano op like convolution that
        requires a hard-coded batch size.
    nvis : int, optional
        Number of "visible units" (input units). Equivalent to specifying
        `input_space=VectorSpace(dim=nvis)`. Note that certain methods require
        a different type of input space (e.g. a Conv2Dspace in the case of
        convnets). Use the input_space parameter in such cases. Should be
        None if the MLP is part of another MLP.
    input_space : Space object, optional
        A Space specifying the kind of input the MLP accepts. If None,
        input space is specified by nvis. Should be None if the MLP is
        part of another MLP.
    input_source : string or (nested) tuple of strings, optional
        A (nested) tuple of strings specifiying the input sources this
        MLP accepts. The structure should match that of input_space. The
        default is 'features'. Note that this argument is ignored when
        the MLP is nested.
    target_source : string or (nested) tuple of strings, optional
        A (nested) tuple of strings specifiying the target sources this
        MLP accepts. The structure should match that of target_space. The
        default is 'targets'. Note that this argument is ignored when
        the MLP is nested.
    layer_name : name of the MLP layer. Should be None if the MLP is
        not part of another MLP.
    seed : WRITEME
    monitor_targets : bool, optional
        Default: True
        If true, includes monitoring channels that are functions of the
        targets. This can be disabled to allow monitoring on monitoring
        datasets that do not include targets.
    kwargs : dict
        Passed on to the superclass.
     __init__ N/A N/A self layers batch_size input_space input_source target_source nvis seed layer_name monitor_targets N/A None None features targets None None None True kwargs N/A N/A N/A N/A N/A super MLP self __init__ kwargs N/A N/A self seed seed N/A N/A isinstance layers list N/A N/A all N/A N/A isinstance layer Layer N/A layer layers N/A N/A N/A len layers 1 N/A N/A self layer_name layer_name N/A N/A self layer_names N/A set N/A layer layers N/A N/A N/A N/A N/A layer get_mlp None N/A N/A N/A layer layer_name N/A self layer_names N/A N/A N/A ValueError N/A MLP.__init__ given two or more layers with same name:  N/A layer layer_name N/A N/A N/A layer set_mlp self N/A N/A N/A N/A self layer_names add N/A layer layer_name N/A N/A self layers layers N/A N/A self batch_size batch_size N/A N/A self force_batch_size batch_size N/A N/A self _input_source input_source N/A N/A self _target_source target_source N/A N/A self monitor_targets monitor_targets N/A N/A N/A input_space None N/A nvis None N/A N/A N/A self _nested False N/A N/A N/A self setup_rng N/A N/A layer_name None N/A N/A nvis None N/A N/A input_space N/A VectorSpace nvis N/A N/A N/A N/A DataSpecsMapping N/A input_space input_source N/A N/A N/A ValueError N/A N/A N/A ValueError N/A The structures of `input_space`, %s, and `input_source`, %s do not match. If you specified a CompositeSpace as an input, be sure to specify the data sources as well. N/A input_space input_source N/A N/A self input_space input_space N/A N/A N/A self _update_layer_input_spaces N/A N/A N/A self _nested True N/A N/A self freeze_set N/A set N/A N/A input_source N/A N/A self N/A N/A N/A N/A N/A self _nested A nested MLP does not have an input source N/A N/A self _input_source N/A property target_source N/A N/A self N/A N/A N/A N/A N/A self _nested A nested MLP does not have a target source N/A N/A self _target_source N/A property setup_rng N/A N/A self N/A N/A N/A 
        .. todo::

            WRITEME
         N/A N/A N/A self _nested Nested MLPs should use their parent's RNG N/A N/A N/A self seed None N/A N/A N/A self seed N/A 2013 1 4 N/A N/A self rng N/A N/A N/A np random RandomState N/A self seed N/A get_default_cost N/A N/A self N/A N/A N/A N/A Default N/A N/A wraps N/A Layer get_default_cost get_output_space N/A N/A self N/A N/A N/A N/A N/A N/A N/A self layers N/A -1 get_output_space N/A N/A wraps N/A Layer get_output_space get_target_space N/A N/A self N/A N/A N/A N/A N/A N/A N/A self layers N/A -1 get_target_space N/A N/A wraps N/A Layer get_target_space set_input_space N/A N/A self space N/A N/A N/A N/A hasattr self mlp N/A N/A N/A self _nested N/A N/A self rng N/A N/A self mlp rng N/A N/A self batch_size N/A N/A self mlp batch_size N/A N/A self input_space space N/A N/A N/A self _update_layer_input_spaces N/A N/A wraps N/A Layer set_input_space _update_layer_input_spaces N/A N/A self N/A N/A N/A 
        Tells each layer what its input space should be.

        Notes
        -----
        This usually resets the layer's parameters!
         N/A layers N/A self layers N/A N/A N/A N/A N/A N/A layers N/A 0 set_input_space N/A N/A self get_input_space N/A N/A N/A BadInputSpaceError N/A e N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Layer 0 ( N/A str N/A layers N/A 0  of type  N/A str N/A type N/A layers N/A 0 ) does not support the MLP's  specified input space ( N/A str N/A N/A self get_input_space  of type  N/A str N/A type N/A N/A self get_input_space ). Original exception:  N/A str e N/A i N/A xrange 1 N/A len layers N/A N/A N/A N/A N/A layers N/A i set_input_space N/A N/A N/A layers N/A N/A i 1 get_output_space N/A add_layers N/A N/A self layers N/A N/A N/A 
        Add new layers on top of the existing hidden layers

        Parameters
        ----------
        layers : WRITEME
         N/A existing_layers N/A self layers N/A N/A N/A len existing_layers 0 N/A layer layers N/A N/A N/A N/A N/A layer get_mlp None N/A N/A N/A layer set_mlp self N/A N/A N/A N/A self _nested N/A hasattr self input_space N/A N/A N/A N/A layer set_input_space N/A N/A N/A existing_layers N/A -1 get_output_space N/A N/A N/A existing_layers append layer N/A N/A N/A layer layer_name N/A self layer_names N/A N/A N/A N/A self layer_names add N/A layer layer_name N/A freeze N/A N/A self parameter_set N/A N/A N/A 
        Freezes some of the parameters (new theano functions that implement
        learning will not use them; existing theano functions will continue
        to modify them).

        Parameters
        ----------
        parameter_set : set
            Set of parameters to freeze.
         N/A N/A self freeze_set N/A N/A N/A self freeze_set union parameter_set N/A get_monitoring_channels N/A N/A self data N/A N/A N/A N/A self monitor_targets N/A N/A N/A X Y data N/A N/A X data N/A Y None N/A rval N/A N/A self get_layer_monitoring_channels state_below X targets Y N/A rval N/A N/A wraps N/A Layer get_monitoring_channels get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A rval N/A OrderedDict N/A state state_below N/A layer N/A self layers N/A N/A state_below state N/A state N/A N/A layer fprop state N/A args N/A state_below state N/A N/A N/A layer N/A N/A self layers N/A -1 N/A targets None N/A N/A N/A N/A args append targets N/A ch N/A N/A layer get_layer_monitoring_channels args N/A N/A N/A isinstance ch OrderedDict N/A N/A N/A TypeError N/A str N/A N/A type ch N/A layer layer_name N/A key ch N/A N/A value N/A ch N/A key N/A doc N/A get_monitor_doc value N/A N/A doc None N/A N/A doc N/A N/A N/A N/A str N/A type layer .get_monitoring_channels_from_state did  not provide any further documentation for  this channel. N/A doc N/A N/A N/A This channel came from a layer called " N/A layer layer_name " of an MLP.
 doc N/A N/A value __doc__ doc N/A N/A rval N/A N/A N/A N/A layer layer_name _ key value N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels get_monitoring_data_specs N/A N/A self N/A N/A N/A 
        Returns data specs requiring both inputs and targets.

        Returns
        -------
        data_specs: TODO
            The data specifications for both inputs and targets.
         N/A N/A N/A self monitor_targets N/A N/A N/A N/A N/A self get_input_space N/A N/A self get_input_source N/A space N/A CompositeSpace N/A N/A N/A self get_input_space N/A N/A self get_target_space N/A source N/A N/A N/A self get_input_source N/A N/A self get_target_source N/A N/A space source N/A get_params N/A N/A self N/A N/A N/A N/A N/A hasattr self input_space N/A N/A N/A AttributeError Input space has not been provided. N/A rval N/A N/A layer N/A self layers N/A N/A param N/A N/A layer get_params N/A N/A N/A N/A param name None N/A N/A N/A N/A logger info N/A type layer N/A layer_params N/A N/A layer get_params N/A N/A N/A isinstance layer_params set N/A param layer_params N/A N/A N/A param rval N/A N/A N/A N/A rval append param N/A rval N/A elem N/A elem rval N/A elem N/A self freeze_set N/A N/A all N/A N/A N/A elem name None N/A elem rval N/A rval N/A N/A wraps N/A Layer get_params get_weight_decay N/A N/A self coeffs N/A N/A N/A N/A N/A hasattr coeffs __iter__ N/A N/A coeffs N/A N/A coeffs N/A len N/A self layers N/A layer_costs N/A N/A N/A layer coeff N/A safe_izip N/A self layers coeffs N/A N/A N/A coeff 0.0 N/A N/A layer_costs N/A N/A N/A layer get_weight_decay coeff N/A N/A N/A len layer_costs 0 N/A N/A N/A N/A T constant 0 dtype N/A config floatX N/A total_cost N/A reduce N/A operator add layer_costs N/A total_cost N/A N/A wraps N/A Layer get_weight_decay get_l1_weight_decay N/A N/A self coeffs N/A N/A N/A N/A N/A hasattr coeffs __iter__ N/A N/A coeffs N/A N/A coeffs N/A len N/A self layers N/A layer_costs N/A N/A N/A layer coeff N/A safe_izip N/A self layers coeffs N/A N/A N/A coeff 0.0 N/A N/A layer_costs N/A N/A N/A layer get_l1_weight_decay coeff N/A N/A N/A len layer_costs 0 N/A N/A N/A N/A T constant 0 dtype N/A config floatX N/A total_cost N/A reduce N/A operator add layer_costs N/A total_cost N/A N/A wraps N/A Layer get_l1_weight_decay set_batch_size N/A N/A self batch_size N/A N/A N/A N/A self batch_size batch_size N/A N/A self force_batch_size batch_size N/A layer N/A self layers N/A N/A N/A N/A layer set_batch_size batch_size N/A N/A wraps N/A Model set_batch_size _modify_updates N/A N/A self updates N/A N/A N/A layer N/A self layers N/A N/A N/A N/A layer modify_updates updates N/A N/A wraps N/A Layer _modify_updates get_lr_scalers N/A N/A self N/A N/A N/A N/A get_lr_scalers_from_layers self N/A N/A wraps N/A Layer get_lr_scalers get_weights N/A N/A self N/A N/A N/A N/A N/A hasattr self input_space N/A N/A N/A AttributeError Input space has not been provided. N/A N/A N/A N/A N/A self layers N/A 0 get_weights N/A N/A wraps N/A Layer get_weights get_weights_view_shape N/A N/A self N/A N/A N/A N/A N/A hasattr self input_space N/A N/A N/A AttributeError Input space has not been provided. N/A N/A N/A N/A N/A self layers N/A 0 get_weights_view_shape N/A N/A wraps N/A Layer get_weights_view_shape get_weights_format N/A N/A self N/A N/A N/A N/A N/A hasattr self input_space N/A N/A N/A AttributeError Input space has not been provided. N/A N/A N/A N/A N/A self layers N/A 0 get_weights_format N/A N/A wraps N/A Layer get_weights_format get_weights_topo N/A N/A self N/A N/A N/A N/A N/A hasattr self input_space N/A N/A N/A AttributeError Input space has not been provided. N/A N/A N/A N/A N/A self layers N/A 0 get_weights_topo N/A N/A wraps N/A Layer get_weights_topo dropout_fprop N/A N/A self state_below default_input_include_prob input_include_probs default_input_scale input_scales per_example N/A 0.5 None 2.0 None True N/A N/A 
        Returns the output of the MLP, when applying dropout to the input and
        intermediate layers.


        Parameters
        ----------
        state_below : WRITEME
            The input to the MLP
        default_input_include_prob : WRITEME
        input_include_probs : WRITEME
        default_input_scale : WRITEME
        input_scales : WRITEME
        per_example : bool, optional
            Sample a different mask value for every example in a batch.
            Defaults to `True`. If `False`, sample one mask per mini-batch.


        Notes
        -----
        Each input to each layer is randomly included or
        excluded for each example. The probability of inclusion is independent
        for each input and each example. Each layer uses
        `default_input_include_prob` unless that layer's name appears as a key
        in input_include_probs, in which case the input inclusion probability
        is given by the corresponding value.

        Each feature is also multiplied by a scale factor. The scale factor for
        each layer's input scale is determined by the same scheme as the input
        probabilities.
         N/A N/A input_include_probs None N/A N/A input_include_probs N/A N/A N/A input_scales None N/A N/A input_scales N/A N/A N/A N/A self _validate_layer_names N/A list N/A N/A input_include_probs keys N/A N/A N/A self _validate_layer_names N/A list N/A N/A input_scales keys N/A theano_rng N/A MRG_RandomStreams N/A max N/A N/A N/A self rng randint N/A 2 15 1 N/A layer N/A self layers N/A N/A layer_name N/A layer layer_name N/A N/A layer_name input_include_probs N/A N/A include_prob N/A input_include_probs N/A layer_name N/A N/A include_prob default_input_include_prob N/A N/A layer_name input_scales N/A N/A scale N/A input_scales N/A layer_name N/A N/A scale default_input_scale N/A state_below N/A N/A self apply_dropout state state_below include_prob include_prob theano_rng theano_rng scale scale mask_value N/A layer dropout_input_mask_value input_space N/A N/A layer get_input_space per_example per_example N/A state_below N/A N/A layer fprop state_below N/A state_below N/A masked_fprop N/A N/A self state_below mask masked_input_layers default_input_scale input_scales N/A None 2.0 None N/A N/A 
        Forward propagate through the network with a dropout mask
        determined by an integer (the binary representation of
        which is used to generate the mask).

        Parameters
        ----------
        state_below : tensor_like
            The (symbolic) output state of the layer below.
        mask : int
            An integer indexing possible binary masks. It should be
            < 2 ** get_total_input_dimension(masked_input_layers)
            and greater than or equal to 0.
        masked_input_layers : list, optional
            A list of layer names to mask. If `None`, the input to all layers
            (including the first hidden layer) is masked.
        default_input_scale : float, optional
            The amount to scale inputs in masked layers that do not appear in
            `input_scales`. Defaults to 2.
        input_scales : dict, optional
            A dictionary mapping layer names to floating point numbers
            indicating how much to scale input to a given layer.

        Returns
        -------
        masked_output : tensor_like
            The output of the forward propagation of the masked network.
         N/A N/A input_scales None N/A N/A N/A N/A self _validate_layer_names input_scales N/A N/A input_scales N/A N/A N/A any N/A N/A n masked_input_layers N/A n input_scales N/A N/A layers N/A n N/A n input_scales N/A n masked_input_layers N/A N/A ValueError N/A input scales provided for layer not masked:  N/A N/A ,  join layers N/A N/A masked_input_layers None N/A N/A N/A N/A self _validate_layer_names masked_input_layers N/A N/A masked_input_layers N/A self layer_names N/A num_inputs N/A N/A self get_total_input_dimension masked_input_layers N/A N/A mask 0 Mask must be a non-negative integer. N/A N/A N/A mask 0 N/A N/A N/A math log mask 2 num_inputs N/A N/A N/A ValueError N/A mask value of %d too large; only %d inputs to layers (%s) N/A mask num_inputs N/A N/A ,  join masked_input_layers binary_string N/A N/A x length dtype N/A N/A N/A 
            Create the binary representation of an integer `x`, padded to
            `length`, with dtype `dtype`.

            Parameters
            ----------
            length : WRITEME
            dtype : WRITEME

            Returns
            -------
            WRITEME
             N/A s N/A N/A np empty length dtype dtype N/A i N/A range N/A length 1 -1 -1 N/A N/A N/A N/A x N/A 2 i 1 N/A N/A N/A s N/A i 1 N/A N/A N/A s N/A i 0 N/A x N/A x N/A 2 i N/A s N/A N/A remaining_mask mask N/A layer N/A self layers N/A N/A N/A N/A layer layer_name masked_input_layers N/A N/A scale N/A N/A input_scales get N/A layer layer_name default_input_scale N/A n_inputs N/A N/A N/A N/A layer get_input_space get_total_dimension N/A layer_dropout_mask N/A remaining_mask N/A N/A 2 n_inputs 1 N/A remaining_mask n_inputs N/A mask N/A binary_string layer_dropout_mask n_inputs uint8 N/A shape N/A N/A N/A N/A N/A layer get_input_space get_origin_batch 1 shape N/A s_mask N/A N/A N/A N/A T as_tensor_variable mask reshape shape N/A N/A N/A layer dropout_input_mask_value 0 N/A N/A state_below N/A N/A state_below s_mask scale N/A N/A state_below N/A N/A T switch s_mask N/A state_below scale N/A layer dropout_input_mask_value N/A state_below N/A N/A layer fprop state_below N/A state_below N/A _validate_layer_names N/A N/A self layers N/A N/A N/A 
        .. todo::

            WRITEME
         N/A N/A any N/A N/A layer N/A self layer_names N/A layer layers N/A N/A unknown_names N/A layer N/A layer layers N/A layer N/A self layer_names N/A N/A ValueError N/A MLP has no layer(s) named %s N/A N/A ,  join unknown_names N/A get_total_input_dimension N/A N/A self layers N/A N/A N/A 
        Get the total number of inputs to the layers whose
        names are listed in `layers`. Used for computing the
        total number of dropout masks.

        Parameters
        ----------
        layers : WRITEME

        Returns
        -------
        WRITEME
         N/A N/A N/A self _validate_layer_names layers N/A total 0 N/A layer N/A self layers N/A N/A N/A N/A layer layer_name layers N/A N/A total N/A N/A N/A N/A layer get_input_space get_total_dimension N/A total N/A fprop N/A N/A self state_below return_all N/A False N/A N/A N/A N/A hasattr self input_space N/A N/A N/A AttributeError Input space has not been provided. N/A rval N/A N/A N/A N/A self layers N/A 0 fprop state_below N/A rlist N/A rval N/A layer N/A N/A self layers N/A 1 N/A N/A rval N/A N/A layer fprop rval N/A N/A N/A rlist append rval N/A return_all N/A N/A rlist N/A rval N/A N/A wraps N/A Layer fprop apply_dropout N/A N/A self state include_prob scale theano_rng input_space mask_value per_example N/A 0 True N/A N/A 
        .. todo::

            WRITEME

        Parameters
        ----------
        state: WRITEME
        include_prob : WRITEME
        scale : WRITEME
        theano_rng : WRITEME
        input_space : WRITEME
        mask_value : WRITEME
        per_example : bool, optional
            Sample a different mask value for every example in a batch.
            Defaults to `True`. If `False`, sample one mask per mini-batch.
         N/A N/A include_prob N/A None 1.0 1 N/A N/A state N/A N/A scale None N/A N/A isinstance state tuple N/A N/A N/A tuple N/A N/A N/A self apply_dropout substate include_prob scale theano_rng mask_value N/A substate state N/A per_example N/A N/A mask N/A N/A theano_rng binomial p include_prob size N/A state shape dtype N/A state dtype N/A N/A batch N/A N/A input_space get_origin_batch 1 N/A mask N/A N/A theano_rng binomial p include_prob size N/A batch shape dtype N/A state dtype N/A rebroadcast N/A N/A T Rebroadcast N/A zip N/A xrange N/A batch ndim N/A N/A s 1 N/A s N/A batch shape N/A mask N/A rebroadcast mask N/A N/A mask_value 0 N/A N/A rval N/A N/A state mask scale N/A N/A rval N/A N/A T switch mask N/A state scale mask_value N/A N/A N/A T cast rval N/A state dtype N/A cost N/A N/A self Y Y_hat N/A N/A N/A N/A N/A N/A N/A self layers N/A -1 cost Y Y_hat N/A N/A wraps N/A Layer cost cost_matrix N/A N/A self Y Y_hat N/A N/A N/A N/A N/A N/A N/A self layers N/A -1 cost_matrix Y Y_hat N/A N/A wraps N/A Layer cost_matrix cost_from_cost_matrix N/A N/A self cost_matrix N/A N/A N/A N/A N/A N/A N/A self layers N/A -1 cost_from_cost_matrix cost_matrix N/A N/A wraps N/A Layer cost_from_cost_matrix cost_from_X N/A N/A self data N/A N/A N/A 
        Computes self.cost, but takes data=(X, Y) rather than Y_hat as an
        argument.

        This is just a wrapper around self.cost that computes Y_hat by
        calling Y_hat = self.fprop(X)

        Parameters
        ----------
        data : WRITEME
         N/A N/A N/A N/A N/A N/A self cost_from_X_data_specs N/A 0 validate data N/A N/A X Y data N/A Y_hat N/A N/A self fprop X N/A N/A N/A self cost Y Y_hat N/A cost_from_X_data_specs N/A N/A self N/A N/A N/A 
        Returns the data specs needed by cost_from_X.

        This is useful if cost_from_X is used in a MethodCost.
         N/A space N/A CompositeSpace N/A N/A N/A self get_input_space N/A N/A self get_target_space N/A source N/A N/A N/A self get_input_source N/A N/A self get_target_source N/A N/A space source N/A __str__ N/A N/A self N/A N/A N/A 
        Summarizes the MLP by printing the size and format of the input to all
        layers. Feel free to add reasonably concise info as needed.
         N/A rval N/A N/A layer N/A self layers N/A N/A N/A N/A rval append N/A layer layer_name N/A input_space N/A N/A layer get_input_space N/A N/A N/A rval append N/A 	Input space:  N/A str input_space N/A N/A N/A rval append N/A 	Total input dimension:  N/A str N/A N/A input_space get_total_dimension N/A rval N/A N/A join rval N/A rval N/A N/A Softmax N/A Layer N/A N/A 
    A layer that can apply an optional affine transformation
    to vectorial inputs followed by a softmax nonlinearity.

    Parameters
    ----------
    n_classes : int
        Number of classes for softmax targets.
    layer_name : string
        Name of Softmax layers.
    irange : float
        If specified, initialized each weight randomly in
        U(-irange, irange).
    istdev : float
        If specified, initialize each weight randomly from
        N(0,istdev).
    sparse_init : int
        If specified, initial sparse_init number of weights
        for each unit from N(0,1).
    W_lr_scale : float
        Scale for weight learning rate.
    b_lr_scale : float
        Scale for bias learning rate.
    max_row_norm : float
        Maximum norm for a row of the weight matrix.
    no_affine : boolean
        If True, softmax nonlinearity is applied directly to
        inputs.
    max_col_norm : float
        Maximum norm for a column of the weight matrix.
    init_bias_target_marginals : dataset
        Take the probability distribution of the targets into account to
        intelligently initialize biases.
    binary_target_dim : int, optional
        If your targets are class labels (i.e. a binary vector) then set the
        number of targets here so that an IndexSpace of the proper dimension
        can be used as the target space. This allows the softmax to compute
        the cost much more quickly than if it needs to convert the targets
        into a VectorSpace. With binary_target_dim>1, you can use one layer
        to simultaneously predict a bag of words (i.e. order is not important,
        the same element can be included more than once).
    non_redundant : bool
        If True, learns only n_classes - 1 biases and weight vectors
    kwargs : dict
        Passed on to the superclass.
     __init__ N/A N/A self n_classes layer_name irange istdev sparse_init W_lr_scale b_lr_scale max_row_norm no_affine max_col_norm init_bias_target_marginals binary_target_dim non_redundant N/A None None None None None None False None None None False kwargs N/A N/A N/A N/A N/A super Softmax self __init__ kwargs N/A N/A max_col_norm None N/A N/A N/A N/A N/A self extensions append N/A MaxL2FilterNorm max_col_norm axis 0 N/A N/A max_row_norm None N/A N/A N/A N/A N/A self extensions append N/A MaxL2FilterNorm max_row_norm axis 1 N/A non_redundant N/A N/A init_bias_target_marginals N/A N/A msg init_bias_target_marginals currently only works with the overcomplete parameterization. N/A N/A NotImplementedError msg N/A N/A isinstance W_lr_scale str N/A N/A W_lr_scale N/A float W_lr_scale N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A N/A self init_bias_target_marginals N/A N/A N/A isinstance n_classes py_integer_types N/A N/A N/A TypeError N/A n_classes is of type %s, but must be integer N/A type n_classes N/A N/A binary_target_dim None N/A N/A N/A isinstance binary_target_dim py_integer_types N/A N/A self _has_binary_target True N/A N/A self _target_space N/A IndexSpace dim binary_target_dim max_labels n_classes N/A N/A N/A self _has_binary_target False N/A N/A self output_space N/A VectorSpace n_classes N/A N/A no_affine N/A N/A N/A self b N/A sharedX N/A N/A np zeros N/A N/A n_classes N/A self non_redundant name softmax_b N/A init_bias_target_marginals N/A N/A y N/A init_bias_target_marginals y N/A N/A N/A init_bias_target_marginals y_labels None N/A N/A marginals N/A N/A y mean axis 0 N/A N/A N/A N/A N/A np max N/A y shape N/A N/A np prod N/A y shape N/A N/A N/A AssertionError Use of `init_bias_target_marginals` requires that each example has a single label. N/A marginals N/A N/A N/A np bincount N/A y flat N/A float N/A N/A y shape N/A 0 N/A N/A N/A marginals ndim 1 N/A b N/A N/A N/A pseudoinverse_softmax_numpy marginals astype N/A N/A self b dtype N/A N/A N/A b ndim 1 N/A N/A N/A b dtype N/A N/A self b dtype N/A N/A N/A N/A self b set_value b N/A N/A N/A init_bias_target_marginals None N/A __setstate__ N/A N/A self state N/A N/A N/A N/A N/A N/A super Softmax self __setstate__ state N/A N/A N/A hasattr self non_redundant N/A N/A N/A self non_redundant False N/A N/A N/A hasattr self mask_weights N/A N/A N/A self mask_weights None N/A get_lr_scalers N/A N/A self N/A N/A N/A rval N/A OrderedDict N/A N/A N/A self W_lr_scale None N/A N/A N/A isinstance N/A self W_lr_scale float N/A N/A rval N/A N/A self W N/A self W_lr_scale N/A N/A N/A hasattr self b_lr_scale N/A N/A N/A self b_lr_scale None N/A N/A N/A self b_lr_scale None N/A N/A N/A isinstance N/A self b_lr_scale float N/A N/A rval N/A N/A self b N/A self b_lr_scale N/A rval N/A N/A wraps N/A Layer get_lr_scalers get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A rval N/A OrderedDict N/A N/A N/A self no_affine N/A N/A W N/A self W N/A N/A N/A W ndim 2 N/A sq_W N/A N/A T sqr W N/A row_norms N/A N/A T sqrt N/A N/A sq_W sum axis 1 N/A col_norms N/A N/A T sqrt N/A N/A sq_W sum axis 0 N/A N/A N/A rval update N/A OrderedDict N/A N/A row_norms_min N/A N/A row_norms min N/A row_norms_mean N/A N/A row_norms mean N/A row_norms_max N/A N/A row_norms max N/A col_norms_min N/A N/A col_norms min N/A col_norms_mean N/A N/A col_norms mean N/A col_norms_max N/A N/A col_norms max N/A N/A N/A state_below None N/A state None N/A N/A N/A state None N/A N/A state N/A N/A self fprop state_below N/A mx N/A N/A state max axis 1 N/A N/A N/A rval update N/A OrderedDict N/A N/A mean_max_class N/A N/A mx mean N/A max_max_class N/A N/A mx max N/A min_max_class N/A N/A mx min N/A N/A targets None N/A N/A N/A N/A N/A self _has_binary_target N/A N/A self binary_target_dim 1 N/A N/A y_hat N/A N/A T argmax state axis 1 N/A y N/A N/A self _has_binary_target N/A N/A targets reshape N/A y_hat shape N/A N/A T argmax targets axis 1 N/A misclass N/A N/A N/A N/A T neq y y_hat mean N/A misclass N/A N/A T cast misclass N/A config floatX N/A N/A rval N/A misclass misclass N/A N/A rval N/A nll N/A N/A self cost Y_hat state Y targets N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels set_input_space N/A N/A self space N/A N/A N/A N/A self input_space space N/A N/A N/A isinstance space Space N/A N/A N/A TypeError N/A N/A N/A Expected Space, got  N/A str space  of type  N/A str N/A type space N/A N/A self input_dim N/A N/A space get_total_dimension N/A N/A self needs_reformat N/A N/A isinstance space VectorSpace N/A N/A self no_affine N/A N/A desired_dim N/A N/A self n_classes N/A self non_redundant N/A N/A N/A self input_dim desired_dim N/A N/A desired_dim N/A self input_dim N/A N/A self desired_space N/A VectorSpace desired_dim N/A N/A N/A self needs_reformat N/A N/A N/A N/A self desired_space N/A self input_space N/A rng N/A N/A self mlp rng N/A N/A self no_affine N/A N/A N/A self _params N/A N/A N/A num_cols N/A N/A self n_classes N/A self non_redundant N/A N/A N/A self irange None N/A N/A N/A N/A self istdev None N/A N/A N/A self sparse_init None N/A W N/A N/A rng uniform N/A N/A self irange N/A self irange N/A N/A self input_dim num_cols N/A N/A N/A N/A self istdev None N/A N/A N/A N/A self sparse_init None N/A W N/A N/A N/A rng randn N/A self input_dim num_cols N/A self istdev N/A N/A N/A N/A self sparse_init None N/A W N/A N/A np zeros N/A N/A self input_dim num_cols N/A i N/A xrange num_cols N/A N/A j N/A xrange N/A self sparse_init N/A N/A idx N/A N/A rng randint 0 N/A self input_dim N/A N/A N/A W N/A N/A idx i 0.0 N/A N/A idx N/A N/A rng randint 0 N/A self input_dim N/A N/A W N/A N/A idx i N/A N/A rng randn N/A N/A self W N/A sharedX W softmax_W N/A N/A self _params N/A N/A self b N/A self W N/A N/A wraps N/A Layer set_input_space get_weights_topo N/A N/A self N/A N/A N/A N/A N/A isinstance N/A self input_space Conv2DSpace N/A N/A N/A NotImplementedError N/A desired N/A N/A N/A N/A self W get_value T N/A ipt N/A N/A N/A self desired_space np_format_as desired N/A self input_space N/A rval N/A N/A Conv2DSpace convert_numpy ipt N/A N/A self input_space axes N/A b 0 1 c N/A rval N/A N/A wraps N/A Layer get_weights_topo get_weights N/A N/A self N/A N/A N/A N/A N/A isinstance N/A self input_space VectorSpace N/A N/A N/A NotImplementedError N/A N/A N/A N/A self W get_value N/A N/A wraps N/A Layer get_weights set_weights N/A N/A self weights N/A N/A N/A N/A N/A N/A self W set_value weights N/A N/A wraps N/A Layer set_weights set_biases N/A N/A self biases N/A N/A N/A N/A N/A N/A self b set_value biases N/A N/A wraps N/A Layer set_biases get_biases N/A N/A self N/A N/A N/A N/A N/A N/A self b get_value N/A N/A wraps N/A Layer get_biases get_weights_format N/A N/A self N/A N/A N/A N/A v h N/A N/A wraps N/A Layer get_weights_format fprop N/A N/A self state_below N/A N/A N/A N/A N/A N/A self input_space validate state_below N/A N/A self needs_reformat N/A N/A state_below N/A N/A N/A self input_space format_as state_below N/A self desired_space N/A N/A N/A N/A self desired_space validate state_below N/A N/A N/A state_below ndim 2 N/A N/A N/A hasattr self no_affine N/A N/A N/A self no_affine False N/A N/A self no_affine N/A N/A Z state_below N/A N/A N/A N/A N/A self W ndim 2 N/A b N/A self b N/A Z N/A N/A N/A T dot state_below N/A self W b N/A N/A self non_redundant N/A N/A zeros N/A N/A T alloc 0.0 N/A N/A Z shape N/A 0 1 N/A Z N/A N/A T concatenate N/A zeros Z axis 1 N/A rval N/A N/A N/A T nnet softmax Z N/A value N/A get_debug_values rval N/A N/A N/A N/A N/A self mlp batch_size None N/A N/A N/A N/A N/A value shape N/A 0 N/A N/A self mlp batch_size N/A rval N/A N/A wraps N/A Layer fprop _cost N/A N/A self Y Y_hat N/A N/A N/A z N/A arg_of_softmax Y_hat N/A N/A N/A z ndim 2 N/A z N/A z N/A N/A N/A N/A z max axis 1 dimshuffle 0 x N/A log_prob N/A z N/A N/A T log N/A N/A N/A N/A N/A N/A T exp z sum axis 1 dimshuffle 0 x N/A N/A self _has_binary_target N/A N/A flat_Y N/A N/A Y flatten N/A N/A flat_Y name flat_Y N/A flat_log_prob N/A N/A log_prob flatten N/A N/A flat_log_prob name flat_log_prob N/A range_ N/A N/A T arange N/A N/A Y shape N/A 0 N/A N/A N/A self binary_target_dim 1 N/A N/A range_ N/A N/A N/A N/A T tile N/A N/A range_ dimshuffle 0 x N/A 1 N/A self binary_target_dim flatten N/A flat_indices N/A flat_Y N/A range_ N/A self n_classes N/A N/A flat_indices name flat_indices N/A log_prob_of N/A N/A N/A flat_log_prob N/A flat_indices reshape N/A Y shape ndim 2 N/A N/A log_prob_of name log_prob_of N/A N/A log_prob_of N/A Y log_prob N/A log_prob_of N/A cost N/A N/A self Y Y_hat N/A N/A N/A log_prob_of N/A N/A N/A N/A self _cost Y Y_hat sum axis 1 N/A N/A N/A log_prob_of ndim 1 N/A rval N/A N/A log_prob_of mean N/A N/A rval N/A N/A wraps N/A Layer cost cost_matrix N/A N/A self Y Y_hat N/A N/A N/A log_prob_of N/A N/A self _cost Y Y_hat N/A N/A self _has_binary_target N/A N/A flat_Y N/A N/A Y flatten N/A flat_matrix N/A N/A T alloc 0 N/A N/A N/A Y shape N/A 0 N/A N/A log_prob_of shape N/A 1 N/A flat_indices N/A flat_Y N/A N/A N/A T extra_ops repeat N/A N/A N/A T arange N/A N/A Y shape N/A 0 N/A N/A log_prob_of shape N/A 1 N/A N/A Y shape N/A 1 N/A log_prob_of N/A N/A T set_subtensor N/A flat_matrix N/A flat_indices flat_Y N/A N/A log_prob_of N/A N/A wraps N/A Layer cost_matrix get_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A coeff N/A N/A N/A N/A T sqr N/A self W sum N/A N/A wraps N/A Layer get_weight_decay get_l1_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A W N/A self W N/A N/A coeff N/A N/A N/A abs W sum N/A N/A wraps N/A Layer get_l1_weight_decay _modify_updates N/A N/A self updates N/A N/A N/A N/A self no_affine N/A N/A N/A N/A wraps N/A Layer _modify_updates N/A SoftmaxPool N/A Layer N/A N/A 
    A hidden layer that uses the softmax function to do max pooling over groups
    of units. When the pooling size is 1, this reduces to a standard sigmoidal
    MLP layer.

    Parameters
    ----------
    detector_layer_dim : WRITEME
    layer_name : str
        The name of the layer. All layers in an MLP must have a unique name.
    pool_size : WRITEME
    irange : float, optional
        If specified, initialized each weight randomly in U(-irange, irange).
    sparse_init : int, optional
        If specified, initial sparse_init number of weights for each unit from
        N(0,1).
    sparse_stdev : WRITEME
    include_prob : float, optional
        Probability of including a weight element in the set of weights
        initialized to U(-irange, irange). If not included it is
        initialized to 0.
    init_bias : WRITEME
    W_lr_scale : float, optional
        Multiply the learning rate on the weights by this constant.
    b_lr_scale : float, optional
        Multiply the learning rate on the biases by this constant.
    mask_weights : WRITEME
    max_col_norm : float, optional
        Maximum norm for a column of the weight matrix.
     __init__ N/A N/A self detector_layer_dim layer_name pool_size irange sparse_init sparse_stdev include_prob init_bias W_lr_scale b_lr_scale mask_weights max_col_norm N/A 1 None None 1.0 1.0 0.0 None None None None N/A N/A N/A N/A N/A super SoftmaxPool self __init__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A N/A self b N/A sharedX N/A N/A N/A np zeros N/A N/A self detector_layer_dim init_bias name N/A layer_name _b N/A N/A max_col_norm None N/A N/A N/A N/A N/A self extensions append N/A MaxL2FilterNorm max_col_norm axis 0 N/A get_lr_scalers N/A N/A self N/A N/A N/A N/A N/A hasattr self W_lr_scale N/A N/A N/A self W_lr_scale None N/A N/A N/A hasattr self b_lr_scale N/A N/A N/A self b_lr_scale None N/A rval N/A OrderedDict N/A N/A N/A self W_lr_scale None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A rval N/A W N/A self W_lr_scale N/A N/A N/A self b_lr_scale None N/A N/A N/A rval N/A N/A self b N/A self b_lr_scale N/A rval N/A N/A wraps N/A Layer get_lr_scalers set_input_space N/A N/A self space N/A N/A N/A N/A self input_space space N/A N/A isinstance space VectorSpace N/A N/A N/A self requires_reformat False N/A N/A self input_dim N/A space dim N/A N/A N/A self requires_reformat True N/A N/A self input_dim N/A N/A space get_total_dimension N/A N/A self desired_space N/A VectorSpace N/A self input_dim N/A N/A N/A N/A N/A self detector_layer_dim N/A self pool_size 0 N/A N/A N/A ValueError N/A detector_layer_dim = %d, pool_size = %d. Should be divisible but remainder is %d N/A N/A self detector_layer_dim N/A self pool_size N/A N/A self detector_layer_dim N/A self pool_size N/A N/A self h_space N/A VectorSpace N/A self detector_layer_dim N/A N/A self pool_layer_dim N/A N/A self detector_layer_dim N/A self pool_size N/A N/A self output_space N/A VectorSpace N/A self pool_layer_dim N/A rng N/A N/A self mlp rng N/A N/A N/A self irange None N/A N/A N/A N/A self sparse_init None N/A W N/A N/A N/A rng uniform N/A N/A self irange N/A self irange N/A N/A self input_dim N/A self detector_layer_dim N/A N/A N/A rng uniform 0.0 1.0 N/A N/A self input_dim N/A self detector_layer_dim N/A self include_prob N/A N/A N/A N/A self sparse_init None N/A W N/A N/A np zeros N/A N/A self input_dim N/A self detector_layer_dim mask_rejects N/A N/A idx i N/A N/A N/A N/A N/A self mask_weights None N/A N/A False N/A N/A N/A N/A self mask_weights N/A N/A idx i 0.0 N/A N/A i N/A xrange N/A self detector_layer_dim N/A N/A N/A N/A self sparse_init N/A self input_dim N/A j N/A xrange N/A self sparse_init N/A N/A idx N/A N/A rng randint 0 N/A self input_dim N/A N/A N/A N/A W N/A N/A idx i 0 N/A mask_rejects idx i N/A N/A idx N/A N/A rng randint 0 N/A self input_dim N/A N/A W N/A N/A idx i N/A N/A rng randn N/A W N/A self sparse_stdev N/A W N/A sharedX W N/A N/A W name N/A N/A self layer_name _W N/A N/A self transformer N/A MatrixMul W N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W name None N/A N/A N/A self mask_weights None N/A N/A expected_shape N/A N/A self input_dim N/A self detector_layer_dim N/A N/A expected_shape N/A N/A self mask_weights shape N/A N/A N/A ValueError N/A N/A N/A Expected mask with shape  N/A str expected_shape  but got  N/A str N/A N/A self mask_weights shape N/A N/A self mask N/A sharedX N/A self mask_weights N/A N/A wraps N/A Layer set_input_space _modify_updates N/A N/A self updates N/A N/A N/A N/A N/A self mask_weights None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A W updates N/A N/A N/A updates N/A W N/A N/A updates N/A W N/A self mask N/A N/A wraps N/A Layer _modify_updates get_params N/A N/A self N/A N/A N/A N/A N/A N/A self b name None N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W name None N/A rval N/A N/A N/A self transformer get_params N/A N/A N/A isinstance rval set N/A rval N/A list rval N/A N/A N/A self b rval N/A N/A N/A rval append N/A self b N/A rval N/A N/A wraps N/A Layer get_params get_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A W N/A N/A N/A self transformer get_params N/A N/A coeff N/A N/A N/A N/A T sqr W sum N/A N/A wraps N/A Layer get_weight_decay get_l1_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A W N/A N/A N/A self transformer get_params N/A N/A coeff N/A N/A N/A abs W sum N/A N/A wraps N/A Layer get_l1_weight_decay get_weights N/A N/A self N/A N/A N/A N/A self requires_reformat N/A N/A N/A NotImplementedError N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W get_value N/A N/A wraps N/A Layer get_weights set_weights N/A N/A self weights N/A N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W set_value weights N/A N/A wraps N/A Layer set_weights set_biases N/A N/A self biases N/A N/A N/A 
        .. todo::

            WRITEME
         N/A N/A N/A N/A self b set_value biases N/A N/A wraps N/A Layer set_biases get_biases N/A N/A self N/A N/A N/A N/A N/A N/A self b get_value N/A N/A wraps N/A Layer get_biases get_weights_format N/A N/A self N/A N/A N/A N/A v h N/A N/A wraps N/A Layer get_weights_format get_weights_view_shape N/A N/A self N/A N/A N/A total N/A self detector_layer_dim N/A cols N/A self pool_size N/A N/A cols 1 N/A N/A N/A NotImplementedError N/A rows N/A total cols N/A N/A rows cols N/A N/A wraps N/A Layer get_weights_view_shape get_weights_topo N/A N/A self N/A N/A N/A N/A N/A isinstance N/A self input_space Conv2DSpace N/A N/A N/A NotImplementedError N/A N/A W N/A N/A N/A self transformer get_params N/A W N/A W T N/A W N/A N/A W reshape N/A N/A self detector_layer_dim N/A N/A N/A self input_space shape N/A 0 N/A N/A N/A self input_space shape N/A 1 N/A N/A self input_space num_channels N/A W N/A N/A Conv2DSpace convert W N/A N/A self input_space axes N/A b 0 1 c N/A N/A N/A function N/A W N/A N/A wraps N/A Layer get_weights_topo get_layer_monitoring_channels N/A N/A self state_below state N/A None None kwargs N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W ndim 2 N/A sq_W N/A N/A T sqr W N/A row_norms N/A N/A T sqrt N/A N/A sq_W sum axis 1 N/A col_norms N/A N/A T sqrt N/A N/A sq_W sum axis 0 N/A rval N/A OrderedDict N/A N/A row_norms_min N/A N/A row_norms min N/A row_norms_mean N/A N/A row_norms mean N/A row_norms_max N/A N/A row_norms max N/A col_norms_min N/A N/A col_norms min N/A col_norms_mean N/A N/A col_norms mean N/A col_norms_max N/A N/A col_norms max N/A N/A N/A state_below None N/A state None N/A N/A N/A state None N/A N/A P N/A N/A self fprop state_below N/A N/A P state N/A N/A N/A self pool_size 1 N/A N/A vars_and_prefixes N/A N/A P N/A N/A vars_and_prefixes N/A N/A P p_ N/A N/A var prefix vars_and_prefixes N/A N/A v_max N/A N/A var max axis 0 N/A v_min N/A N/A var min axis 0 N/A v_mean N/A N/A var mean axis 0 N/A v_range N/A v_max v_min N/A N/A key val N/A N/A max_x.max_u N/A N/A v_max max N/A max_x.mean_u N/A N/A v_max mean N/A max_x.min_u N/A N/A v_max min N/A min_x.max_u N/A N/A v_min max N/A min_x.mean_u N/A N/A v_min mean N/A min_x.min_u N/A N/A v_min min N/A range_x.max_u N/A N/A v_range max N/A range_x.mean_u N/A N/A v_range mean N/A range_x.min_u N/A N/A v_range min N/A mean_x.max_u N/A N/A v_mean max N/A mean_x.mean_u N/A N/A v_mean mean N/A mean_x.min_u N/A N/A v_mean min N/A N/A N/A rval N/A N/A prefix key val N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels fprop N/A N/A self state_below N/A N/A N/A N/A N/A N/A self input_space validate state_below N/A N/A self requires_reformat N/A N/A state_below N/A N/A N/A self input_space format_as state_below N/A self desired_space N/A z N/A N/A N/A N/A self transformer lmul state_below N/A self b N/A N/A N/A self layer_name None N/A N/A N/A z name N/A N/A self layer_name _z N/A N/A p h N/A max_pool_channels z N/A self pool_size N/A N/A p name N/A N/A self layer_name _p_ N/A p N/A N/A wraps N/A Layer fprop N/A Linear N/A Layer N/A N/A 
    A "linear model" in machine learning terminology. This would be more
    accurately described as an affine model because it adds an offset to
    the output as well as doing a matrix multiplication. The output is:

    output = T.dot(weights, input) + biases

    This class may be used as the output layer of an MLP for regression.
    It may also be used as a hidden layer. Most hidden layers classes are
    subclasses of this class that add apply a fixed nonlinearity to the
    output of the affine transformation provided by this class.

    One notable use of this class is to provide "bottleneck" layers.
    By using a Linear layer with few hidden units followed by a nonlinear
    layer such as RectifiedLinear with many hidden units, one essentially
    gets a RectifiedLinear layer with a factored weight matrix, which can
    reduce the number of parameters in the model (by making the effective
    weight matrix low rank).

    Parameters
    ----------
    dim : int
        The number of elements in the output of the layer.
    layer_name : str
        The name of the layer. All layers in an MLP must have a unique name.
    irange : float, optional
        If specified, initialized each weight randomly in U(-irange, irange).
    istdev : float, optional
        If specified, initialize each weight randomly from N(0,istdev).
    sparse_init : int, optional
        If specified, initial sparse_init number of weights for each unit from
        N(0,1).
    sparse_stdev : WRITEME
    include_prob : float
        Probability of including a weight element in the set of weights
        initialized to U(-irange, irange). If not included it is
        initialized to 0.
        Anything that can be broadcasted to a numpy vector.
        Provides the initial value of the biases of the model.
        When using this class as an output layer (specifically the Linear
        class, or subclasses that don't change the output like
        LinearGaussian, but not subclasses that change the output, like
        Softmax) it can be a good idea to set this to the return value of
        the `mean_of_targets` function. This provides the mean value of
        all the targets in the training set, so the model is initialized
        to a dummy model that predicts the expected value of each output
        variable.
    W_lr_scale : float, optional
        Multiply the learning rate on the weights by this constant.
    b_lr_scale : float, optional
        Multiply the learning rate on the biases by this constant.
    mask_weights : ndarray, optional
        If provided, the weights will be multiplied by this mask after each
        learning update.
    max_row_norm : float, optional
        Maximum norm for a row of the weight matrix.
    max_col_norm : float, optional
        Maximum norm for a column of the weight matrix.
    min_col_norm : WRITEME
    copy_input : REMOVED
    use_abs_loss : bool, optional
        If True, the cost function will be mean absolute error rather
        than mean squared error.
        You can think of mean squared error as fitting a Gaussian
        distribution with variance 1, or as learning to predict the mean
        of the data.
        You can think of mean absolute error as fitting a Laplace
        distribution with variance 1, or as learning to predict the
        median of the data.
    use_bias : bool, optional
        If False, does not add the bias term to the output.
    kwargs : dict
        Passed on to superclass constructor.
     __init__ N/A N/A self dim layer_name irange istdev sparse_init sparse_stdev include_prob init_bias W_lr_scale b_lr_scale mask_weights max_row_norm max_col_norm min_col_norm copy_input use_abs_loss use_bias N/A None None None 1.0 1.0 0.0 None None None None None None None False True kwargs N/A N/A N/A copy_input None N/A N/A N/A AssertionError The copy_input option had a bug and has been removed from the library. N/A N/A N/A N/A super Linear self __init__ kwargs N/A N/A use_bias N/A init_bias None N/A N/A init_bias 0.0 N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A use_bias N/A N/A N/A self b N/A sharedX N/A N/A N/A np zeros N/A N/A self dim init_bias name N/A layer_name _b N/A N/A N/A b_lr_scale None N/A N/A init_bias None N/A N/A N/A N/A max_col_norm None N/A min_col_norm None N/A max_row_norm None N/A N/A N/A ValueError Column and row constraint at the same time is forbidden. N/A N/A N/A max_col_norm None N/A min_col_norm None N/A N/A N/A N/A N/A self extensions append N/A MaxL2FilterNorm limit max_col_norm min_limit min_col_norm axis 0 N/A N/A max_row_norm None N/A N/A N/A N/A N/A self extensions append N/A MaxL2FilterNorm max_row_norm axis 1 N/A get_lr_scalers N/A N/A self N/A N/A N/A N/A N/A hasattr self W_lr_scale N/A N/A N/A self W_lr_scale None N/A N/A N/A hasattr self b_lr_scale N/A N/A N/A self b_lr_scale None N/A rval N/A OrderedDict N/A N/A N/A self W_lr_scale None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A rval N/A W N/A self W_lr_scale N/A N/A N/A self b_lr_scale None N/A N/A N/A rval N/A N/A self b N/A self b_lr_scale N/A rval N/A N/A wraps N/A Layer get_lr_scalers set_input_space N/A N/A self space N/A N/A N/A N/A self input_space space N/A N/A isinstance space VectorSpace N/A N/A N/A self requires_reformat False N/A N/A self input_dim N/A space dim N/A N/A N/A self requires_reformat True N/A N/A self input_dim N/A N/A space get_total_dimension N/A N/A self desired_space N/A VectorSpace N/A self input_dim N/A N/A self output_space N/A VectorSpace N/A self dim N/A rng N/A N/A self mlp rng N/A N/A N/A self irange None N/A N/A N/A N/A self istdev None N/A N/A N/A self sparse_init None N/A W N/A N/A N/A rng uniform N/A N/A self irange N/A self irange N/A N/A self input_dim N/A self dim N/A N/A N/A rng uniform 0.0 1.0 N/A N/A self input_dim N/A self dim N/A self include_prob N/A N/A N/A N/A self istdev None N/A N/A N/A N/A self sparse_init None N/A W N/A N/A N/A rng randn N/A self input_dim N/A self dim N/A self istdev N/A N/A N/A N/A self sparse_init None N/A W N/A N/A np zeros N/A N/A self input_dim N/A self dim mask_rejects N/A N/A idx i N/A N/A N/A N/A N/A self mask_weights None N/A N/A False N/A N/A N/A N/A self mask_weights N/A N/A idx i 0.0 N/A N/A i N/A xrange N/A self dim N/A N/A N/A N/A self sparse_init N/A self input_dim N/A j N/A xrange N/A self sparse_init N/A N/A idx N/A N/A rng randint 0 N/A self input_dim N/A N/A N/A N/A W N/A N/A idx i 0 N/A mask_rejects idx i N/A N/A idx N/A N/A rng randint 0 N/A self input_dim N/A N/A W N/A N/A idx i N/A N/A rng randn N/A W N/A self sparse_stdev N/A W N/A sharedX W N/A N/A W name N/A N/A self layer_name _W N/A N/A self transformer N/A MatrixMul W N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W name None N/A N/A N/A self mask_weights None N/A N/A expected_shape N/A N/A self input_dim N/A self dim N/A N/A expected_shape N/A N/A self mask_weights shape N/A N/A N/A ValueError N/A N/A N/A Expected mask with shape  N/A str expected_shape  but got  N/A str N/A N/A self mask_weights shape N/A N/A self mask N/A sharedX N/A self mask_weights N/A N/A wraps N/A Layer set_input_space _modify_updates N/A N/A self updates N/A N/A N/A N/A N/A self mask_weights None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A W updates N/A N/A N/A updates N/A W N/A N/A updates N/A W N/A self mask N/A N/A wraps N/A Layer _modify_updates get_params N/A N/A self N/A N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W name None N/A rval N/A N/A N/A self transformer get_params N/A N/A N/A isinstance rval set N/A rval N/A list rval N/A N/A self use_bias N/A N/A N/A N/A N/A self b name None N/A N/A N/A self b rval N/A N/A N/A rval append N/A self b N/A rval N/A N/A wraps N/A Layer get_params get_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A W N/A N/A N/A self transformer get_params N/A N/A coeff N/A N/A N/A N/A T sqr W sum N/A N/A wraps N/A Layer get_weight_decay get_l1_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A W N/A N/A N/A self transformer get_params N/A N/A coeff N/A N/A N/A abs W sum N/A N/A wraps N/A Layer get_l1_weight_decay get_weights N/A N/A self N/A N/A N/A N/A self requires_reformat N/A N/A N/A NotImplementedError N/A N/A W N/A N/A N/A self transformer get_params N/A W N/A N/A W get_value N/A W N/A N/A wraps N/A Layer get_weights set_weights N/A N/A self weights N/A N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W set_value weights N/A N/A wraps N/A Layer set_weights set_biases N/A N/A self biases N/A N/A N/A N/A N/A N/A self b set_value biases N/A N/A wraps N/A Layer set_biases get_biases N/A N/A self N/A N/A N/A 
        .. todo::

            WRITEME
         N/A N/A N/A N/A self b get_value N/A N/A wraps N/A Layer get_biases get_weights_format N/A N/A self N/A N/A N/A N/A v h N/A N/A wraps N/A Layer get_weights_format get_weights_topo N/A N/A self N/A N/A N/A N/A N/A isinstance N/A self input_space Conv2DSpace N/A N/A N/A NotImplementedError N/A N/A W N/A N/A N/A self transformer get_params N/A W N/A W T N/A W N/A N/A W reshape N/A N/A self dim N/A N/A N/A self input_space shape N/A 0 N/A N/A N/A self input_space shape N/A 1 N/A N/A self input_space num_channels N/A W N/A N/A Conv2DSpace convert W N/A N/A self input_space axes N/A b 0 1 c N/A N/A N/A function N/A W N/A N/A wraps N/A Layer get_weights_topo get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W ndim 2 N/A sq_W N/A N/A T sqr W N/A row_norms N/A N/A T sqrt N/A N/A sq_W sum axis 1 N/A col_norms N/A N/A T sqrt N/A N/A sq_W sum axis 0 N/A rval N/A OrderedDict N/A N/A row_norms_min N/A N/A row_norms min N/A row_norms_mean N/A N/A row_norms mean N/A row_norms_max N/A N/A row_norms max N/A col_norms_min N/A N/A col_norms min N/A col_norms_mean N/A N/A col_norms mean N/A col_norms_max N/A N/A col_norms max N/A N/A N/A state None N/A state_below None N/A N/A N/A state None N/A N/A state N/A N/A self fprop state_below N/A mx N/A N/A state max axis 0 N/A mean N/A N/A state mean axis 0 N/A mn N/A N/A state min axis 0 N/A rg N/A mx mn N/A N/A rval N/A range_x_max_u N/A N/A rg max N/A N/A rval N/A range_x_mean_u N/A N/A rg mean N/A N/A rval N/A range_x_min_u N/A N/A rg min N/A N/A rval N/A max_x_max_u N/A N/A mx max N/A N/A rval N/A max_x_mean_u N/A N/A mx mean N/A N/A rval N/A max_x_min_u N/A N/A mx min N/A N/A rval N/A mean_x_max_u N/A N/A mean max N/A N/A rval N/A mean_x_mean_u N/A N/A mean mean N/A N/A rval N/A mean_x_min_u N/A N/A mean min N/A N/A rval N/A min_x_max_u N/A N/A mn max N/A N/A rval N/A min_x_mean_u N/A N/A mn mean N/A N/A rval N/A min_x_min_u N/A N/A mn min N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels _linear_part N/A N/A self state_below N/A N/A N/A 
        Parameters
        ----------
        state_below : member of input_space

        Returns
        -------
        output : theano matrix
            Affine transformation of state_below
         N/A N/A N/A N/A self input_space validate state_below N/A N/A self requires_reformat N/A N/A state_below N/A N/A N/A self input_space format_as state_below N/A self desired_space N/A z N/A N/A N/A self transformer lmul state_below N/A N/A self use_bias N/A N/A z N/A self b N/A N/A N/A self layer_name None N/A N/A N/A z name N/A N/A self layer_name _z N/A z N/A fprop N/A N/A self state_below N/A N/A N/A p N/A N/A self _linear_part state_below N/A p N/A N/A wraps N/A Layer fprop cost N/A N/A self Y Y_hat N/A N/A N/A N/A N/A self cost_from_cost_matrix N/A N/A self cost_matrix Y Y_hat N/A N/A wraps N/A Layer cost cost_from_cost_matrix N/A N/A self cost_matrix N/A N/A N/A N/A N/A N/A N/A cost_matrix sum axis 1 mean N/A N/A wraps N/A Layer cost_from_cost_matrix cost_matrix N/A N/A self Y Y_hat N/A N/A N/A N/A self use_abs_loss N/A N/A N/A N/A T abs_ N/A Y Y_hat N/A N/A N/A N/A T sqr N/A Y Y_hat N/A N/A wraps N/A Layer cost_matrix N/A Tanh N/A Linear N/A N/A 
    A layer that performs an affine transformation of its (vectorial)
    input followed by a hyperbolic tangent elementwise nonlinearity.

    Parameters
    ----------
    kwargs : dict
        Keyword arguments to pass through to `Linear` class constructor.
     fprop N/A N/A self state_below N/A N/A N/A p N/A N/A self _linear_part state_below N/A p N/A N/A T tanh p N/A p N/A N/A wraps N/A Layer fprop cost N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError N/A N/A wraps N/A Layer cost N/A Sigmoid N/A Linear N/A N/A 
    A layer that performs an affine transformation of its
    input followed by a logistic sigmoid elementwise nonlinearity.

    Parameters
    ----------
    monitor_style : string
        Values can be any of ['detection', 'one_hot_class',
        'bit_vector_class']
        'detection' is the default.

          - 'detection' : get_monitor_from_state makes no assumptions about
            target, reports info about how good model is at
            detecting positive bits.
            This will monitor precision, recall, and F1 score
            based on a detection threshold of 0.5. Note that
            these quantities are computed *per-minibatch* and
            averaged together. Unless your entire monitoring
            dataset fits in one minibatch, this is not the same
            as the true F1 score, etc., and will usually
            seriously overestimate your performance.
          - 'one_hot_class' : get_monitor_from_state assumes target is
            one-hot class indicator, even though you're training the
            model as k independent sigmoids. Gives info on how
            good the argmax over the sigmoids behaves as a classifier.
          - 'bit_vector_class' : get_monitor_from_state treats each
            sigmoid as predicting a 1 iff its value is > 0.5. Each
            example is counted as correct iff all of the bits in its
            target are predicted correctly.
            This includes as a special case the situation where the
            target is a single 0 or 1 label.
          - 'classification' : deprecated; originally this string was
            used for 'one_hot_class', then due to a miscommunication
            it was changed to be used for 'bit_vector_class'.
    kwargs : dict
        Passed through to the Layer class constructor
     __init__ N/A N/A self monitor_style N/A detection kwargs N/A N/A N/A N/A N/A super Sigmoid self __init__ kwargs N/A N/A monitor_style classification N/A N/A monitor_style bit_vector_class N/A N/A N/A warnings warn The 'classification' monitor style is deprecated. Switch to 'bit_vector_class' (or possibly 'one_hot_class' if your code predates 8f4b62b3df). 'classification' may be removed on or after 2015-04-21. N/A N/A monitor_style N/A one_hot_class bit_vector_class detection N/A N/A self monitor_style monitor_style N/A fprop N/A N/A self state_below N/A N/A N/A p N/A N/A self _linear_part state_below N/A p N/A N/A N/A T nnet sigmoid p N/A p N/A N/A wraps N/A Layer fprop cost N/A N/A self Y Y_hat N/A N/A N/A 
        Returns a batch (vector) of
        mean across units of KL divergence for each example.

        Parameters
        ----------
        Y : theano.gof.Variable
            Targets
        Y_hat : theano.gof.Variable
            Output of `fprop`

        mean across units, mean across batch of KL divergence
        Notes
        -----
        Uses KL(P || Q) where P is defined by Y and Q is defined by Y_hat
        Currently Y must be purely binary. If it's not, you'll still
        get the right gradient, but the value in the monitoring channel
        will be wrong.
        Y_hat must be generated by fprop, i.e., it must be a symbolic
        sigmoid.

        p log p - p log q + (1-p) log (1-p) - (1-p) log (1-q)
        For binary p, some terms drop out:
        - p log q - (1-p) log (1-q)
        - p log sigmoid(z) - (1-p) log sigmoid(-z)
        p softplus(-z) + (1-p) softplus(z)
         N/A total N/A N/A self kl Y Y Y_hat Y_hat N/A ave N/A N/A total mean N/A ave N/A N/A wraps N/A Layer cost kl N/A N/A self Y Y_hat N/A N/A N/A 
        Computes the KL divergence.


        Parameters
        ----------
        Y : Variable
            targets for the sigmoid outputs. Currently Y must be purely binary.
            If it's not, you'll still get the right gradient, but the
            value in the monitoring channel will be wrong.
        Y_hat : Variable
            predictions made by the sigmoid layer. Y_hat must be generated by
            fprop, i.e., it must be a symbolic sigmoid.

        Returns
        -------
        ave : Variable
            average kl divergence between Y and Y_hat.

        Notes
        -----
        Warning: This function expects a sigmoid nonlinearity in the
        output layer and it uses kl function under pylearn2/expr/nnet/.
        Returns a batch (vector) of mean across units of KL
        divergence for each example,
        KL(P || Q) where P is defined by Y and Q is defined by Y_hat:

        p log p - p log q + (1-p) log (1-p) - (1-p) log (1-q)
        For binary p, some terms drop out:
        - p log q - (1-p) log (1-q)
        - p log sigmoid(z) - (1-p) log sigmoid(-z)
        p softplus(-z) + (1-p) softplus(z)
         N/A batch_axis N/A N/A N/A self output_space get_batch_axis N/A div N/A kl Y Y Y_hat Y_hat batch_axis batch_axis N/A div N/A cost_matrix N/A N/A self Y Y_hat N/A N/A N/A rval N/A elemwise_kl Y Y_hat N/A N/A N/A rval ndim 2 N/A rval N/A N/A wraps N/A Layer cost_matrix get_detection_channels_from_state N/A N/A self state target N/A N/A N/A 
        Returns monitoring channels when using the layer to do detection
        of binary events.

        Parameters
        ----------
        state : theano.gof.Variable
            Output of `fprop`
        target : theano.gof.Variable
            The targets from the dataset

        Returns
        -------
        channels : OrderedDict
            Dictionary mapping channel names to Theano channel values.
         N/A rval N/A OrderedDict N/A y_hat N/A state 0.5 N/A y N/A target 0.5 N/A wrong_bit N/A N/A T cast N/A N/A T neq y y_hat N/A state dtype N/A N/A rval N/A 01_loss N/A N/A wrong_bit mean N/A N/A rval N/A kl N/A N/A self cost Y_hat state Y target N/A y N/A N/A T cast y N/A state dtype N/A y_hat N/A N/A T cast y_hat N/A state dtype N/A tp N/A N/A N/A y y_hat sum N/A fp N/A N/A N/A N/A 1 y y_hat sum N/A precision N/A compute_precision tp fp N/A recall N/A compute_recall y tp N/A f1 N/A compute_f1 precision recall N/A N/A rval N/A precision precision N/A N/A rval N/A recall recall N/A N/A rval N/A f1 f1 N/A tp N/A N/A N/A y y_hat sum axis 0 N/A fp N/A N/A N/A N/A 1 y y_hat sum axis 0 N/A precision N/A compute_precision tp fp N/A N/A rval N/A per_output_precision_max N/A N/A precision max N/A N/A rval N/A per_output_precision_mean N/A N/A precision mean N/A N/A rval N/A per_output_precision_min N/A N/A precision min N/A recall N/A compute_recall y tp N/A N/A rval N/A per_output_recall_max N/A N/A recall max N/A N/A rval N/A per_output_recall_mean N/A N/A recall mean N/A N/A rval N/A per_output_recall_min N/A N/A recall min N/A f1 N/A compute_f1 precision recall N/A N/A rval N/A per_output_f1_max N/A N/A f1 max N/A N/A rval N/A per_output_f1_mean N/A N/A f1 mean N/A N/A rval N/A per_output_f1_min N/A N/A f1 min N/A rval N/A get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A rval N/A N/A N/A super Sigmoid self get_layer_monitoring_channels state state targets targets N/A N/A N/A targets None N/A N/A state_below None N/A state None N/A N/A N/A state None N/A N/A state N/A N/A self fprop state_below N/A N/A N/A self monitor_style detection N/A N/A N/A N/A rval update N/A N/A self get_detection_channels_from_state state targets N/A N/A N/A N/A self monitor_style one_hot_class N/A N/A prediction N/A N/A state argmax axis 1 N/A labels N/A N/A targets argmax axis 1 N/A incorrect N/A N/A T neq prediction labels N/A misclass N/A N/A N/A N/A T cast incorrect N/A config floatX mean N/A N/A rval N/A misclass misclass N/A N/A N/A N/A self monitor_style bit_vector_class N/A prediction N/A N/A T gt state 0.5 N/A incorrect N/A N/A N/A N/A T neq targets prediction max axis 1 N/A N/A rval N/A misclass N/A N/A N/A N/A T cast incorrect N/A config floatX mean N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels N/A RectifiedLinear N/A Linear N/A N/A 
    Rectified linear MLP layer (Glorot and Bengio 2011).

    Parameters
    ----------
    left_slope : float
        The slope the line should have left of 0.
    kwargs : dict
        Keyword arguments to pass to `Linear` class constructor.
     __init__ N/A N/A self left_slope N/A 0.0 kwargs N/A N/A N/A N/A N/A super RectifiedLinear self __init__ kwargs N/A N/A self left_slope left_slope N/A fprop N/A N/A self state_below N/A N/A N/A p N/A N/A self _linear_part state_below N/A p N/A N/A T switch N/A p 0.0 p N/A N/A self left_slope p N/A p N/A N/A wraps N/A Layer fprop cost N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError N/A N/A wraps N/A Layer cost N/A Softplus N/A Linear N/A N/A 
    An MLP layer using the softplus nonlinearity
    h = log(1 + exp(Wx + b))

    Parameters
    ----------
    kwargs : dict
        Keyword arguments to `Linear` constructor.
     __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super Softplus self __init__ kwargs N/A fprop N/A N/A self state_below N/A N/A N/A p N/A N/A self _linear_part state_below N/A p N/A N/A N/A T nnet softplus p N/A p N/A N/A wraps N/A Layer fprop cost N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError N/A N/A wraps N/A Layer cost N/A SpaceConverter N/A Layer N/A N/A 
    A Layer with no parameters that converts the input from
    one space to another.

    Parameters
    ----------
    layer_name : str
        Name of the layer.
    output_space : Space
        The space to convert to.
     __init__ N/A N/A self layer_name output_space N/A N/A N/A N/A N/A N/A super SpaceConverter self __init__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A N/A self _params N/A N/A set_input_space N/A N/A self space N/A N/A N/A N/A self input_space space N/A N/A wraps N/A Layer set_input_space fprop N/A N/A self state_below N/A N/A N/A N/A N/A N/A self input_space format_as state_below N/A self output_space N/A N/A wraps N/A Layer fprop N/A ConvNonlinearity N/A object N/A N/A 
    Abstract convolutional nonlinearity class.
     apply N/A N/A self linear_response N/A N/A N/A 
        Applies the nonlinearity over the convolutional layer.

        Parameters
        ----------
        linear_response: Variable
            linear response of the layer.

        Returns
        -------
        p: Variable
            the response of the layer after the activation function
            is applied over.
         N/A p linear_response N/A p N/A _get_monitoring_channels_for_activations N/A N/A self state N/A N/A N/A 
        Computes the monitoring channels which does not require targets.

        Parameters
        ----------
        state : member of self.output_space
            A minibatch of states that this Layer took on during fprop.
            Provided externally so that we don't need to make a second
            expression for it. This helps keep the Theano graph smaller
            so that function compilation runs faster.

        Returns
        -------
        rval : OrderedDict
            A dictionary mapping channel names to monitoring channels of
            interest for this layer.
         N/A rval N/A OrderedDict N/A N/A mx N/A N/A state max axis 0 N/A mean N/A N/A state mean axis 0 N/A mn N/A N/A state min axis 0 N/A rg N/A mx mn N/A N/A rval N/A range_x_max_u N/A N/A rg max N/A N/A rval N/A range_x_mean_u N/A N/A rg mean N/A N/A rval N/A range_x_min_u N/A N/A rg min N/A N/A rval N/A max_x_max_u N/A N/A mx max N/A N/A rval N/A max_x_mean_u N/A N/A mx mean N/A N/A rval N/A max_x_min_u N/A N/A mx min N/A N/A rval N/A mean_x_max_u N/A N/A mean max N/A N/A rval N/A mean_x_mean_u N/A N/A mean mean N/A N/A rval N/A mean_x_min_u N/A N/A mean min N/A N/A rval N/A min_x_max_u N/A N/A mn max N/A N/A rval N/A min_x_mean_u N/A N/A mn mean N/A N/A rval N/A min_x_min_u N/A N/A mn min N/A rval N/A get_monitoring_channels_from_state N/A N/A self state target cost_fn N/A None N/A N/A 
        Override the default get_monitoring_channels_from_state function.

        Parameters
        ----------
        state : member of self.output_space
            A minibatch of states that this Layer took on during fprop.
            Provided externally so that we don't need to make a second
            expression for it. This helps keep the Theano graph smaller
            so that function compilation runs faster.
        target : member of self.output_space
            Should be None unless this is the last layer.
            If specified, it should be a minibatch of targets for the
            last layer.
        cost_fn : theano computational graph or None
            This is the theano computational graph of a cost function.

        Returns
        -------
        rval : OrderedDict
            A dictionary mapping channel names to monitoring channels of
            interest for this layer.
         N/A rval N/A N/A self _get_monitoring_channels_for_activations state N/A rval N/A cost N/A N/A self Y Y_hat batch_axis N/A N/A N/A 
        The cost of outputting Y_hat when the true output is Y.

        Parameters
        ----------
        Y : theano.gof.Variable
            Output of `fprop`
        Y_hat : theano.gof.Variable
            Targets
        batch_axis : integer
            axis representing batch dimension

        Returns
        -------
        cost : theano.gof.Variable
            0-D tensor describing the cost
         N/A N/A NotImplementedError N/A N/A str N/A type self  does not implement cost function. N/A N/A IdentityConvNonlinearity N/A ConvNonlinearity N/A N/A 
    Linear convolutional nonlinearity class.
     __init__ N/A N/A self N/A N/A N/A N/A self non_lin_name linear N/A get_monitoring_channels_from_state N/A N/A self state target cost_fn N/A False N/A N/A rval N/A N/A N/A super IdentityConvNonlinearity self get_monitoring_channels_from_state state target cost_fn N/A N/A target None N/A N/A prediction N/A N/A T gt state 0.5 N/A incorrect N/A N/A N/A N/A T new target prediction max axis 1 N/A N/A rval N/A misclass N/A N/A N/A N/A T cast incorrect N/A config floatX mean N/A rval N/A N/A wraps N/A ConvNonlinearity get_monitoring_channels_from_state cost N/A N/A self Y Y_hat batch_axis N/A N/A N/A 
        Notes
        -----
        Mean squared error across examples in a batch
         N/A N/A N/A T sum N/A N/A T mean N/A N/A T sqr N/A Y Y_hat axis batch_axis N/A N/A wraps N/A ConvNonlinearity cost append True N/A RectifierConvNonlinearity N/A ConvNonlinearity N/A N/A 
    A simple rectifier nonlinearity class for convolutional layers.

    Parameters
    ----------
    left_slope : float
        The slope of the left half of the activation function.
     __init__ N/A N/A self left_slope N/A 0.0 N/A N/A 
        Parameters
        ----------
        left_slope : float, optional
            left slope for the linear response of the rectifier function.
            default is 0.0.
         N/A N/A self non_lin_name rectifier N/A N/A self left_slope left_slope N/A apply N/A N/A self linear_response N/A N/A N/A 
        Applies the rectifier nonlinearity over the convolutional layer.
         N/A p N/A N/A linear_response N/A linear_response 0.0 N/A N/A N/A self left_slope linear_response N/A linear_response 0.0 N/A p N/A N/A wraps N/A ConvNonlinearity apply N/A SigmoidConvNonlinearity N/A ConvNonlinearity N/A N/A 
    Sigmoid nonlinearity class for convolutional layers.

    Parameters
    ----------
    monitor_style : str, optional
        default monitor_style is "classification".
        This determines whether to do classification or detection.
     __init__ N/A N/A self monitor_style N/A classification N/A N/A N/A monitor_style N/A classification detection N/A N/A self monitor_style monitor_style N/A N/A self non_lin_name sigmoid N/A apply N/A N/A self linear_response N/A N/A N/A 
        Applies the sigmoid nonlinearity over the convolutional layer.
         N/A p N/A N/A N/A T nnet sigmoid linear_response N/A p N/A N/A wraps N/A ConvNonlinearity apply get_monitoring_channels_from_state N/A N/A self state target cost_fn N/A None N/A N/A rval N/A N/A N/A super SigmoidConvNonlinearity self get_monitoring_channels_from_state state target cost_fn N/A N/A target None N/A N/A y_hat N/A state 0.5 N/A y N/A target 0.5 N/A wrong_bit N/A N/A T cast N/A N/A T neq y y_hat N/A state dtype N/A N/A rval N/A 01_loss N/A N/A wrong_bit mean N/A N/A rval N/A kl N/A cost_fn Y_hat state Y target N/A y N/A N/A T cast y N/A state dtype N/A y_hat N/A N/A T cast y_hat N/A state dtype N/A tp N/A N/A N/A y y_hat sum N/A fp N/A N/A N/A N/A 1 y y_hat sum N/A precision N/A compute_precision tp fp N/A recall N/A compute_recall y tp N/A f1 N/A compute_f1 precision recall N/A N/A rval N/A precision precision N/A N/A rval N/A recall recall N/A N/A rval N/A f1 f1 N/A tp N/A N/A N/A y y_hat sum axis N/A 0 1 N/A fp N/A N/A N/A N/A 1 y y_hat sum axis N/A 0 1 N/A precision N/A compute_precision tp fp N/A N/A rval N/A per_output_precision_max N/A N/A precision max N/A N/A rval N/A per_output_precision_mean N/A N/A precision mean N/A N/A rval N/A per_output_precision_min N/A N/A precision min N/A recall N/A compute_recall y tp N/A N/A rval N/A per_output_recall_max N/A N/A recall max N/A N/A rval N/A per_output_recall_mean N/A N/A recall mean N/A N/A rval N/A per_output_recall_min N/A N/A recall min N/A f1 N/A compute_f1 precision recall N/A N/A rval N/A per_output_f1_max N/A N/A f1 max N/A N/A rval N/A per_output_f1_mean N/A N/A f1 mean N/A N/A rval N/A per_output_f1_min N/A N/A f1 min N/A rval N/A N/A wraps N/A ConvNonlinearity get_monitoring_channels_from_state cost N/A N/A self Y Y_hat batch_axis N/A N/A N/A 
        Notes
        -----
        Cost mean across units, mean across batch of KL divergence
        KL(P || Q) where P is defined by Y and Q is defined by Y_hat
        KL(P || Q) = p log p - p log q + (1-p) log (1-p) - (1-p) log (1-q)
         N/A ave_total N/A kl Y Y Y_hat Y_hat batch_axis batch_axis N/A ave N/A N/A ave_total mean N/A ave N/A N/A wraps N/A ConvNonlinearity cost append True N/A TanhConvNonlinearity N/A ConvNonlinearity N/A N/A 
    Tanh nonlinearity class for convolutional layers.
     __init__ N/A N/A self N/A N/A N/A N/A self non_lin_name tanh N/A apply N/A N/A self linear_response N/A N/A N/A 
        Applies the tanh nonlinearity over the convolutional layer.
         N/A p N/A N/A T tanh linear_response N/A p N/A N/A wraps N/A ConvNonlinearity apply N/A ConvElemwise N/A Layer N/A N/A 
    Generic convolutional elemwise layer.
    Takes the ConvNonlinearity object as an argument and implements
    convolutional layer with the specified nonlinearity.

    This function can implement:

    * Linear convolutional layer
    * Rectifier convolutional layer
    * Sigmoid convolutional layer
    * Tanh convolutional layer

    based on the nonlinearity argument that it recieves.

    Parameters
    ----------
    output_channels : int
        The number of output channels the layer should have.
    kernel_shape : tuple
        The shape of the convolution kernel.
    pool_shape : tuple
        The shape of the spatial max pooling. A two-tuple of ints.
    pool_stride : tuple
        The stride of the spatial max pooling. Also must be square.
    layer_name : str
        A name for this layer that will be prepended to monitoring channels
        related to this layer.
    nonlinearity : object
        An instance of a nonlinearity object which might be inherited
        from the ConvNonlinearity class.
    irange : float, optional
        if specified, initializes each weight randomly in
        U(-irange, irange)
    border_mode : str, optional
        A string indicating the size of the output:

          - "full" : The output is the full discrete linear convolution of the
            inputs.
          - "valid" : The output consists only of those elements that do not
            rely on the zero-padding. (Default)
    sparse_init : WRITEME
    include_prob : float, optional
        probability of including a weight element in the set of weights
        initialized to U(-irange, irange). If not included it is initialized
        to 1.0.
    init_bias : float, optional
        All biases are initialized to this number. Default is 0.
    W_lr_scale : float or None
        The learning rate on the weights for this layer is multiplied by this
        scaling factor
    b_lr_scale : float or None
        The learning rate on the biases for this layer is multiplied by this
        scaling factor
    max_kernel_norm : float or None
        If specified, each kernel is constrained to have at most this norm.
    pool_type : str or None
        The type of the pooling operation performed the convolution.
        Default pooling type is max-pooling.
    tied_b : bool, optional
        If true, all biases in the same channel are constrained to be the
        same as each other. Otherwise, each bias at each location is
        learned independently. Default is true.
    detector_normalization : callable or None
        See `output_normalization`.
        If pooling argument is not provided, detector_normalization
        is not applied on the layer.
    output_normalization : callable  or None
        if specified, should be a callable object. the state of the
        network is optionally replaced with normalization(state) at each
        of the 3 points in processing:

          - detector: the maxout units can be normalized prior to the
            spatial pooling
          - output: the output of the layer, after sptial pooling, can
            be normalized as well
    kernel_stride : 2-tuple of ints, optional
        The stride of the convolution kernel. Default is (1, 1).
     __init__ N/A N/A self output_channels kernel_shape layer_name nonlinearity irange border_mode sparse_init include_prob init_bias W_lr_scale b_lr_scale max_kernel_norm pool_type pool_shape pool_stride tied_b detector_normalization output_normalization kernel_stride monitor_style N/A None valid None 1.0 0.0 None None None None None None None None None N/A 1 1 classification N/A N/A N/A N/A irange None N/A sparse_init None N/A N/A N/A AssertionError You should specify either irange or sparse_init when calling the constructor of ConvElemwise. N/A N/A N/A N/A irange None N/A sparse_init None N/A N/A N/A AssertionError You should specify either irange or sparse_init when calling the constructor of ConvElemwise and not both. N/A N/A pool_type None N/A N/A N/A pool_shape None N/A You should specify the shape of the spatial %s-pooling. pool_type N/A N/A pool_stride None N/A You should specify the strides of the spatial %s-pooling. pool_type N/A N/A nonlinearity None N/A N/A N/A N/A super ConvElemwise self __init__ N/A N/A self nonlin nonlinearity N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A monitor_style N/A classification detection N/A %s.monitor_style should be eitherdetection or classification N/A N/A self __class__ __name__ N/A N/A self self N/A N/A max_kernel_norm None N/A N/A N/A N/A N/A self extensions append N/A MaxL2FilterNorm max_kernel_norm axis N/A 1 2 3 N/A initialize_transformer N/A N/A self rng N/A N/A N/A 
        This function initializes the transformer of the class. Re-running
        this function will reset the transformer.

        Parameters
        ----------
        rng : object
            random number generator object.
         N/A N/A N/A self irange None N/A N/A N/A N/A self sparse_init None N/A N/A self transformer N/A N/A conv2d make_random_conv2D irange N/A self irange input_space N/A self input_space output_space N/A self detector_space kernel_shape N/A self kernel_shape subsample N/A self kernel_stride border_mode N/A self border_mode rng rng N/A N/A N/A N/A self sparse_init None N/A N/A N/A self transformer N/A N/A conv2d make_sparse_random_conv2D num_nonzero N/A self sparse_init input_space N/A self input_space output_space N/A self detector_space kernel_shape N/A self kernel_shape subsample N/A self kernel_stride border_mode N/A self border_mode rng rng N/A N/A N/A ValueError irange and sparse_init cannot be both None N/A initialize_output_space N/A N/A self N/A N/A N/A 
        Initializes the output space of the ConvElemwise layer by taking
        pooling operator and the hyperparameters of the convolutional layer
        into consideration as well.
         N/A dummy_batch_size N/A N/A self mlp batch_size N/A N/A dummy_batch_size None N/A N/A dummy_batch_size 2 N/A dummy_detector N/A sharedX N/A N/A N/A self detector_space get_origin_batch dummy_batch_size N/A N/A N/A self pool_type None N/A N/A N/A N/A self pool_type N/A max mean N/A N/A N/A self pool_type max N/A N/A dummy_p N/A max_pool bc01 dummy_detector pool_shape N/A self pool_shape pool_stride N/A self pool_stride image_shape N/A N/A self detector_space shape N/A N/A N/A N/A self pool_type mean N/A N/A dummy_p N/A mean_pool bc01 dummy_detector pool_shape N/A self pool_shape pool_stride N/A self pool_stride image_shape N/A N/A self detector_space shape N/A dummy_p N/A N/A dummy_p eval N/A N/A self output_space N/A Conv2DSpace shape N/A N/A N/A dummy_p shape N/A 2 N/A N/A dummy_p shape N/A 3 num_channels N/A self output_channels axes N/A b c 0 1 N/A N/A dummy_detector N/A N/A dummy_detector eval N/A N/A self output_space N/A Conv2DSpace shape N/A N/A N/A dummy_detector shape N/A 2 N/A N/A dummy_detector shape N/A 3 num_channels N/A self output_channels axes N/A b c 0 1 N/A N/A N/A logger info N/A N/A Output space: {0} format N/A N/A self output_space shape N/A set_input_space N/A N/A self space N/A N/A N/A  Note: this function will reset the parameters!  N/A N/A self input_space space N/A N/A N/A isinstance space Conv2DSpace N/A N/A N/A BadInputSpaceError N/A N/A N/A N/A N/A N/A self __class__ __name__ .set_input_space expected a Conv2DSpace, got  N/A str space  of type  N/A str N/A type space N/A rng N/A N/A self mlp rng N/A N/A N/A self border_mode valid N/A N/A output_shape N/A N/A N/A int N/A N/A N/A N/A N/A self input_space shape N/A 0 N/A N/A self kernel_shape N/A 0 N/A N/A self kernel_stride N/A 0 1 N/A N/A int N/A N/A N/A N/A N/A self input_space shape N/A 1 N/A N/A self kernel_shape N/A 1 N/A N/A self kernel_stride N/A 1 1 N/A N/A N/A N/A self border_mode full N/A N/A output_shape N/A N/A N/A int N/A N/A N/A N/A N/A self input_space shape N/A 0 N/A N/A self kernel_shape N/A 0 N/A N/A self kernel_stride N/A 0 1 N/A N/A int N/A N/A N/A N/A N/A self input_space shape N/A 1 N/A N/A self kernel_shape N/A 1 N/A N/A self kernel_stride N/A 1 1 N/A N/A self detector_space N/A Conv2DSpace shape output_shape num_channels N/A self output_channels axes N/A b c 0 1 N/A N/A N/A self initialize_transformer rng N/A N/A W N/A N/A N/A self transformer get_params N/A N/A W name N/A N/A self layer_name _W N/A N/A self tied_b N/A N/A N/A self b N/A sharedX N/A N/A N/A np zeros N/A N/A self detector_space num_channels N/A self init_bias N/A N/A N/A self b N/A sharedX N/A N/A N/A N/A self detector_space get_origin N/A self init_bias N/A N/A N/A self b name N/A N/A self layer_name _b N/A N/A N/A logger info N/A N/A Input shape: {0} format N/A N/A self input_space shape N/A N/A N/A logger info N/A N/A Detector space: {0} format N/A N/A self detector_space shape N/A N/A N/A self initialize_output_space N/A N/A wraps N/A Layer set_input_space get_params N/A N/A self N/A N/A N/A N/A N/A N/A self b name None N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W name None N/A rval N/A N/A N/A self transformer get_params N/A N/A N/A isinstance rval set N/A rval N/A list rval N/A N/A N/A self b rval N/A N/A N/A rval append N/A self b N/A rval N/A N/A wraps N/A Layer get_params get_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A W N/A N/A N/A self transformer get_params N/A N/A coeff N/A N/A N/A N/A T sqr W sum N/A N/A wraps N/A Layer get_weight_decay get_l1_weight_decay N/A N/A self coeff N/A N/A N/A N/A isinstance coeff str N/A N/A coeff N/A float coeff N/A N/A N/A isinstance coeff float N/A hasattr coeff dtype N/A N/A W N/A N/A N/A self transformer get_params N/A N/A coeff N/A N/A N/A abs W sum N/A N/A wraps N/A Layer get_l1_weight_decay set_weights N/A N/A self weights N/A N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W set_value weights N/A N/A wraps N/A Layer set_weights set_biases N/A N/A self biases N/A N/A N/A N/A N/A N/A self b set_value biases N/A N/A wraps N/A Layer set_biases get_biases N/A N/A self N/A N/A N/A N/A N/A N/A self b get_value N/A N/A wraps N/A Layer get_biases get_weights_format N/A N/A self N/A N/A N/A N/A v h N/A N/A wraps N/A Layer get_weights_format get_lr_scalers N/A N/A self N/A N/A N/A N/A N/A hasattr self W_lr_scale N/A N/A N/A self W_lr_scale None N/A N/A N/A hasattr self b_lr_scale N/A N/A N/A self b_lr_scale None N/A rval N/A OrderedDict N/A N/A N/A self W_lr_scale None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A rval N/A W N/A self W_lr_scale N/A N/A N/A self b_lr_scale None N/A N/A N/A rval N/A N/A self b N/A self b_lr_scale N/A rval N/A N/A wraps N/A Layer get_lr_scalers get_weights_topo N/A N/A self N/A N/A N/A N/A outp inp rows cols N/A range 4 N/A raw N/A N/A N/A N/A self transformer _filters get_value N/A N/A N/A np transpose raw N/A outp rows cols inp N/A N/A wraps N/A Layer get_weights_topo get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A N/A W N/A N/A N/A self transformer get_params N/A N/A N/A W ndim 4 N/A sq_W N/A N/A T sqr W N/A row_norms N/A N/A T sqrt N/A N/A sq_W sum axis N/A 1 2 3 N/A rval N/A OrderedDict N/A N/A kernel_norms_min N/A N/A row_norms min N/A kernel_norms_mean N/A N/A row_norms mean N/A kernel_norms_max N/A N/A row_norms max N/A cst N/A self cost N/A orval N/A N/A N/A self nonlin get_monitoring_channels_from_state state targets cost_fn cst N/A N/A N/A rval update orval N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels fprop N/A N/A self state_below N/A N/A N/A N/A N/A N/A self input_space validate state_below N/A z N/A N/A N/A self transformer lmul state_below N/A N/A N/A hasattr self tied_b N/A N/A N/A self tied_b False N/A N/A self tied_b N/A N/A b N/A N/A N/A self b dimshuffle x 0 x x N/A N/A b N/A N/A N/A self b dimshuffle x 0 1 2 N/A z N/A z b N/A d N/A N/A N/A self nonlin apply z N/A N/A N/A self layer_name None N/A N/A N/A d name N/A N/A self layer_name _z N/A N/A N/A N/A self detector_space validate d N/A N/A N/A self pool_type None N/A N/A N/A N/A hasattr self detector_normalization N/A N/A N/A self detector_normalization None N/A N/A self detector_normalization N/A N/A d N/A N/A self detector_normalization d N/A N/A N/A self pool_type N/A max mean pool_type should beeither max or meanpooling. N/A N/A N/A self pool_type max N/A N/A p N/A max_pool bc01 d pool_shape N/A self pool_shape pool_stride N/A self pool_stride image_shape N/A N/A self detector_space shape N/A N/A N/A N/A self pool_type mean N/A N/A p N/A mean_pool bc01 d pool_shape N/A self pool_shape pool_stride N/A self pool_stride image_shape N/A N/A self detector_space shape N/A N/A N/A N/A self output_space validate p N/A N/A p d N/A N/A N/A hasattr self output_normalization N/A N/A N/A self output_normalization None N/A N/A self output_normalization N/A N/A p N/A N/A self output_normalization p N/A p N/A N/A wraps N/A Layer fprop cost N/A N/A self Y Y_hat N/A N/A N/A 
        Notes
        -----
        The cost method calls `self.nonlin.cost`
         N/A batch_axis N/A N/A N/A self output_space get_batch_axis N/A N/A N/A N/A self nonlin cost Y Y Y_hat Y_hat batch_axis batch_axis N/A N/A wraps N/A Layer cost append True N/A ConvRectifiedLinear N/A ConvElemwise N/A N/A 
    A convolutional rectified linear layer, based on theano's B01C
    formatted convolution.

    Parameters
    ----------
    output_channels : int
        The number of output channels the layer should have.
    kernel_shape : tuple
        The shape of the convolution kernel.
    pool_shape : tuple
        The shape of the spatial max pooling. A two-tuple of ints.
    pool_stride : tuple
        The stride of the spatial max pooling. Also must be square.
    layer_name : str
        A name for this layer that will be prepended to monitoring channels
        related to this layer.
    irange : float
        if specified, initializes each weight randomly in
        U(-irange, irange)
    border_mode : str
        A string indicating the size of the output:

        - "full" : The output is the full discrete linear convolution of the
            inputs.
        - "valid" : The output consists only of those elements that do not
            rely on the zero-padding. (Default)

    include_prob : float
        probability of including a weight element in the set of weights
        initialized to U(-irange, irange). If not included it is initialized
        to 0.
    init_bias : float
        All biases are initialized to this number
    W_lr_scale : float
        The learning rate on the weights for this layer is multiplied by this
        scaling factor
    b_lr_scale : float
        The learning rate on the biases for this layer is multiplied by this
        scaling factor
    left_slope : float
        The slope of the left half of the activation function
    max_kernel_norm : float
        If specifed, each kernel is constrained to have at most this norm.
    pool_type :
        The type of the pooling operation performed the the convolution.
        Default pooling type is max-pooling.
    tied_b : bool
        If true, all biases in the same channel are constrained to be the
        same as each other. Otherwise, each bias at each location is
        learned independently.
    detector_normalization : callable
        See `output_normalization`
    output_normalization : callable
        if specified, should be a callable object. the state of the
        network is optionally replaced with normalization(state) at each
        of the 3 points in processing:

        - detector: the rectifier units can be normalized prior to the
            spatial pooling
        - output: the output of the layer, after spatial pooling, can
            be normalized as well

    kernel_stride : tuple
        The stride of the convolution kernel. A two-tuple of ints.
     __init__ N/A N/A self output_channels kernel_shape pool_shape pool_stride layer_name irange border_mode sparse_init include_prob init_bias W_lr_scale b_lr_scale left_slope max_kernel_norm pool_type tied_b detector_normalization output_normalization kernel_stride monitor_style N/A None valid None 1.0 0.0 None None 0.0 None max False None None N/A 1 1 classification N/A N/A nonlinearity N/A RectifierConvNonlinearity left_slope N/A N/A N/A irange None N/A sparse_init None N/A N/A N/A AssertionError You should specify either irange or sparse_init when calling the constructor of ConvRectifiedLinear. N/A N/A N/A N/A irange None N/A sparse_init None N/A N/A N/A AssertionError You should specify either irange or sparse_init when calling the constructor of ConvRectifiedLinear and not both. N/A mkn max_kernel_norm N/A dn detector_normalization N/A on output_normalization N/A N/A N/A N/A super ConvRectifiedLinear self __init__ output_channels kernel_shape layer_name nonlinearity irange irange border_mode border_mode sparse_init sparse_init include_prob include_prob init_bias init_bias W_lr_scale W_lr_scale b_lr_scale b_lr_scale pool_shape pool_shape pool_stride pool_stride max_kernel_norm mkn pool_type pool_type tied_b tied_b detector_normalization dn output_normalization on kernel_stride kernel_stride monitor_style monitor_style N/A N/A pool_dnn N/A N/A bc01 pool_shape pool_stride mode N/A max N/A N/A 
    cuDNN pooling op.

    Parameters
    ----------
    bc01 : theano tensor
        Minibatch in format (batch size, channels, rows, cols).
    pool_shape : tuple
        Shape of the pool region (rows, cols).
    pool_stride : tuple
        Strides between pooling regions (row stride, col stride).
    mode : str
        Flag for `mean` or `max` pooling.

    Returns
    -------
    mx : theano tensor
        The output of pooling applied to `bc01`.
     N/A N/A mode N/A max mean N/A N/A mode mean N/A N/A N/A NotImplementedError Mean pooling is not implemented in Pylearn2 using cuDNN as of January 19th, 2015. N/A mx N/A dnn_pool bc01 N/A tuple pool_shape N/A tuple pool_stride mode N/A mx N/A max_pool N/A N/A bc01 pool_shape pool_stride image_shape try_dnn N/A True N/A N/A 
    Theano's max pooling op only supports pool_stride = pool_shape
    so here we have a graph that does max pooling with strides

    Parameters
    ----------
    bc01 : theano tensor
        minibatch in format (batch size, channels, rows, cols)
    pool_shape : tuple
        shape of the pool region (rows, cols)
    pool_stride : tuple
        strides between pooling regions (row stride, col stride)
    image_shape : tuple
        avoid doing some of the arithmetic in theano
    try_dnn : bool
        Flag to set cuDNN use (default: True).

    Returns
    -------
    pooled : theano tensor
        The output of pooling applied to `bc01`

    See Also
    --------
    max_pool_c01b : Same functionality but with ('c', 0, 1, 'b') axes
    sandbox.cuda_convnet.pool.max_pool_c01b : Same functionality as
        `max_pool_c01b` but GPU-only and considerably faster.
    mean_pool : Mean pooling instead of max pooling
     N/A mx None N/A N/A r c image_shape N/A N/A pr pc pool_shape N/A N/A rs cs pool_stride N/A N/A pr r N/A N/A pc c N/A name N/A bc01 name N/A N/A name None N/A N/A name anon_bc01 N/A N/A try_dnn N/A N/A bc01 dtype float32 N/A N/A use_dnn N/A dnn_available N/A N/A use_dnn False N/A N/A N/A pool_shape pool_stride N/A use_dnn N/A N/A mx N/A max_pool_2d bc01 pool_shape False N/A N/A mx name N/A N/A max_pool( name ) N/A mx last_pool N/A N/A im_shp p_shp p_strd N/A N/A N/A rval N/A int N/A N/A np ceil N/A N/A float N/A im_shp p_shp p_strd N/A N/A N/A N/A p_strd rval p_shp im_shp N/A N/A N/A N/A p_strd N/A rval 1 p_shp im_shp N/A N/A N/A p_strd rval im_shp N/A N/A rval 1 N/A rval N/A N/A last_pool_r N/A N/A last_pool N/A image_shape N/A 0 N/A pool_shape N/A 0 N/A pool_stride N/A 0 N/A pool_stride N/A 0 N/A required_r N/A last_pool_r pr N/A last_pool_c N/A N/A last_pool N/A image_shape N/A 1 N/A pool_shape N/A 1 N/A pool_stride N/A 1 N/A pool_stride N/A 1 N/A required_c N/A last_pool_c pc N/A bc01v N/A get_debug_values bc01 N/A N/A N/A N/A contains_inf bc01v N/A N/A N/A N/A bc01v shape N/A 2 N/A image_shape N/A 0 N/A N/A N/A N/A bc01v shape N/A 3 N/A image_shape N/A 1 N/A N/A N/A required_r r N/A required_c c N/A N/A small_r N/A min required_r r N/A small_c N/A min required_c c N/A N/A N/A N/A bc01 dtype startswith float N/A wide_infinity N/A N/A T alloc N/A N/A T constant N/A N/A np inf dtype N/A bc01 dtype N/A N/A bc01 shape N/A 0 N/A N/A bc01 shape N/A 1 required_r required_c N/A bc01 N/A N/A T set_subtensor N/A wide_infinity N/A N/A N/A N/A 0 small_r N/A 0 small_c N/A bc01 N/A N/A N/A N/A 0 small_r N/A 0 small_c N/A name N/A infinite_padded_ name N/A use_dnn N/A N/A mx N/A pool_dnn bc01 pool_shape pool_stride max N/A N/A row_within_pool N/A xrange N/A pool_shape N/A 0 N/A N/A row_stop N/A N/A last_pool_r row_within_pool 1 N/A col_within_pool N/A xrange N/A pool_shape N/A 1 N/A N/A col_stop N/A N/A last_pool_c col_within_pool 1 N/A cur N/A bc01 N/A N/A N/A N/A row_within_pool row_stop rs N/A col_within_pool col_stop cs N/A N/A cur name N/A N/A N/A N/A N/A max_pool_cur_ name _ N/A str row_within_pool _ N/A str col_within_pool N/A N/A mx None N/A N/A mx cur N/A N/A mx N/A N/A T maximum mx cur N/A N/A mx name N/A N/A N/A N/A N/A max_pool_mx_ name _ N/A str row_within_pool _ N/A str col_within_pool N/A N/A mx name N/A N/A max_pool( name ) N/A mxv N/A get_debug_values mx N/A N/A N/A isfinite mxv N/A mx N/A max_pool_c01b N/A N/A c01b pool_shape pool_stride image_shape N/A N/A N/A 
    Theano's max pooling op only supports pool_stride = pool_shape
    so here we have a graph that does max pooling with strides

    Parameters
    ----------
    c01b : theano tensor
        minibatch in format (channels, rows, cols, batch size)
    pool_shape : tuple
        shape of the pool region (rows, cols)
    pool_stride : tuple
        strides between pooling regions (row stride, col stride)
    image_shape : tuple
        avoid doing some of the arithmetic in theano

    Returns
    -------
    pooled : theano tensor
        The output of pooling applied to `c01b`

    See Also
    --------
    sandbox.cuda_convnet.pool.max_pool_c01b : Same functionality but GPU-only
        and considerably faster.
    max_pool : Same functionality but with ('b', 0, 1, 'c') axes
     N/A mx None N/A N/A r c image_shape N/A N/A pr pc pool_shape N/A N/A rs cs pool_stride N/A N/A pr 0 N/A N/A pc 0 N/A N/A pr r N/A N/A pc c last_pool N/A N/A im_shp p_shp p_strd N/A N/A N/A rval N/A int N/A N/A np ceil N/A N/A float N/A im_shp p_shp p_strd N/A N/A N/A N/A p_strd rval p_shp im_shp N/A N/A N/A N/A p_strd N/A rval 1 p_shp im_shp N/A rval N/A N/A last_pool_r N/A N/A last_pool N/A image_shape N/A 0 N/A pool_shape N/A 0 N/A pool_stride N/A 0 N/A pool_stride N/A 0 N/A required_r N/A last_pool_r pr N/A last_pool_c N/A N/A last_pool N/A image_shape N/A 1 N/A pool_shape N/A 1 N/A pool_stride N/A 1 N/A pool_stride N/A 1 N/A required_c N/A last_pool_c pc N/A c01bv N/A get_debug_values c01b N/A N/A N/A N/A contains_inf c01bv N/A N/A N/A N/A c01bv shape N/A 1 r N/A N/A N/A N/A c01bv shape N/A 2 c N/A wide_infinity N/A N/A T alloc N/A N/A np inf N/A N/A c01b shape N/A 0 required_r required_c N/A N/A c01b shape N/A 3 N/A name N/A c01b name N/A N/A name None N/A N/A name anon_bc01 N/A c01b N/A N/A T set_subtensor N/A wide_infinity N/A N/A N/A 0 r N/A 0 c N/A c01b N/A N/A c01b name N/A infinite_padded_ name N/A row_within_pool N/A xrange N/A pool_shape N/A 0 N/A N/A row_stop N/A N/A last_pool_r row_within_pool 1 N/A col_within_pool N/A xrange N/A pool_shape N/A 1 N/A N/A col_stop N/A N/A last_pool_c col_within_pool 1 N/A cur N/A c01b N/A N/A N/A row_within_pool row_stop rs N/A col_within_pool col_stop cs N/A N/A N/A cur name N/A N/A N/A N/A N/A max_pool_cur_ N/A c01b name _ N/A str row_within_pool _ N/A str col_within_pool N/A N/A mx None N/A N/A mx cur N/A N/A mx N/A N/A T maximum mx cur N/A N/A mx name N/A N/A N/A N/A N/A max_pool_mx_ N/A c01b name _ N/A str row_within_pool _ N/A str col_within_pool N/A N/A mx name N/A N/A max_pool( name ) N/A mxv N/A get_debug_values mx N/A N/A N/A isfinite mxv N/A mx N/A mean_pool N/A N/A bc01 pool_shape pool_stride image_shape N/A N/A N/A 
    Does mean pooling (aka average pooling) via a Theano graph.

    Parameters
    ----------
    bc01 : theano tensor
        minibatch in format (batch size, channels, rows, cols)
    pool_shape : tuple
        shape of the pool region (rows, cols)
    pool_stride : tuple
        strides between pooling regions (row stride, col stride)
    image_shape : tuple
        (rows, cols) tuple to avoid doing some arithmetic in theano

    Returns
    -------
    pooled : theano tensor
        The output of pooling applied to `bc01`

    See Also
    --------
    max_pool : Same thing but with max pooling

    Examples
    --------
    >>> import theano
    >>> import theano.tensor as T
    >>> from pylearn2.models.mlp import mean_pool
    >>> import numpy as np
    >>> t = np.array([[1, 1, 3, 3],
    ...               [1, 1, 3, 3],
    ...               [5, 5, 7, 7],
    ...               [5, 5, 7, 7],
    ...               [9, 9, 11, 11],
    ...               [9, 9, 11, 11]])

    >>> X = np.zeros((3, t.shape[0], t.shape[1]))
    >>> X[:] = t
    >>> X = X[np.newaxis]
    >>> X_sym = T.tensor4('X')
    >>> pool_it = mean_pool(X_sym, pool_shape=(2, 2), pool_stride=(2, 2),
    ...                     image_shape=(6, 4))
    >>> f = theano.function(inputs=[X_sym], outputs=pool_it)

    This will pool over over windows of size (2, 2) while also stepping by this
    same amount, shrinking the examples input to [[1, 3], [5, 7], [9, 11]].
     N/A mx None N/A N/A r c image_shape N/A N/A pr pc pool_shape N/A N/A rs cs pool_stride last_pool N/A N/A im_shp p_shp p_strd N/A N/A N/A rval N/A int N/A N/A np ceil N/A N/A float N/A im_shp p_shp p_strd N/A N/A N/A N/A p_strd rval p_shp im_shp N/A N/A N/A N/A p_strd N/A rval 1 p_shp im_shp N/A rval N/A N/A last_pool_r N/A N/A last_pool N/A image_shape N/A 0 N/A pool_shape N/A 0 N/A pool_stride N/A 0 N/A pool_stride N/A 0 N/A required_r N/A last_pool_r pr N/A last_pool_c N/A N/A last_pool N/A image_shape N/A 1 N/A pool_shape N/A 1 N/A pool_stride N/A 1 N/A pool_stride N/A 1 N/A required_c N/A last_pool_c pc N/A bc01v N/A get_debug_values bc01 N/A N/A N/A N/A contains_inf bc01v N/A N/A N/A N/A bc01v shape N/A 2 N/A image_shape N/A 0 N/A N/A N/A N/A bc01v shape N/A 3 N/A image_shape N/A 1 N/A wide_infinity N/A N/A T alloc N/A N/A np inf N/A N/A bc01 shape N/A 0 N/A N/A bc01 shape N/A 1 required_r required_c N/A name N/A bc01 name N/A N/A name None N/A N/A name anon_bc01 N/A bc01 N/A N/A T set_subtensor N/A wide_infinity N/A N/A N/A N/A 0 r N/A 0 c bc01 N/A N/A bc01 name N/A infinite_padded_ name N/A wide_infinity_count N/A N/A T alloc 0 N/A N/A bc01 shape N/A 0 N/A N/A bc01 shape N/A 1 required_r required_c N/A bc01_count N/A N/A T set_subtensor N/A wide_infinity_count N/A N/A N/A N/A 0 r N/A 0 c 1 N/A row_within_pool N/A xrange N/A pool_shape N/A 0 N/A N/A row_stop N/A N/A last_pool_r row_within_pool 1 N/A col_within_pool N/A xrange N/A pool_shape N/A 1 N/A N/A col_stop N/A N/A last_pool_c col_within_pool 1 N/A cur N/A bc01 N/A N/A N/A N/A row_within_pool row_stop rs N/A col_within_pool col_stop cs N/A N/A cur name N/A N/A N/A N/A N/A mean_pool_cur_ N/A bc01 name _ N/A str row_within_pool _ N/A str col_within_pool N/A cur_count N/A bc01_count N/A N/A N/A N/A row_within_pool row_stop rs N/A col_within_pool col_stop cs N/A N/A mx None N/A N/A mx cur N/A count cur_count N/A N/A mx N/A mx cur N/A count N/A count cur_count N/A N/A mx name N/A N/A N/A N/A N/A mean_pool_mx_ N/A bc01 name _ N/A str row_within_pool _ N/A str col_within_pool N/A mx count N/A N/A mx name N/A N/A mean_pool( name ) N/A mxv N/A get_debug_values mx N/A N/A N/A isfinite mxv N/A mx N/A WeightDecay N/A N/A N/A args kwargs N/A N/A N/A N/A warnings warn pylearn2.models.mlp.WeightDecay has moved to pylearn2.costs.mlp.WeightDecay. This linkmay be removed after 2015-05-13. N/A N/A _WD args kwargs N/A N/A wraps _WD L1WeightDecay N/A N/A N/A args kwargs N/A N/A N/A N/A warnings warn pylearn2.models.mlp.L1WeightDecay has moved to pylearn2.costs.mlp.WeightDecay. This linkmay be removed after 2015-05-13. N/A N/A _L1WD args kwargs N/A N/A wraps _L1WD LinearGaussian N/A Linear N/A N/A 
    A Linear layer augmented with a precision vector, for modeling
    conditionally Gaussian data.

    Specifically, given an input x, this layer models the distrbution over
    the output as

    y ~ p(y | x) = N(y | Wx + b, beta^-1)

    i.e., y is conditionally Gaussian with mean Wx + b and variance
    beta^-1.

    beta is a diagonal precision matrix so beta^-1 is a diagonal covariance
    matrix.

    Internally, beta is stored as the vector of diagonal values on this
    matrix.

    Since the output covariance is not a function of the input, this does
    not provide an example-specific estimate of the error in the mean.
    However, the vector-valued beta does mean that maximizing log p(y | x)
    will reweight the mean squared error so that variables that can be
    estimated easier will receive a higher penalty. This is one way of
    adapting the model better to heterogenous data.

    Parameters
    ----------
    init_beta : float or ndarray
        Any value > 0 that can be broadcasted to a vector of shape (dim, ).
        The elements of beta are initialized to this value.
        A good value is often the precision (inverse variance) of the target
        variables in the training set, as provided by the
        `beta_from_targets` function. This is the optimal beta for a dummy
        model that just predicts the mean target value from the training set.
    min_beta : float
        The elements of beta are constrained to be >= this value.
        This value must be > 0., otherwise the output conditional is not
        constrained to be a valid probability distribution.
        A good value is often the precision (inverse variance) of the target
        variables in the training set, as provided by the
        `beta_from_targets` function. This is the optimal beta for a dummy
        model that just predicts the mean target value from the training set.
        A trained model should always be able to obtain at least this much
        precision, at least on the training set.
    max_beta : float
        The elements of beta are constrained to be <= this value.
        We impose this constraint because for problems
        where the training set values can be predicted
        exactly, beta can grow without bound, which also makes the
        gradients grow without bound, resulting in numerical problems.
    kwargs : dict
        Arguments to the `Linear` superclass.
     __init__ N/A N/A self init_beta min_beta max_beta beta_lr_scale N/A kwargs N/A N/A N/A N/A N/A super LinearGaussian self __init__ kwargs N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A N/A self kwargs N/A set_input_space N/A N/A self space N/A N/A N/A N/A N/A N/A super LinearGaussian self set_input_space space N/A N/A isinstance N/A self output_space VectorSpace N/A N/A self beta N/A sharedX N/A N/A N/A N/A self output_space get_origin N/A self init_beta beta N/A N/A wraps N/A Layer set_input_space get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A rval N/A N/A N/A super LinearGaussian self get_layer_monitoring_channels state_below state targets N/A N/A isinstance rval OrderedDict N/A N/A rval N/A beta_min N/A N/A N/A self beta min N/A N/A rval N/A beta_mean N/A N/A N/A self beta mean N/A N/A rval N/A beta_max N/A N/A N/A self beta max N/A targets N/A N/A N/A rval N/A mse N/A N/A N/A N/A T sqr N/A state targets mean N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels cost N/A N/A self Y Y_hat N/A N/A N/A N/A N/A 0.5 N/A N/A N/A N/A T dot N/A N/A T sqr N/A Y Y_hat N/A self beta mean N/A 0.5 N/A N/A N/A N/A T log N/A self beta sum N/A N/A wraps N/A Linear cost cost_matrix N/A N/A self Y Y_hat N/A N/A N/A N/A N/A N/A 0.5 N/A N/A T sqr N/A Y Y_hat N/A self beta N/A 0.5 N/A N/A T log N/A self beta N/A N/A wraps N/A Linear cost_matrix _modify_updates N/A N/A self updates N/A N/A N/A N/A N/A N/A super LinearGaussian self _modify_updates updates N/A N/A N/A self beta updates N/A N/A N/A updates N/A N/A self beta N/A N/A T clip N/A updates N/A N/A self beta N/A self min_beta N/A self max_beta N/A N/A wraps N/A Layer _modify_updates get_lr_scalers N/A N/A self N/A N/A N/A rval N/A N/A N/A super LinearGaussian self get_lr_scalers N/A N/A N/A self beta_lr_scale None N/A N/A N/A rval N/A N/A self beta N/A self beta_lr_scale N/A rval N/A N/A wraps N/A Layer get_lr_scalers get_params N/A N/A self N/A N/A N/A N/A N/A N/A N/A super LinearGaussian self get_params N/A N/A self beta N/A N/A wraps N/A Layer get_params N/A beta_from_design N/A N/A design min_var max_var N/A 1e-06 1000000.0 N/A N/A 
    Returns the marginal precision of a design matrix.

    Parameters
    ----------
    design : ndarray
        A numpy ndarray containing a design matrix
    min_var : float
    max_var : float
        All variances are constrained to lie in the range [min_var, max_var]
        to avoid numerical issues like infinite precision.

    Returns
    -------
    beta : ndarray
        A 1D vector containing the marginal precision of each variable in the
        design matrix.
     N/A N/A 1.0 N/A N/A np clip N/A N/A design var axis 0 min_var max_var N/A beta_from_targets N/A N/A dataset N/A kwargs N/A N/A 
    Returns the marginal precision of the targets in a dataset.

    Parameters
    ----------
    dataset : DenseDesignMatrix
        A DenseDesignMatrix with a targets field `y`
    kwargs : dict
        Extra arguments to `beta_from_design`

    Returns
    -------
    beta : ndarray
        A 1-D vector containing the marginal precision of the *targets* in
        `dataset`.
     N/A N/A beta_from_design N/A dataset y kwargs N/A beta_from_features N/A N/A dataset N/A kwargs N/A N/A 
    Returns the marginal precision of the features in a dataset.

    Parameters
    ----------
    dataset : DenseDesignMatrix
        The dataset to compute the precision on.
    kwargs : dict
        Passed through to `beta_from_design`

    Returns
    -------
    beta : ndarray
        Vector of precision values for each feature in `dataset`
     N/A N/A beta_from_design N/A dataset X kwargs N/A mean_of_targets N/A N/A dataset N/A N/A N/A 
    Returns the mean of the targets in a dataset.

    Parameters
    ----------
    dataset : DenseDesignMatrix

    Returns
    -------
    mn : ndarray
        A 1-D vector with entry i giving the mean of target i
     N/A N/A N/A N/A dataset y mean axis 0 N/A PretrainedLayer N/A Layer N/A N/A 
    A layer whose weights are initialized, and optionally fixed,
    based on prior training.

    Parameters
    ----------
    layer_content : Model
        Should implement "upward_pass" (RBM and Autoencoder do this)
    freeze_params: bool
        If True, regard layer_conent's parameters as fixed
        If False, they become parameters of this layer and can be
        fine-tuned to optimize the MLP's cost function.
     __init__ N/A N/A self layer_name layer_content freeze_params N/A False N/A N/A N/A N/A N/A super PretrainedLayer self __init__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A set_input_space N/A N/A self space N/A N/A N/A N/A N/A N/A self get_input_space space N/A N/A wraps N/A Layer set_input_space get_params N/A N/A self N/A N/A N/A N/A self freeze_params N/A N/A N/A N/A N/A N/A N/A self layer_content get_params N/A N/A wraps N/A Layer get_params get_input_space N/A N/A self N/A N/A N/A N/A N/A N/A self layer_content get_input_space N/A N/A wraps N/A Layer get_input_space get_output_space N/A N/A self N/A N/A N/A N/A N/A N/A self layer_content get_output_space N/A N/A wraps N/A Layer get_output_space get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A N/A OrderedDict N/A N/A N/A wraps N/A Layer get_layer_monitoring_channels fprop N/A N/A self state_below N/A N/A N/A N/A N/A N/A self layer_content upward_pass state_below N/A N/A wraps N/A Layer fprop N/A CompositeLayer N/A Layer N/A N/A 
    A Layer that runs several layers in parallel. Its default behavior
    is to pass the layer's input to each of the components.
    Alternatively, it can take a CompositeSpace as an input and a mapping
    from inputs to layers i.e. providing each component layer with a
    subset of the inputs.

    Parameters
    ----------
    layer_name : str
        The name of this layer
    layers : tuple or list
        The component layers to run in parallel.
    inputs_to_layers : dict mapping int to list of ints, optional
        Can only be used if the input space is a CompositeSpace.
        If inputs_to_layers[i] contains j, it means input i will
        be given as input to component j. Note that if multiple inputs are
        passed on to e.g. an inner CompositeLayer, the same order will
        be maintained. If the list is empty, the input will be discarded.
        If an input does not appear in the dictionary, it will be given to
        all components.

    Examples
    --------
    >>> composite_layer = CompositeLayer(
    ...     layer_name='composite_layer',
    ...     layers=[Tanh(7, 'h0', 0.1), Sigmoid(5, 'h1', 0.1)],
    ...     inputs_to_layers={
    ...         0: [1],
    ...         1: [0]
    ...     })

    This CompositeLayer has a CompositeSpace with 2 subspaces as its
    input space. The first input is given to the Sigmoid layer, the second
    input is given to the Tanh layer.

    >>> wrapper_layer = CompositeLayer(
    ...     layer_name='wrapper_layer',
    ...     layers=[Linear(9, 'h2', 0.1),
    ...             composite_layer,
    ...             Tanh(7, 'h3', 0.1)],
    ...     inputs_to_layers={
    ...         0: [1],
    ...         2: []
    ...     })

    This CompositeLayer takes 3 inputs. The first one is given to the
    inner CompositeLayer. The second input is passed on to each component
    layer i.e. to the Tanh, Linear as well as CompositeLayer. The third
    input is discarded. Note that the inner CompositeLayer wil receive
    the inputs with the same ordering i.e. [0, 1], and never [1, 0].
     __init__ N/A N/A self layer_name layers inputs_to_layers N/A None N/A N/A N/A self num_layers N/A len layers N/A N/A inputs_to_layers None N/A N/A N/A N/A isinstance inputs_to_layers dict N/A N/A N/A TypeError N/A CompositeLayer expected inputs_to_layers to be dict, got  N/A str N/A type inputs_to_layers N/A N/A self inputs_to_layers N/A OrderedDict N/A key N/A sorted inputs_to_layers N/A N/A N/A isinstance key py_integer_types N/A value N/A inputs_to_layers N/A key N/A N/A is_iterable value N/A N/A all N/A N/A isinstance v py_integer_types N/A v value N/A N/A N/A value N/A all N/A N/A 0 v N/A self num_layers N/A v value N/A N/A N/A self inputs_to_layers N/A key N/A sorted value N/A N/A N/A N/A super CompositeLayer self __init__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A routing_needed N/A N/A self N/A N/A N/A N/A N/A self inputs_to_layers None N/A property set_input_space N/A N/A self space N/A N/A N/A N/A N/A isinstance space CompositeSpace N/A N/A N/A N/A self inputs_to_layers None N/A N/A N/A ValueError N/A N/A CompositeLayer received an inputs_to_layers mapping, but does not have a CompositeSpace as its input space, so there is nothing to map. Received  N/A str space  as input space. N/A N/A N/A self routing_needed N/A N/A N/A N/A N/A max N/A self inputs_to_layers N/A len N/A space components N/A N/A N/A ValueError N/A N/A N/A N/A The inputs_to_layers mapping of CompositeSpace contains they key  N/A str N/A max N/A self inputs_to_layers  (0-based) but the input space only contains  N/A str N/A self num_layers  layers. N/A N/A self layers_to_inputs N/A OrderedDict N/A i N/A xrange N/A self num_layers N/A N/A inputs N/A N/A j N/A xrange N/A len N/A space components N/A N/A N/A j N/A self inputs_to_layers N/A N/A N/A i N/A N/A self inputs_to_layers N/A j N/A N/A N/A N/A inputs append j N/A N/A N/A N/A inputs append j N/A N/A N/A self layers_to_inputs N/A i inputs N/A N/A i layer N/A enumerate N/A self layers N/A N/A N/A N/A self routing_needed N/A i N/A self layers_to_inputs N/A N/A cur_space N/A N/A space restrict N/A N/A self layers_to_inputs N/A i N/A N/A cur_space space N/A N/A N/A layer set_input_space cur_space N/A N/A self input_space space N/A N/A self output_space N/A CompositeSpace N/A tuple N/A N/A N/A layer get_output_space N/A layer N/A self layers N/A N/A self _target_space N/A CompositeSpace N/A tuple N/A N/A N/A layer get_target_space N/A layer N/A self layers N/A N/A wraps N/A Layer set_input_space get_params N/A N/A self N/A N/A N/A rval N/A N/A layer N/A self layers N/A N/A rval N/A safe_union N/A N/A layer get_params rval N/A rval N/A N/A wraps N/A Layer get_params fprop N/A N/A self state_below N/A N/A N/A rvals N/A N/A N/A i layer N/A enumerate N/A self layers N/A N/A N/A N/A self routing_needed N/A i N/A self layers_to_inputs N/A N/A cur_state_below N/A N/A state_below N/A j N/A j N/A N/A self layers_to_inputs N/A i N/A N/A N/A len cur_state_below 1 N/A N/A N/A cur_state_below cur_state_below N/A N/A cur_state_below state_below N/A N/A N/A rvals append N/A N/A layer fprop cur_state_below N/A N/A tuple rvals N/A N/A wraps N/A Layer fprop _weight_decay_aggregate N/A N/A self method_name coeff N/A N/A N/A N/A isinstance coeff py_float_types N/A N/A N/A N/A T sum N/A N/A N/A getattr layer method_name coeff N/A layer N/A self layers N/A N/A N/A is_iterable coeff N/A N/A N/A all N/A N/A layer_coeff 0 N/A layer_coeff coeff N/A N/A N/A T sum N/A N/A N/A getattr layer method_name layer_coeff N/A N/A layer layer_coeff N/A safe_zip N/A self layers coeff N/A layer_coeff 0 dtype N/A config floatX N/A N/A N/A TypeError N/A N/A N/A N/A CompositeLayer's  method_name  received coefficients of type  N/A str N/A type coeff  but must be provided with a float or list/tuple N/A get_weight_decay N/A N/A self coeff N/A N/A N/A 
        Provides an expression for a squared L2 penalty on the weights,
        which is the weighted sum of the squared L2 penalties of the layer
        components.

        Parameters
        ----------
        coeff : float or tuple/list
            The coefficient on the squared L2 weight decay penalty for
            this layer. If a single value is provided, this coefficient is
            used for each component layer. If a list of tuple of
            coefficients is given they are passed on to the component
            layers in the given order.

        Returns
        -------
        weight_decay : theano.gof.Variable
            An expression for the squared L2 weight decay penalty term for
            this layer.
         N/A N/A N/A self _weight_decay_aggregate get_weight_decay coeff N/A get_l1_weight_decay N/A N/A self coeff N/A N/A N/A 
        Provides an expression for a squared L1 penalty on the weights,
        which is the weighted sum of the squared L1 penalties of the layer
        components.

        Parameters
        ----------
        coeff : float or tuple/list
            The coefficient on the L1 weight decay penalty for this layer.
            If a single value is provided, this coefficient is used for
            each component layer. If a list of tuple of coefficients is
            given they are passed on to the component layers in the
            given order.

        Returns
        -------
        weight_decay : theano.gof.Variable
            An expression for the L1 weight decay penalty term for this
            layer.
         N/A N/A N/A self _weight_decay_aggregate get_l1_weight_decay coeff N/A cost N/A N/A self Y Y_hat N/A N/A N/A N/A sum N/A N/A N/A layer cost Y_elem Y_hat_elem N/A N/A layer Y_elem Y_hat_elem N/A safe_zip N/A self layers Y Y_hat N/A N/A wraps N/A Layer cost set_mlp N/A N/A self mlp N/A N/A N/A N/A N/A N/A super CompositeLayer self set_mlp mlp N/A layer N/A self layers N/A N/A N/A N/A layer set_mlp mlp N/A N/A wraps N/A Layer set_mlp get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A rval N/A OrderedDict N/A N/A i layer N/A enumerate N/A self layers N/A N/A N/A N/A self routing_needed N/A i N/A self layers_to_inputs N/A N/A cur_state_below N/A N/A state_below N/A j N/A j N/A N/A self layers_to_inputs N/A i N/A N/A N/A len cur_state_below 1 N/A N/A N/A cur_state_below cur_state_below N/A N/A cur_state_below state_below N/A N/A state None N/A N/A cur_state N/A state N/A i N/A N/A cur_state None N/A N/A targets None N/A N/A cur_targets N/A targets N/A i N/A N/A cur_targets None N/A d N/A N/A layer get_layer_monitoring_channels cur_state_below cur_state cur_targets N/A key d N/A N/A N/A rval N/A N/A N/A N/A layer layer_name _ key N/A d N/A key N/A rval N/A N/A wraps N/A Layer get_layer_monitoring_channels _modify_updates N/A N/A self updates N/A N/A N/A layer N/A self layers N/A N/A N/A N/A layer modify_updates updates N/A N/A wraps N/A Model _modify_updates get_lr_scalers N/A N/A self N/A N/A N/A N/A get_lr_scalers_from_layers self N/A N/A wraps N/A Layer get_lr_scalers N/A FlattenerLayer N/A Layer N/A N/A 
    A wrapper around a different layer that flattens
    the original layer's output.

    The cost works by unflattening the target and then
    calling the wrapped Layer's cost.

    This is mostly intended for use with CompositeLayer as the wrapped
    Layer, and is mostly useful as a workaround for theano not having
    a TupleVariable with which to represent a composite target.

    There are obvious memory, performance, and readability issues with doing
    this, so really it would be better for theano to support TupleTypes.

    See pylearn2.sandbox.tuple_var and the theano-dev e-mail thread
    "TupleType".

    Parameters
    ----------
    raw_layer : Layer
        Layer that FlattenerLayer wraps.
     __init__ N/A N/A self raw_layer N/A N/A N/A N/A N/A N/A super FlattenerLayer self __init__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A N/A self layer_name N/A raw_layer layer_name N/A set_input_space N/A N/A self space N/A N/A N/A N/A N/A N/A self raw_layer set_input_space space N/A total_dim N/A N/A N/A N/A N/A self raw_layer get_output_space get_total_dimension N/A N/A self output_space N/A VectorSpace total_dim N/A N/A wraps N/A Layer set_input_space get_input_space N/A N/A self N/A N/A N/A N/A N/A N/A self raw_layer get_input_space N/A N/A wraps N/A Layer get_input_space get_monitoring_channels N/A N/A self data N/A N/A N/A N/A N/A N/A self raw_layer get_monitoring_channels data N/A N/A wraps N/A Layer get_monitoring_channels get_layer_monitoring_channels N/A N/A self state_below state targets N/A None None None N/A N/A raw_space N/A N/A N/A self raw_layer get_output_space N/A state N/A N/A raw_space undo_format_as state N/A N/A self get_output_space N/A N/A targets None N/A N/A targets N/A N/A N/A N/A self get_target_space format_as targets N/A N/A N/A self raw_layer get_target_space N/A N/A N/A N/A self raw_layer get_layer_monitoring_channels state_below state_below state state targets targets N/A N/A wraps N/A Layer get_layer_monitoring_channels get_monitoring_data_specs N/A N/A self N/A N/A N/A N/A N/A N/A self raw_layer get_monitoring_data_specs N/A N/A wraps N/A Layer get_monitoring_data_specs get_params N/A N/A self N/A N/A N/A N/A N/A N/A self raw_layer get_params N/A N/A wraps N/A Layer get_params get_weights N/A N/A self N/A N/A N/A N/A N/A N/A self raw_layer get_weights N/A N/A wraps N/A Layer get_weights get_weight_decay N/A N/A self coeffs N/A N/A N/A N/A N/A N/A self raw_layer get_weight_decay coeffs N/A N/A wraps N/A Layer get_weight_decay get_l1_weight_decay N/A N/A self coeffs N/A N/A N/A N/A N/A N/A self raw_layer get_l1_weight_decay coeffs N/A N/A wraps N/A Layer get_l1_weight_decay set_batch_size N/A N/A self batch_size N/A N/A N/A N/A N/A N/A self raw_layer set_batch_size batch_size N/A N/A wraps N/A Layer set_batch_size _modify_updates N/A N/A self updates N/A N/A N/A N/A N/A N/A self raw_layer modify_updates updates N/A N/A wraps N/A Layer _modify_updates get_lr_scalers N/A N/A self N/A N/A N/A N/A N/A N/A self raw_layer get_lr_scalers N/A N/A wraps N/A Layer get_lr_scalers fprop N/A N/A self state_below N/A N/A N/A raw N/A N/A N/A self raw_layer fprop state_below N/A N/A N/A N/A N/A N/A self raw_layer get_output_space format_as raw N/A self output_space N/A N/A wraps N/A Layer fprop cost N/A N/A self Y Y_hat N/A N/A N/A raw_space N/A N/A N/A self raw_layer get_output_space N/A target_space N/A self output_space N/A raw_Y N/A N/A target_space format_as Y raw_space N/A raw_Y_hat N/A N/A raw_space undo_format_as Y_hat target_space N/A N/A N/A raw_space validate raw_Y_hat N/A N/A N/A N/A self raw_layer cost raw_Y raw_Y_hat N/A N/A wraps N/A Layer cost set_mlp N/A N/A self mlp N/A N/A N/A N/A N/A N/A super FlattenerLayer self set_mlp mlp N/A N/A N/A N/A self raw_layer set_mlp mlp N/A N/A wraps N/A Layer set_mlp N/A WindowLayer N/A Layer N/A N/A 
    Layer used to select a window of an image input.
    The input of the layer must be Conv2DSpace.

    Parameters
    ----------
    layer_name : str
        A name for this layer.
    window : tuple
        A four-tuple of ints indicating respectively
        the top left x and y position, and
        the bottom right x and y position of the window.
     __init__ N/A N/A self layer_name window N/A N/A N/A N/A N/A N/A super WindowLayer self __init__ N/A N/A N/A N/A self __dict__ update N/A locals N/A N/A self self N/A N/A N/A N/A window N/A 0 0 N/A N/A window N/A 0 N/A window N/A 2 N/A N/A window N/A 1 0 N/A N/A window N/A 1 N/A window N/A 3 N/A N/A N/A ValueError WindowLayer: bad window parameter N/A fprop N/A N/A self state_below N/A N/A N/A extracts N/A N/A slice None N/A slice None N/A slice None N/A slice None N/A N/A extracts N/A N/A self rows N/A slice N/A N/A self window N/A 0 N/A N/A N/A self window N/A 2 1 N/A N/A extracts N/A N/A self cols N/A slice N/A N/A self window N/A 1 N/A N/A N/A self window N/A 3 1 N/A extracts N/A tuple extracts N/A N/A state_below N/A extracts N/A N/A wraps N/A Layer fprop set_input_space N/A N/A self space N/A N/A N/A N/A self input_space space N/A N/A N/A isinstance space Conv2DSpace N/A N/A N/A TypeError N/A N/A N/A The input to a Window layer should be a Conv2DSpace,  but layer  N/A self layer_name  got  N/A str N/A type N/A self input_space N/A axes N/A space axes N/A N/A self rows N/A N/A axes index 0 N/A N/A self cols N/A N/A axes index 1 N/A nrows N/A N/A space shape N/A 0 N/A ncols N/A N/A space shape N/A 1 N/A N/A N/A N/A N/A N/A self window N/A 2 1 nrows N/A N/A N/A N/A self window N/A 3 1 ncols N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A WindowLayer: bad window shape. Input is [ N/A str nrows ,  N/A str ncols ], but layer  N/A self layer_name  has window  N/A str N/A self window N/A N/A self output_space N/A Conv2DSpace shape N/A N/A N/A N/A N/A self window N/A 2 N/A N/A self window N/A 0 1 N/A N/A N/A N/A self window N/A 3 N/A N/A self window N/A 1 1 num_channels N/A space num_channels axes axes N/A N/A wraps N/A Layer set_input_space get_params N/A N/A self N/A N/A N/A N/A N/A N/A wraps N/A Layer get_params get_monitoring_channels N/A N/A self N/A N/A N/A N/A N/A N/A wraps N/A Layer get_monitoring_channels N/A generate_dropout_mask N/A N/A mlp default_include_prob input_include_probs rng N/A 0.5 None N/A 2013 5 17 N/A N/A 
    Generate a dropout mask (as an integer) given inclusion
    probabilities.

    Parameters
    ----------
    mlp : object
        An MLP object.
    default_include_prob : float, optional
        The probability of including an input to a hidden
        layer, for layers not listed in `input_include_probs`.
        Default is 0.5.
    input_include_probs : dict, optional
        A dictionary  mapping layer names to probabilities
        of input inclusion for that layer. Default is `None`,
        in which `default_include_prob` is used for all
        layers.
    rng : RandomState object or seed, optional
        A `numpy.random.RandomState` object or a seed used to
        create one.

    Returns
    -------
    mask : int
        An integer indexing a dropout mask for the network,
        drawn with the appropriate probability given the
        inclusion probabilities.
     N/A N/A input_include_probs None N/A N/A input_include_probs N/A N/A N/A N/A hasattr rng uniform N/A N/A rng N/A N/A N/A np random RandomState rng N/A total_units 0 N/A mask 0 N/A layer N/A mlp layers N/A N/A N/A N/A layer layer_name input_include_probs N/A N/A p N/A input_include_probs N/A N/A layer layer_name N/A N/A p default_include_prob N/A _ N/A xrange N/A N/A N/A N/A layer get_input_space get_total_dimension N/A N/A mask N/A N/A int N/A N/A N/A rng uniform p total_units N/A total_units 1 N/A mask N/A sampled_dropout_average N/A N/A mlp inputs num_masks default_input_include_prob input_include_probs default_input_scale input_scales rng per_example N/A 0.5 None 2.0 None N/A 2013 5 17 False N/A N/A 
    Take the geometric mean over a number of randomly sampled
    dropout masks for an MLP with softmax outputs.

    Parameters
    ----------
    mlp : object
        An MLP object.
    inputs : tensor_like
        A Theano variable representing a minibatch appropriate
        for fpropping through the MLP.
    num_masks : int
        The number of masks to sample.
    default_input_include_prob : float, optional
        The probability of including an input to a hidden
        layer, for layers not listed in `input_include_probs`.
        Default is 0.5.
    input_include_probs : dict, optional
        A dictionary  mapping layer names to probabilities
        of input inclusion for that layer. Default is `None`,
        in which `default_include_prob` is used for all
        layers.
    default_input_scale : float, optional
        The amount to scale input in dropped out layers.
    input_scales : dict, optional
        A dictionary  mapping layer names to constants by
        which to scale the input.
    rng : RandomState object or seed, optional
        A `numpy.random.RandomState` object or a seed used to
        create one.
    per_example : bool, optional
        If `True`, generate a different mask for every single
        test example, so you have `num_masks` per example
        instead of `num_mask` networks total. If `False`,
        `num_masks` masks are fixed in the graph.

    Returns
    -------
    geo_mean : tensor_like
        A symbolic graph for the geometric mean prediction of
        all the networks.
     N/A N/A input_include_probs None N/A N/A input_include_probs N/A N/A N/A input_scales None N/A N/A input_scales N/A N/A N/A N/A hasattr rng uniform N/A N/A rng N/A N/A N/A np random RandomState rng N/A N/A N/A mlp _validate_layer_names N/A list N/A N/A input_include_probs keys N/A N/A N/A mlp _validate_layer_names N/A list N/A N/A input_scales keys N/A per_example N/A N/A outputs N/A N/A N/A mlp dropout_fprop inputs default_input_include_prob input_include_probs default_input_scale input_scales N/A _ N/A xrange num_masks N/A N/A masks N/A N/A generate_dropout_mask mlp default_input_include_prob input_include_probs rng N/A _ N/A xrange num_masks N/A outputs N/A N/A N/A mlp masked_fprop inputs mask None default_input_scale input_scales N/A mask masks N/A N/A geometric_mean_prediction outputs N/A exhaustive_dropout_average N/A N/A mlp inputs masked_input_layers default_input_scale input_scales N/A None 2.0 None N/A N/A 
    Take the geometric mean over all dropout masks of an
    MLP with softmax outputs.

    Parameters
    ----------
    mlp : object
        An MLP object.
    inputs : tensor_like
        A Theano variable representing a minibatch appropriate
        for fpropping through the MLP.
    masked_input_layers : list, optional
        A list of layer names whose input should be masked.
        Default is all layers (including the first hidden
        layer, i.e. mask the input).
    default_input_scale : float, optional
        The amount to scale input in dropped out layers.
    input_scales : dict, optional
        A dictionary  mapping layer names to constants by
        which to scale the input.

    Returns
    -------
    geo_mean : tensor_like
        A symbolic graph for the geometric mean prediction
        of all exponentially many masked subnetworks.

    Notes
    -----
    This is obviously exponential in the size of the network,
    don't do this except for tiny toy networks.
     N/A N/A masked_input_layers None N/A N/A masked_input_layers N/A mlp layer_names N/A N/A N/A mlp _validate_layer_names masked_input_layers N/A N/A input_scales None N/A N/A input_scales N/A N/A N/A N/A mlp _validate_layer_names N/A N/A input_scales keys N/A N/A any N/A N/A key masked_input_layers N/A key input_scales N/A N/A not_in N/A key N/A key input_scales N/A key N/A mlp layer_names N/A N/A ValueError N/A N/A N/A ,  join not_in  in input_scales but not masked N/A num_inputs N/A N/A mlp get_total_input_dimension masked_input_layers N/A outputs N/A N/A N/A mlp masked_fprop inputs mask masked_input_layers default_input_scale input_scales N/A mask N/A xrange N/A 2 num_inputs N/A N/A geometric_mean_prediction outputs N/A geometric_mean_prediction N/A N/A forward_props N/A N/A N/A 
    Take the geometric mean over all dropout masks of an
    MLP with softmax outputs.

    Parameters
    ----------
    forward_props : list
        A list of Theano graphs corresponding to forward
        propagations through the network with different
        dropout masks.

    Returns
    -------
    geo_mean : tensor_like
        A symbolic graph for the geometric mean prediction
        of all exponentially many masked subnetworks.

    Notes
    -----
    This is obviously exponential in the size of the network,
    don't do this except for tiny toy networks.
     N/A presoftmax N/A N/A out forward_props N/A N/A N/A isinstance N/A N/A out owner op N/A N/A T nnet Softmax N/A N/A N/A len N/A N/A out owner inputs 1 N/A N/A N/A presoftmax append N/A N/A N/A out owner inputs N/A 0 N/A average N/A N/A reduce N/A operator add presoftmax N/A float N/A len presoftmax N/A N/A N/A N/A T nnet softmax average N/A BadInputSpaceError N/A TypeError N/A N/A 
    An error raised by an MLP layer when set_input_space is given an
    object that is not one of the Spaces that layer supports.
     N/A get_lr_scalers_from_layers N/A N/A owner N/A N/A N/A 
    Get the learning rate scalers for all member layers of
    `owner`.

    Parameters
    ----------
    owner : Model
        Any Model with a `layers` field

    Returns
    -------
    lr_scalers : OrderedDict
        A dictionary mapping parameters of `owner` to learning
        rate scalers.
     N/A rval N/A OrderedDict N/A params N/A N/A owner get_params N/A layer N/A owner layers N/A N/A contrib N/A N/A layer get_lr_scalers N/A N/A isinstance contrib OrderedDict N/A N/A N/A any N/A N/A key rval N/A key contrib N/A N/A all N/A N/A key params N/A key contrib N/A N/A N/A rval update contrib N/A N/A all N/A N/A isinstance val float N/A val N/A N/A rval values N/A rval N/A