Module ImportFrom alias ImportFrom alias Import alias identifier Import alias Import alias Import alias identifier Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num keyword NameLoad Return BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad If CompareLtLt Num AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareLtLt Num AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Str Assign TupleStore NameStore NameStore TupleLoad Num NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareLt NameLoad Num body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Raise Call NameLoad Str orelse AugAssignMult NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body If BoolOpOr CompareEq NameLoad Num CompareNotEq BinOpMod NameLoad NameLoad Num body Raise Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpFloorDiv NameLoad NameLoad orelse If CompareNotEq NameLoad NameLoad body Raise Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd TupleLoad SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIn Num NameLoad body Assign NameStore NameLoad If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad BinOpAdd TupleLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index BinOpAdd NameLoad Num NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad BinOpAdd TupleLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Slice Num body Raise Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Slice Num Str Return TupleLoad SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Dict kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn Call NameLoad NameLoad Set NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Str body If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr keyword NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs Call NameLoad NameLoad NameLoad body Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad orelse If CompareIn Call NameLoad AttributeLoad NameLoad attr Set NameLoad NameLoad body Assign NameStore IfExp NameLoad SubscriptLoad NameLoad Index Num NameLoad Return BinOpAdd TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotIn Call NameLoad NameLoad Set NameLoad NameLoad body Raise Call NameLoad Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Str orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Str orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str orelse If Call NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Assign NameStore SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad orelse Raise Call NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Assign NameStore SubscriptLoad Call NameLoad Index SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Num If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Call AttributeLoad NameLoad attr keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num Return TupleLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num Num kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr 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 defaults Num Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Call AttributeLoad NameLoad attr keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num Return TupleLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr 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 defaults Str Num Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Call AttributeLoad NameLoad attr keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignMult NameStore NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult BinOpSub Num NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr 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 defaults Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword Call AttributeLoad NameLoad attr keyword BinOpAdd TupleLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot NameLoad body If Call NameLoad NameLoad Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num If UnaryOpNot NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import __future__ division N/A numpy np N/A copy N/A inspect N/A types python_types N/A marshal N/A sys N/A warnings N/A backend K N/A activations initializations regularizers constraints engine InputSpec Layer Merge regularizers ActivityRegularizer Masking N/A Layer N/A N/A Masks an input sequence by using a mask value to
    identify timesteps to be skipped.

    For each timestep in the input tensor (dimension #1 in the tensor),
    if all values in the input tensor at that timestep
    are equal to `mask_value`, then the timestep will masked (skipped)
    in all downstream layers (as long as they support masking).

    If any downstream layer does not support masking yet receives such
    an input mask, an exception will be raised.

    # Example

    Consider a Numpy data array `x` of shape `(samples, timesteps, features)`,
    to be fed to a LSTM layer.
    You want to mask timestep #3 and #5 because you lack data for
    these timesteps. You can:

        - set `x[:, 3, :] = 0.` and `x[:, 5, :] = 0.`
        - insert a `Masking` layer with `mask_value=0.` before the LSTM layer:

    ```python
        model = Sequential()
        model.add(Masking(mask_value=0., input_shape=(timesteps, features)))
        model.add(LSTM(32))
    ```
     __init__ N/A N/A self mask_value N/A 0.0 kwargs N/A N/A N/A self supports_masking True N/A N/A self mask_value mask_value N/A N/A N/A N/A super Masking self __init__ kwargs N/A compute_mask N/A N/A self input input_mask N/A None N/A N/A N/A N/A K any N/A N/A K not_equal input N/A self mask_value axis -1 N/A call N/A N/A self x mask N/A None N/A N/A boolean_mask N/A N/A K any N/A N/A K not_equal x N/A self mask_value axis -1 keepdims True N/A N/A x N/A N/A K cast boolean_mask N/A N/A K floatx N/A get_config N/A N/A self N/A N/A N/A config N/A mask_value N/A self mask_value N/A base_config N/A N/A N/A super Masking self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Dropout N/A Layer N/A N/A Applies Dropout to the input. Dropout consists in randomly setting
    a fraction `p` of input units to 0 at each update during training time,
    which helps prevent overfitting.

    # Arguments
        p: float between 0 and 1. Fraction of the input units to drop.

    # References
        - [Dropout: A Simple Way to Prevent Neural Networks from Overfitting](http://www.cs.toronto.edu/~rsalakhu/papers/srivastava14a.pdf)
     __init__ N/A N/A self p N/A kwargs N/A N/A N/A self p p N/A N/A 0.0 N/A self p 1.0 N/A N/A N/A self uses_learning_phase True N/A N/A self supports_masking True N/A N/A N/A N/A super Dropout self __init__ kwargs N/A call N/A N/A self x mask N/A None N/A N/A N/A 0.0 N/A self p 1.0 N/A N/A x N/A N/A K in_train_phase N/A N/A K dropout x level N/A self p x N/A x N/A get_config N/A N/A self N/A N/A N/A config N/A p N/A self p N/A base_config N/A N/A N/A super Dropout self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Activation N/A Layer N/A N/A Applies an activation function to an output.

    # Arguments
        activation: name of activation function to use
            (see: [activations](../activations.md)),
            or alternatively, a Theano or TensorFlow operation.

    # Input shape
        Arbitrary. Use the keyword argument `input_shape`
        (tuple of integers, does not include the samples axis)
        when using this layer as the first layer in a model.

    # Output shape
        Same shape as input.
     __init__ N/A N/A self activation N/A kwargs N/A N/A N/A self supports_masking True N/A N/A self activation N/A N/A activations get activation N/A N/A N/A N/A super Activation self __init__ kwargs N/A call N/A N/A self x mask N/A None N/A N/A N/A N/A self activation x N/A get_config N/A N/A self N/A N/A N/A config N/A activation N/A N/A self activation __name__ N/A base_config N/A N/A N/A super Activation self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Reshape N/A Layer N/A N/A Reshapes an output to a certain shape.

    # Arguments
        target_shape: target shape. Tuple of integers,
            does not include the samples dimension (batch size).

    # Input shape
        Arbitrary, although all dimensions in the input shaped must be fixed.
        Use the keyword argument `input_shape`
        (tuple of integers, does not include the samples axis)
        when using this layer as the first layer in a model.

    # Output shape
        `(batch_size,) + target_shape`

    # Example

    ```python
        # as first layer in a Sequential model
        model = Sequential()
        model.add(Reshape((3, 4), input_shape=(12,)))
        # now: model.output_shape == (None, 3, 4)
        # note: `None` is the batch dimension

        # as intermediate layer in a Sequential model
        model.add(Reshape((6, 2)))
        # now: model.output_shape == (None, 6, 2)
    ```
     __init__ N/A N/A self target_shape N/A kwargs N/A N/A N/A N/A N/A super Reshape self __init__ kwargs N/A N/A self target_shape N/A tuple target_shape N/A _fix_unknown_dimension N/A N/A self input_shape output_shape N/A N/A N/A Find and replace a single missing dimension in an output shape
        given an input shape.

        A near direct port of the internal numpy function _fix_unknown_dimension
        in numpy/core/src/multiarray/shape.c

        # Arguments
            input_shape: shape of array being reshaped

            output_shape: desired shape of the array with at most
                a single -1 which indicates a dimension that should be
                derived from the input shape.

        # Returns
            The new output shape with a -1 replaced with its computed value.

            Raises a ValueError if the total array size of the output_shape is
            different then the input_shape, or more then one unknown dimension
            is specified.
         N/A output_shape N/A list output_shape N/A msg total size of new array must be unchanged N/A N/A known unknown N/A 1 None N/A N/A index dim N/A enumerate output_shape N/A N/A N/A dim 0 N/A N/A N/A unknown None N/A N/A unknown index N/A N/A N/A ValueError can only specify one unknown dimension N/A N/A known dim N/A original N/A N/A np prod input_shape dtype int N/A N/A unknown None N/A N/A N/A N/A known 0 N/A N/A original known 0 N/A N/A N/A ValueError msg N/A N/A output_shape N/A unknown N/A original known N/A N/A N/A original known N/A N/A N/A ValueError msg N/A N/A tuple output_shape N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A N/A N/A input_shape N/A 0 N/A N/A self _fix_unknown_dimension N/A input_shape N/A 1 N/A self target_shape N/A call N/A N/A self x mask N/A None N/A N/A target_shape N/A self target_shape N/A N/A -1 target_shape N/A N/A input_shape None N/A N/A hasattr x _keras_shape N/A N/A input_shape N/A x _keras_shape N/A N/A N/A hasattr K int_shape N/A N/A input_shape N/A N/A K int_shape x N/A N/A input_shape None N/A N/A target_shape N/A N/A self get_output_shape_for input_shape N/A N/A N/A K reshape x N/A N/A -1 target_shape N/A get_config N/A N/A self N/A N/A N/A config N/A target_shape N/A self target_shape N/A base_config N/A N/A N/A super Reshape self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Permute N/A Layer N/A N/A Permutes the dimensions of the input according to a given pattern.

    Useful for e.g. connecting RNNs and convnets together.

    # Example

    ```python
        model = Sequential()
        model.add(Permute((2, 1), input_shape=(10, 64)))
        # now: model.output_shape == (None, 64, 10)
        # note: `None` is the batch dimension
    ```

    # Arguments
        dims: Tuple of integers. Permutation pattern, does not include the
            samples dimension. Indexing starts at 1.
            For instance, `(2, 1)` permutes the first and second dimension
            of the input.

    # Input shape
        Arbitrary. Use the keyword argument `input_shape`
        (tuple of integers, does not include the samples axis)
        when using this layer as the first layer in a model.

    # Output shape
        Same as the input shape, but with the dimensions re-ordered according
        to the specified pattern.
     __init__ N/A N/A self dims N/A kwargs N/A N/A N/A self dims N/A tuple dims N/A N/A N/A N/A super Permute self __init__ kwargs N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A input_shape N/A list input_shape N/A output_shape N/A N/A copy copy input_shape N/A N/A i dim N/A enumerate N/A self dims N/A N/A target_dim N/A input_shape N/A dim N/A N/A output_shape N/A N/A i 1 target_dim N/A N/A tuple output_shape N/A call N/A N/A self x mask N/A None N/A N/A N/A N/A K permute_dimensions x N/A N/A 0 N/A self dims N/A get_config N/A N/A self N/A N/A N/A config N/A dims N/A self dims N/A base_config N/A N/A N/A super Permute self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Flatten N/A Layer N/A N/A Flattens the input. Does not affect the batch size.

    # Example

    ```python
        model = Sequential()
        model.add(Convolution2D(64, 3, 3, border_mode='same', input_shape=(3, 32, 32)))
        # now: model.output_shape == (None, 64, 32, 32)

        model.add(Flatten())
        # now: model.output_shape == (None, 65536)
    ```
     __init__ N/A N/A self N/A kwargs N/A N/A N/A self input_spec N/A N/A InputSpec ndim 3+ N/A N/A N/A N/A super Flatten self __init__ kwargs N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A N/A all N/A input_shape N/A 1 N/A N/A N/A Exception N/A N/A The shape of the input to "Flatten" is not fully defined (got  N/A str N/A input_shape N/A 1 . Make sure to pass a complete "input_shape" or "batch_input_shape" argument to the first layer in your model. N/A N/A N/A input_shape N/A 0 N/A N/A np prod N/A input_shape N/A 1 N/A call N/A N/A self x mask N/A None N/A N/A N/A N/A K batch_flatten x N/A N/A RepeatVector N/A Layer N/A N/A Repeats the input n times.

    # Example

    ```python
        model = Sequential()
        model.add(Dense(32, input_dim=32))
        # now: model.output_shape == (None, 32)
        # note: `None` is the batch dimension

        model.add(RepeatVector(3))
        # now: model.output_shape == (None, 3, 32)
    ```

    # Arguments
        n: integer, repetition factor.

    # Input shape
        2D tensor of shape `(nb_samples, features)`.

    # Output shape
        3D tensor of shape `(nb_samples, n, features)`.
     __init__ N/A N/A self n N/A kwargs N/A N/A N/A self n n N/A N/A self input_spec N/A N/A InputSpec ndim 2 N/A N/A N/A N/A super RepeatVector self __init__ kwargs N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A N/A input_shape N/A 0 N/A self n N/A input_shape N/A 1 N/A call N/A N/A self x mask N/A None N/A N/A N/A N/A K repeat x N/A self n N/A get_config N/A N/A self N/A N/A N/A config N/A n N/A self n N/A base_config N/A N/A N/A super RepeatVector self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Lambda N/A Layer N/A N/A Used for evaluating an arbitrary Theano / TensorFlow expression
    on the output of the previous layer.

    # Examples

    ```python
        # add a x -> x^2 layer
        model.add(Lambda(lambda x: x ** 2))
    ```
    ```python
        # add a layer that returns the concatenation
        # of the positive part of the input and
        # the opposite of the negative part

        def antirectifier(x):
            x -= K.mean(x, axis=1, keepdims=True)
            x = K.l2_normalize(x, axis=1)
            pos = K.relu(x)
            neg = K.relu(-x)
            return K.concatenate([pos, neg], axis=1)

        def antirectifier_output_shape(input_shape):
            shape = list(input_shape)
            assert len(shape) == 2  # only valid for 2D tensors
            shape[-1] *= 2
            return tuple(shape)

        model.add(Lambda(antirectifier, output_shape=antirectifier_output_shape))
    ```

    # Arguments
        function: The function to be evaluated.
            Takes one argument: the output of previous layer
        output_shape: Expected output shape from function.
            Could be a tuple or a function of the shape of the input
        arguments: optional dictionary of keyword arguments to be passed
            to the function.

    # Input shape
        Arbitrary. Use the keyword argument input_shape
        (tuple of integers, does not include the samples axis)
        when using this layer as the first layer in a model.

    # Output shape
        Specified by `output_shape` argument.
     __init__ N/A N/A self function output_shape arguments N/A None N/A kwargs N/A N/A N/A self function function N/A N/A self arguments arguments N/A N/A output_shape None N/A N/A N/A self _output_shape None N/A N/A N/A N/A type output_shape N/A tuple list N/A N/A N/A self _output_shape N/A tuple output_shape N/A N/A N/A N/A hasattr output_shape __call__ N/A N/A N/A Exception In Lambda, `output_shape` must be a list, a tuple, or a function. N/A N/A self _output_shape output_shape N/A N/A N/A N/A super Lambda self __init__ kwargs N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A N/A self _output_shape None N/A N/A N/A N/A K _BACKEND tensorflow N/A N/A N/A N/A type input_shape list N/A N/A xs N/A N/A N/A K placeholder shape shape N/A shape input_shape N/A x N/A N/A self call xs N/A N/A x N/A N/A K placeholder shape input_shape N/A x N/A N/A self call x N/A N/A N/A type x list N/A N/A N/A N/A N/A K int_shape x_elem N/A x_elem x N/A N/A N/A N/A K int_shape x N/A input_shape N/A N/A N/A N/A type N/A self _output_shape N/A tuple list N/A N/A nb_samples N/A input_shape N/A input_shape N/A 0 None N/A N/A N/A nb_samples N/A tuple N/A self _output_shape N/A N/A shape N/A N/A self _output_shape input_shape N/A N/A N/A type shape N/A list tuple N/A N/A N/A Exception output_shape function must return a tuple N/A N/A tuple shape N/A call N/A N/A self x mask N/A None N/A N/A arguments N/A self arguments N/A arg_spec N/A N/A inspect getargspec N/A self function N/A N/A mask N/A arg_spec args N/A N/A N/A arguments N/A mask mask N/A N/A N/A self function x arguments N/A get_config N/A N/A self N/A N/A N/A py3 N/A N/A N/A sys version_info N/A 0 3 N/A N/A isinstance N/A self function N/A python_types LambdaType N/A N/A py3 N/A N/A function N/A N/A N/A N/A marshal dumps N/A N/A self function __code__ decode raw_unicode_escape N/A N/A function N/A N/A N/A N/A marshal dumps N/A N/A self function func_code decode raw_unicode_escape N/A function_type lambda N/A N/A function N/A N/A self function __name__ N/A function_type function N/A N/A isinstance N/A self _output_shape N/A python_types LambdaType N/A N/A py3 N/A N/A output_shape N/A N/A marshal dumps N/A N/A self _output_shape __code__ N/A N/A output_shape N/A N/A marshal dumps N/A N/A self _output_shape func_code N/A output_shape_type lambda N/A N/A N/A callable N/A self _output_shape N/A N/A output_shape N/A N/A self _output_shape __name__ N/A output_shape_type function N/A N/A output_shape N/A self _output_shape N/A output_shape_type raw N/A config N/A function function_type output_shape output_shape_type arguments function function_type output_shape output_shape_type N/A self arguments N/A base_config N/A N/A N/A super Lambda self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A from_config N/A N/A cls config N/A N/A N/A function_type N/A N/A config pop function_type N/A N/A function_type function N/A N/A function N/A N/A globals N/A N/A config N/A function N/A N/A N/A function_type lambda N/A N/A function N/A N/A marshal loads N/A N/A N/A config N/A function encode raw_unicode_escape N/A function N/A N/A python_types FunctionType function N/A globals N/A N/A N/A Exception N/A Unknown function type:  function_type N/A output_shape_type N/A N/A config pop output_shape_type N/A N/A output_shape_type function N/A N/A output_shape N/A N/A globals N/A N/A config N/A output_shape N/A N/A N/A output_shape_type lambda N/A N/A output_shape N/A N/A marshal loads N/A config N/A output_shape N/A output_shape N/A N/A python_types FunctionType output_shape N/A globals N/A N/A output_shape N/A config N/A output_shape N/A N/A config N/A function function N/A N/A config N/A output_shape output_shape N/A N/A cls config N/A classmethod N/A Dense N/A Layer N/A N/A Just your regular fully connected NN layer.

    # Example

    ```python
        # as first layer in a sequential model:
        model = Sequential()
        model.add(Dense(32, input_dim=16))
        # now the model will take as input arrays of shape (*, 16)
        # and output arrays of shape (*, 32)

        # this is equivalent to the above:
        model = Sequential()
        model.add(Dense(32, input_shape=(16,)))

        # after the first layer, you don't need to specify
        # the size of the input anymore:
        model.add(Dense(32))
    ```

    # Arguments
        output_dim: int > 0.
        init: name of initialization function for the weights of the layer
            (see [initializations](../initializations.md)),
            or alternatively, Theano function to use for weights
            initialization. This parameter is only relevant
            if you don't pass a `weights` argument.
        activation: name of activation function to use
            (see [activations](../activations.md)),
            or alternatively, elementwise Theano function.
            If you don't specify anything, no activation is applied
            (ie. "linear" activation: a(x) = x).
        weights: list of numpy arrays to set as initial weights.
            The list should have 2 elements, of shape `(input_dim, output_dim)`
            and (output_dim,) for weights and biases respectively.
        W_regularizer: instance of [WeightRegularizer](../regularizers.md)
            (eg. L1 or L2 regularization), applied to the main weights matrix.
        b_regularizer: instance of [WeightRegularizer](../regularizers.md),
            applied to the bias.
        activity_regularizer: instance of [ActivityRegularizer](../regularizers.md),
            applied to the network output.
        W_constraint: instance of the [constraints](../constraints.md) module
            (eg. maxnorm, nonneg), applied to the main weights matrix.
        b_constraint: instance of the [constraints](../constraints.md) module,
            applied to the bias.
        bias: whether to include a bias (i.e. make the layer affine rather than linear).
        input_dim: dimensionality of the input (integer).
            This argument (or alternatively, the keyword argument `input_shape`)
            is required when using this layer as the first layer in a model.

    # Input shape
        2D tensor with shape: `(nb_samples, input_dim)`.

    # Output shape
        2D tensor with shape: `(nb_samples, output_dim)`.
     __init__ N/A N/A self output_dim init activation weights W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim N/A glorot_uniform linear None None None None None None True None kwargs N/A N/A N/A self init N/A N/A initializations get init N/A N/A self activation N/A N/A activations get activation N/A N/A self output_dim output_dim N/A N/A self input_dim input_dim N/A N/A self W_regularizer N/A N/A regularizers get W_regularizer N/A N/A self b_regularizer N/A N/A regularizers get b_regularizer N/A N/A self activity_regularizer N/A N/A regularizers get activity_regularizer N/A N/A self W_constraint N/A N/A constraints get W_constraint N/A N/A self b_constraint N/A N/A constraints get b_constraint N/A N/A self bias bias N/A N/A self initial_weights weights N/A N/A self input_spec N/A N/A InputSpec ndim 2 N/A N/A self input_dim N/A N/A N/A kwargs N/A input_shape N/A N/A self input_dim N/A N/A N/A N/A super Dense self __init__ kwargs N/A build N/A N/A self input_shape N/A N/A N/A N/A N/A len input_shape 2 N/A input_dim N/A input_shape N/A 1 N/A N/A self input_spec N/A N/A InputSpec dtype N/A N/A K floatx shape N/A None input_dim N/A N/A self W N/A N/A self init N/A input_dim N/A self output_dim name N/A N/A {}_W format N/A self name N/A N/A self bias N/A N/A N/A self b N/A N/A K zeros N/A N/A self output_dim name N/A N/A {}_b format N/A self name N/A N/A self trainable_weights N/A N/A self W N/A self b N/A N/A N/A self trainable_weights N/A N/A self W N/A N/A self regularizers N/A N/A N/A self W_regularizer N/A N/A N/A N/A N/A self W_regularizer set_param N/A self W N/A N/A N/A N/A self regularizers append N/A self W_regularizer N/A N/A N/A self bias N/A self b_regularizer N/A N/A N/A N/A N/A self b_regularizer set_param N/A self b N/A N/A N/A N/A self regularizers append N/A self b_regularizer N/A N/A self activity_regularizer N/A N/A N/A N/A N/A self activity_regularizer set_layer self N/A N/A N/A N/A self regularizers append N/A self activity_regularizer N/A N/A self constraints N/A N/A N/A self W_constraint N/A N/A N/A N/A self constraints N/A N/A self W N/A self W_constraint N/A N/A N/A self bias N/A self b_constraint N/A N/A N/A N/A self constraints N/A N/A self b N/A self b_constraint N/A N/A N/A self initial_weights None N/A N/A N/A N/A self set_weights N/A self initial_weights N/A N/A self initial_weights N/A call N/A N/A self x mask N/A None N/A N/A output N/A N/A K dot x N/A self W N/A N/A self bias N/A N/A output N/A self b N/A N/A N/A self activation output N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A input_shape N/A N/A len input_shape 2 N/A N/A N/A input_shape N/A 0 N/A self output_dim N/A get_config N/A N/A self N/A N/A N/A config N/A output_dim init activation W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim N/A self output_dim N/A N/A self init __name__ N/A N/A self activation __name__ N/A N/A self W_regularizer N/A N/A N/A self W_regularizer get_config None N/A N/A self b_regularizer N/A N/A N/A self b_regularizer get_config None N/A N/A self activity_regularizer N/A N/A N/A self activity_regularizer get_config None N/A N/A self W_constraint N/A N/A N/A self W_constraint get_config None N/A N/A self b_constraint N/A N/A N/A self b_constraint get_config None N/A self bias N/A self input_dim N/A base_config N/A N/A N/A super Dense self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A ActivityRegularization N/A Layer N/A N/A Layer that passes through its input unchanged, but applies an update
    to the cost function based on the activity.

    # Arguments
        l1: L1 regularization factor (positive float).
        l2: L2 regularization factor (positive float).

    # Input shape
        Arbitrary. Use the keyword argument `input_shape`
        (tuple of integers, does not include the samples axis)
        when using this layer as the first layer in a model.

    # Output shape
        Same shape as input.
     __init__ N/A N/A self l1 l2 N/A 0.0 0.0 kwargs N/A N/A N/A self supports_masking True N/A N/A self l1 l1 N/A N/A self l2 l2 N/A activity_regularizer N/A ActivityRegularizer l1 l1 l2 l2 N/A N/A N/A activity_regularizer set_layer self N/A N/A self regularizers N/A activity_regularizer N/A N/A N/A N/A super ActivityRegularization self __init__ kwargs N/A get_config N/A N/A self N/A N/A N/A config N/A l1 l2 N/A self l1 N/A self l2 N/A base_config N/A N/A N/A super ActivityRegularization self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A MaxoutDense N/A Layer N/A N/A A dense maxout layer.

    A `MaxoutDense` layer takes the element-wise maximum of
    `nb_feature` `Dense(input_dim, output_dim)` linear layers.
    This allows the layer to learn a convex,
    piecewise linear activation function over the inputs.

    Note that this is a *linear* layer;
    if you wish to apply activation function
    (you shouldn't need to --they are universal function approximators),
    an `Activation` layer must be added after.

    # Arguments
        output_dim: int > 0.
        nb_feature: number of Dense layers to use internally.
        init: name of initialization function for the weights of the layer
            (see [initializations](../initializations.md)),
            or alternatively, Theano function to use for weights
            initialization. This parameter is only relevant
            if you don't pass a `weights` argument.
        activation: name of activation function to use
            (see [activations](../activations.md)),
            or alternatively, elementwise Theano function.
            If you don't specify anything, no activation is applied
            (ie. "linear" activation: a(x) = x).
        weights: list of numpy arrays to set as initial weights.
            The list should have 2 elements, of shape `(input_dim, output_dim)`
            and (output_dim,) for weights and biases respectively.
        W_regularizer: instance of [WeightRegularizer](../regularizers.md)
            (eg. L1 or L2 regularization), applied to the main weights matrix.
        b_regularizer: instance of [WeightRegularizer](../regularizers.md),
            applied to the bias.
        activity_regularizer: instance of [ActivityRegularizer](../regularizers.md),
            applied to the network output.
        W_constraint: instance of the [constraints](../constraints.md) module
            (eg. maxnorm, nonneg), applied to the main weights matrix.
        b_constraint: instance of the [constraints](../constraints.md) module,
            applied to the bias.
        bias: whether to include a bias (i.e. make the layer affine rather than linear).
        input_dim: dimensionality of the input (integer).
            This argument (or alternatively, the keyword argument `input_shape`)
            is required when using this layer as the first layer in a model.

    # Input shape
        2D tensor with shape: `(nb_samples, input_dim)`.

    # Output shape
        2D tensor with shape: `(nb_samples, output_dim)`.

    # References
        - [Maxout Networks](http://arxiv.org/pdf/1302.4389.pdf)
     __init__ N/A N/A self output_dim nb_feature init weights W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim N/A 4 glorot_uniform None None None None None None True None kwargs N/A N/A N/A self output_dim output_dim N/A N/A self nb_feature nb_feature N/A N/A self init N/A N/A initializations get init N/A N/A self W_regularizer N/A N/A regularizers get W_regularizer N/A N/A self b_regularizer N/A N/A regularizers get b_regularizer N/A N/A self activity_regularizer N/A N/A regularizers get activity_regularizer N/A N/A self W_constraint N/A N/A constraints get W_constraint N/A N/A self b_constraint N/A N/A constraints get b_constraint N/A N/A self bias bias N/A N/A self initial_weights weights N/A N/A self input_spec N/A N/A InputSpec ndim 2 N/A N/A self input_dim input_dim N/A N/A self input_dim N/A N/A N/A kwargs N/A input_shape N/A N/A self input_dim N/A N/A N/A N/A super MaxoutDense self __init__ kwargs N/A build N/A N/A self input_shape N/A N/A N/A input_dim N/A input_shape N/A 1 N/A N/A self input_spec N/A N/A InputSpec dtype N/A N/A K floatx shape N/A None input_dim N/A N/A self W N/A N/A self init N/A N/A self nb_feature input_dim N/A self output_dim name N/A N/A {}_W format N/A self name N/A N/A self bias N/A N/A N/A self b N/A N/A K zeros N/A N/A self nb_feature N/A self output_dim name N/A N/A {}_b format N/A self name N/A N/A self trainable_weights N/A N/A self W N/A self b N/A N/A N/A self trainable_weights N/A N/A self W N/A N/A self regularizers N/A N/A N/A self W_regularizer N/A N/A N/A N/A N/A self W_regularizer set_param N/A self W N/A N/A N/A N/A self regularizers append N/A self W_regularizer N/A N/A N/A self bias N/A self b_regularizer N/A N/A N/A N/A N/A self b_regularizer set_param N/A self b N/A N/A N/A N/A self regularizers append N/A self b_regularizer N/A N/A self activity_regularizer N/A N/A N/A N/A N/A self activity_regularizer set_layer self N/A N/A N/A N/A self regularizers append N/A self activity_regularizer N/A N/A self constraints N/A N/A N/A self W_constraint N/A N/A N/A N/A self constraints N/A N/A self W N/A self W_constraint N/A N/A N/A self bias N/A self b_constraint N/A N/A N/A N/A self constraints N/A N/A self b N/A self b_constraint N/A N/A N/A self initial_weights None N/A N/A N/A N/A self set_weights N/A self initial_weights N/A N/A self initial_weights N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A input_shape N/A N/A len input_shape 2 N/A N/A N/A input_shape N/A 0 N/A self output_dim N/A call N/A N/A self x mask N/A None N/A N/A output N/A N/A K dot x N/A self W N/A N/A self bias N/A N/A output N/A self b N/A output N/A N/A K max output axis 1 N/A output N/A get_config N/A N/A self N/A N/A N/A config N/A output_dim init nb_feature W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim N/A self output_dim N/A N/A self init __name__ N/A self nb_feature N/A N/A self W_regularizer N/A N/A N/A self W_regularizer get_config None N/A N/A self b_regularizer N/A N/A N/A self b_regularizer get_config None N/A N/A self activity_regularizer N/A N/A N/A self activity_regularizer get_config None N/A N/A self W_constraint N/A N/A N/A self W_constraint get_config None N/A N/A self b_constraint N/A N/A N/A self b_constraint get_config None N/A self bias N/A self input_dim N/A base_config N/A N/A N/A super MaxoutDense self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A Highway N/A Layer N/A N/A Densely connected highway network,
    a natural extension of LSTMs to feedforward networks.

    # Arguments
        init: name of initialization function for the weights of the layer
            (see [initializations](../initializations.md)),
            or alternatively, Theano function to use for weights
            initialization. This parameter is only relevant
            if you don't pass a `weights` argument.
        transform_bias: value for the bias to take on initially (default -2)
        activation: name of activation function to use
            (see [activations](../activations.md)),
            or alternatively, elementwise Theano function.
            If you don't specify anything, no activation is applied
            (ie. "linear" activation: a(x) = x).
        weights: list of numpy arrays to set as initial weights.
            The list should have 2 elements, of shape `(input_dim, output_dim)`
            and (output_dim,) for weights and biases respectively.
        W_regularizer: instance of [WeightRegularizer](../regularizers.md)
            (eg. L1 or L2 regularization), applied to the main weights matrix.
        b_regularizer: instance of [WeightRegularizer](../regularizers.md),
            applied to the bias.
        activity_regularizer: instance of [ActivityRegularizer](../regularizers.md),
            applied to the network output.
        W_constraint: instance of the [constraints](../constraints.md) module
            (eg. maxnorm, nonneg), applied to the main weights matrix.
        b_constraint: instance of the [constraints](../constraints.md) module,
            applied to the bias.
        bias: whether to include a bias (i.e. make the layer affine rather than linear).
        input_dim: dimensionality of the input (integer).
            This argument (or alternatively, the keyword argument `input_shape`)
            is required when using this layer as the first layer in a model.

    # Input shape
        2D tensor with shape: `(nb_samples, input_dim)`.

    # Output shape
        2D tensor with shape: `(nb_samples, input_dim)`.

    # References
        - [Highway Networks](http://arxiv.org/pdf/1505.00387v2.pdf)
     __init__ N/A N/A self init transform_bias activation weights W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim N/A glorot_uniform -2 linear None None None None None None True None kwargs N/A N/A N/A self init N/A N/A initializations get init N/A N/A self transform_bias transform_bias N/A N/A self activation N/A N/A activations get activation N/A N/A self W_regularizer N/A N/A regularizers get W_regularizer N/A N/A self b_regularizer N/A N/A regularizers get b_regularizer N/A N/A self activity_regularizer N/A N/A regularizers get activity_regularizer N/A N/A self W_constraint N/A N/A constraints get W_constraint N/A N/A self b_constraint N/A N/A constraints get b_constraint N/A N/A self bias bias N/A N/A self initial_weights weights N/A N/A self input_spec N/A N/A InputSpec ndim 2 N/A N/A self input_dim input_dim N/A N/A self input_dim N/A N/A N/A kwargs N/A input_shape N/A N/A self input_dim N/A N/A N/A N/A super Highway self __init__ kwargs N/A build N/A N/A self input_shape N/A N/A N/A input_dim N/A input_shape N/A 1 N/A N/A self input_spec N/A N/A InputSpec dtype N/A N/A K floatx shape N/A None input_dim N/A N/A self W N/A N/A self init N/A input_dim input_dim name N/A N/A {}_W format N/A self name N/A N/A self W_carry N/A N/A self init N/A input_dim input_dim name N/A N/A {}_W_carry format N/A self name N/A N/A self bias N/A N/A N/A self b N/A N/A K zeros N/A input_dim name N/A N/A {}_b format N/A self name N/A N/A self b_carry N/A N/A K variable N/A N/A N/A np ones N/A input_dim N/A self transform_bias name N/A N/A {}_b_carry format N/A self name N/A N/A self trainable_weights N/A N/A self W N/A self b N/A self W_carry N/A self b_carry N/A N/A N/A self trainable_weights N/A N/A self W N/A self W_carry N/A N/A self regularizers N/A N/A N/A self W_regularizer N/A N/A N/A N/A N/A self W_regularizer set_param N/A self W N/A N/A N/A N/A self regularizers append N/A self W_regularizer N/A N/A N/A self bias N/A self b_regularizer N/A N/A N/A N/A N/A self b_regularizer set_param N/A self b N/A N/A N/A N/A self regularizers append N/A self b_regularizer N/A N/A self activity_regularizer N/A N/A N/A N/A N/A self activity_regularizer set_layer self N/A N/A N/A N/A self regularizers append N/A self activity_regularizer N/A N/A self constraints N/A N/A N/A self W_constraint N/A N/A N/A N/A self constraints N/A N/A self W N/A self W_constraint N/A N/A N/A self bias N/A self b_constraint N/A N/A N/A N/A self constraints N/A N/A self b N/A self b_constraint N/A N/A N/A self initial_weights None N/A N/A N/A N/A self set_weights N/A self initial_weights N/A N/A self initial_weights N/A call N/A N/A self x mask N/A None N/A N/A y N/A N/A K dot x N/A self W_carry N/A N/A self bias N/A N/A y N/A self b_carry N/A transform_weight N/A N/A activations sigmoid y N/A y N/A N/A K dot x N/A self W N/A N/A self bias N/A N/A y N/A self b N/A act N/A N/A self activation y N/A act transform_weight N/A output N/A act N/A N/A 1 transform_weight x N/A output N/A get_config N/A N/A self N/A N/A N/A config N/A init transform_bias activation W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim N/A N/A self init __name__ N/A self transform_bias N/A N/A self activation __name__ N/A N/A self W_regularizer N/A N/A N/A self W_regularizer get_config None N/A N/A self b_regularizer N/A N/A N/A self b_regularizer get_config None N/A N/A self activity_regularizer N/A N/A N/A self activity_regularizer get_config None N/A N/A self W_constraint N/A N/A N/A self W_constraint get_config None N/A N/A self b_constraint N/A N/A N/A self b_constraint get_config None N/A self bias N/A self input_dim N/A base_config N/A N/A N/A super Highway self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A TimeDistributedDense N/A Layer N/A N/A Apply a same Dense layer for each dimension[1] (time_dimension) input.
    Especially useful after a recurrent network with 'return_sequence=True'.

    Note: this layer is deprecated, prefer using the `TimeDistributed` wrapper:
    ```python
        model.add(TimeDistributed(Dense(32)))
    ```

    # Input shape
        3D tensor with shape `(nb_sample, time_dimension, input_dim)`.
    # Output shape
        3D tensor with shape `(nb_sample, time_dimension, output_dim)`.
    # Arguments
        output_dim: int > 0.
        init: name of initialization function for the weights of the layer
            (see [initializations](../initializations.md)),
            or alternatively, Theano function to use for weights
            initialization. This parameter is only relevant
            if you don't pass a `weights` argument.
        activation: name of activation function to use
            (see [activations](../activations.md)),
            or alternatively, elementwise Theano function.
            If you don't specify anything, no activation is applied
            (ie. "linear" activation: a(x) = x).
        weights: list of numpy arrays to set as initial weights.
            The list should have 2 elements, of shape `(input_dim, output_dim)`
            and (output_dim,) for weights and biases respectively.
        W_regularizer: instance of [WeightRegularizer](../regularizers.md)
            (eg. L1 or L2 regularization), applied to the main weights matrix.
        b_regularizer: instance of [WeightRegularizer](../regularizers.md),
            applied to the bias.
        activity_regularizer: instance of [ActivityRegularizer](../regularizers.md),
            applied to the network output.
        W_constraint: instance of the [constraints](../constraints.md) module
            (eg. maxnorm, nonneg), applied to the main weights matrix.
        b_constraint: instance of the [constraints](../constraints.md) module,
            applied to the bias.
        bias: whether to include a bias (i.e. make the layer affine rather than linear).
        input_dim: dimensionality of the input (integer).
            This argument (or alternatively, the keyword argument `input_shape`)
            is required when using this layer as the first layer in a model.
        input_length: length of inputs sequences
            (integer, or None for variable-length sequences).
     __init__ N/A N/A self output_dim init activation weights W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim input_length N/A glorot_uniform linear None None None None None None True None None kwargs N/A N/A N/A N/A warnings warn TimeDistributedDense is deprecated, please use TimeDistributed(Dense(...)) instead. N/A N/A self output_dim output_dim N/A N/A self init N/A N/A initializations get init N/A N/A self activation N/A N/A activations get activation N/A N/A self W_regularizer N/A N/A regularizers get W_regularizer N/A N/A self b_regularizer N/A N/A regularizers get b_regularizer N/A N/A self activity_regularizer N/A N/A regularizers get activity_regularizer N/A N/A self W_constraint N/A N/A constraints get W_constraint N/A N/A self b_constraint N/A N/A constraints get b_constraint N/A N/A self bias bias N/A N/A self initial_weights weights N/A N/A self input_spec N/A N/A InputSpec ndim 3 N/A N/A self supports_masking True N/A N/A self input_dim input_dim N/A N/A self input_length input_length N/A N/A self input_dim N/A N/A N/A kwargs N/A input_shape N/A N/A self input_length N/A self input_dim N/A N/A N/A N/A super TimeDistributedDense self __init__ kwargs N/A build N/A N/A self input_shape N/A N/A N/A N/A self input_spec N/A N/A InputSpec dtype N/A N/A K floatx shape N/A N/A None N/A input_shape N/A 1 N/A input_dim N/A input_shape N/A 2 N/A N/A self W N/A N/A self init N/A input_dim N/A self output_dim name N/A N/A {}_W format N/A self name N/A N/A self bias N/A N/A N/A self b N/A N/A K zeros N/A N/A self output_dim name N/A N/A {}_b format N/A self name N/A N/A self trainable_weights N/A N/A self W N/A self b N/A N/A self regularizers N/A N/A N/A self W_regularizer N/A N/A N/A N/A N/A self W_regularizer set_param N/A self W N/A N/A N/A N/A self regularizers append N/A self W_regularizer N/A N/A N/A self bias N/A self b_regularizer N/A N/A N/A N/A N/A self b_regularizer set_param N/A self b N/A N/A N/A N/A self regularizers append N/A self b_regularizer N/A N/A self activity_regularizer N/A N/A N/A N/A N/A self activity_regularizer set_layer self N/A N/A N/A N/A self regularizers append N/A self activity_regularizer N/A N/A self constraints N/A N/A N/A self W_constraint N/A N/A N/A N/A self constraints N/A N/A self W N/A self W_constraint N/A N/A N/A self bias N/A self b_constraint N/A N/A N/A N/A self constraints N/A N/A self b N/A self b_constraint N/A N/A N/A self initial_weights None N/A N/A N/A N/A self set_weights N/A self initial_weights N/A N/A self initial_weights N/A get_output_shape_for N/A N/A self input_shape N/A N/A N/A N/A N/A input_shape N/A 0 N/A input_shape N/A 1 N/A self output_dim N/A call N/A N/A self x mask N/A None N/A N/A input_shape N/A N/A N/A self input_spec N/A 0 shape N/A input_length N/A input_shape N/A 1 N/A N/A input_length N/A N/A N/A hasattr K int_shape N/A N/A input_length N/A N/A N/A K int_shape x N/A 1 N/A N/A input_length N/A N/A N/A Exception N/A N/A Layer  N/A self name  requires to know the length of its input, but it could not be inferred automatically. Specify it manually by passing an input_shape argument to the first layer in your model. N/A N/A input_length N/A N/A N/A K shape x N/A 1 N/A x N/A N/A K reshape x N/A -1 N/A input_shape N/A -1 N/A y N/A N/A K dot x N/A self W N/A N/A self bias N/A N/A y N/A self b N/A y N/A N/A K reshape y N/A -1 input_length N/A self output_dim N/A y N/A N/A self activation y N/A y N/A get_config N/A N/A self N/A N/A N/A config N/A output_dim init activation W_regularizer b_regularizer activity_regularizer W_constraint b_constraint bias input_dim input_length N/A self output_dim N/A N/A self init __name__ N/A N/A self activation __name__ N/A N/A self W_regularizer N/A N/A N/A self W_regularizer get_config None N/A N/A self b_regularizer N/A N/A N/A self b_regularizer get_config None N/A N/A self activity_regularizer N/A N/A N/A self activity_regularizer get_config None N/A N/A self W_constraint N/A N/A N/A self W_constraint get_config None N/A N/A self b_constraint N/A N/A N/A self b_constraint get_config None N/A self bias N/A self input_dim N/A self input_length N/A base_config N/A N/A N/A super TimeDistributedDense self get_config N/A N/A dict N/A N/A list N/A N/A base_config items N/A list N/A N/A config items N/A N/A