Module ImportFrom alias alias alias Assign NameStore Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad BinOpSub BinOpAdd NameLoad NameLoad BinOpMult Num NameLoad Assert Call AttributeLoad NameLoad attr CompareNotEq Call NameLoad Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call NameLoad Assert Call AttributeLoad NameLoad attr CompareLt Call NameLoad Call NameLoad Num Assert Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TupleLoad Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If CompareLt TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad TupleLoad Num Num body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num TupleLoad Num Num NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num TupleLoad Num Num NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr keyword Num keyword TupleLoad Num Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr Num comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr Num comprehension NameStore Call NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Num BinOpMult ListLoad Num Num keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpMult ListLoad Num Num keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Num BinOpMult ListLoad Num Num keyword TupleLoad Num Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad SubscriptLoad NameLoad Index Num Assert UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword TupleLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad ListLoad BinOpSub BinOpAdd NameLoad NameLoad BinOpMult Num NameLoad Assert Call AttributeLoad NameLoad attr CompareLt Call NameLoad Call NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assert CompareEq AttributeLoad Call NameLoad ListLoad Num Num attr TupleLoad Num Num Assert CompareEq AttributeLoad Call NameLoad ListLoad Num Num attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num Assert CompareEq AttributeLoad Call NameLoad Num attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore Call NameLoad Num body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword ListLoad Num Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad ListLoad Num Num Num Num Assign NameStore Call NameLoad ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num Num Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num keyword Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad ListLoad Num Num ListLoad Num Num Assign NameStore Call NameLoad ListLoad Num ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num keyword ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num keyword ListLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad ListLoad Num Num ListLoad Num Num ListLoad Num Assign NameStore Call NameLoad ListLoad Num ListLoad Num ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num keyword ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num keyword ListLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num ListLoad Num Num ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Num Num ListLoad Num ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr BinOpPow Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Num Num Num Num ListLoad ListLoad Num Assign NameStore Call NameLoad ListLoad Num ListLoad ListLoad Num ListLoad Num ListLoad Num Assign NameStore Call NameLoad ListLoad Num Num Num Num ListLoad ListLoad Num ListLoad Num ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num Num Num keyword ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num keyword ListLoad ListLoad Num ListLoad Num ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Num Num Num Num keyword ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Num Num Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Slice Num keyword SubscriptLoad NameLoad Slice Num Expr Call NameLoad Str NameLoad Expr Call NameLoad Str NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Slice Num keyword SubscriptLoad NameLoad Slice Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Num Num Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Slice Num keyword SubscriptLoad NameLoad Slice Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assert Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Num Num Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad Num Num Num Assign NameStore ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr BinOpPow Num Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Num Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Num Num Assert CompareEq AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr CompareLtE Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Num Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Num Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword TupleLoad Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assert CompareIsNot SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num NameLoad Assert CompareIsNot SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num NameLoad Assert CompareIs SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Assert CompareEqEq NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareIsNot NameLoad NameLoad Assert CompareIs NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assert CompareIsNot NameLoad NameLoad Assert CompareIs NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareIsNot NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareIs NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num Assert CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Num decorator_list decorator_list Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad ListLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad keyword Num decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad Str
N/A __future__ absolute_import print_function division N/A __docformat__ restructuredtext en N/A sys N/A unittest N/A numpy theano.tensor raw_random theano.tensor.shared_randomstreams RandomStreams theano function shared theano tensor theano compile config gof theano.tests unittest_tools utt T_SharedRandomStreams N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A utt seed_rng N/A test_tutorial N/A N/A self N/A N/A N/A srng N/A RandomStreams seed 234 N/A rv_u N/A N/A srng uniform N/A 2 2 N/A rv_n N/A N/A srng normal N/A 2 2 N/A f N/A function N/A rv_u N/A g N/A function N/A rv_n no_default_updates True N/A nearly_zeros N/A function N/A N/A N/A rv_u rv_u N/A 2 rv_u N/A N/A N/A numpy all N/A N/A f N/A f N/A N/A N/A numpy all N/A N/A g N/A g N/A N/A N/A numpy all N/A N/A abs N/A nearly_zeros 1e-05 N/A N/A isinstance N/A N/A N/A rv_u rng get_value borrow True N/A N/A numpy random RandomState N/A test_basics N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random uniform N/A 2 2 updates N/A N/A random updates N/A gn N/A function N/A N/A N/A random normal N/A 2 2 updates N/A N/A random updates N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A gn_val0 N/A gn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng uniform size N/A 2 2 N/A numpy_val1 N/A N/A rng uniform size N/A 2 2 N/A N/A N/A numpy allclose fn_val0 numpy_val0 N/A N/A print fn_val0 N/A N/A print numpy_val0 N/A N/A print fn_val1 N/A N/A print numpy_val1 N/A N/A N/A numpy allclose fn_val1 numpy_val1 N/A test_seed_fn N/A N/A self N/A N/A N/A random N/A RandomStreams 234 N/A fn N/A function N/A N/A N/A random uniform N/A 2 2 updates N/A N/A random updates N/A N/A N/A random seed N/A N/A utt fetch_seed N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng uniform size N/A 2 2 N/A numpy_val1 N/A N/A rng uniform size N/A 2 2 N/A N/A N/A numpy allclose fn_val0 numpy_val0 N/A N/A N/A numpy allclose fn_val1 numpy_val1 N/A test_getitem N/A N/A self N/A N/A N/A random N/A RandomStreams 234 N/A out N/A N/A random uniform N/A 2 2 N/A fn N/A function N/A out updates N/A N/A random updates N/A N/A N/A random seed N/A N/A utt fetch_seed N/A rng N/A N/A N/A numpy random RandomState N/A N/A N/A rng set_state N/A N/A N/A random N/A N/A out rng get_state N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A numpy_val0 N/A N/A rng uniform size N/A 2 2 N/A numpy_val1 N/A N/A rng uniform size N/A 2 2 N/A N/A N/A numpy allclose fn_val0 numpy_val0 N/A N/A N/A numpy allclose fn_val1 numpy_val1 N/A test_setitem N/A N/A self N/A N/A N/A random N/A RandomStreams 234 N/A out N/A N/A random uniform N/A 2 2 N/A fn N/A function N/A out updates N/A N/A random updates N/A N/A N/A random seed 888 N/A rng N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A N/A random N/A N/A out rng N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A numpy_val0 N/A N/A rng uniform size N/A 2 2 N/A numpy_val1 N/A N/A rng uniform size N/A 2 2 N/A N/A N/A numpy allclose fn_val0 numpy_val0 N/A N/A N/A numpy allclose fn_val1 numpy_val1 N/A test_ndim N/A N/A self N/A N/A N/A Test that the behaviour of 'ndim' optional parameter N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random uniform N/A 2 2 N/A random2 N/A RandomStreams N/A N/A utt fetch_seed N/A fn2 N/A function N/A N/A N/A random2 uniform N/A 2 2 ndim 2 N/A val1 N/A fn N/A val2 N/A fn2 N/A N/A N/A numpy all N/A val1 val2 N/A random3 N/A RandomStreams N/A N/A utt fetch_seed N/A N/A N/A self assertRaises ValueError N/A random3 uniform N/A 2 2 ndim 1 N/A test_uniform N/A N/A self N/A N/A N/A Test that RandomStreams.uniform generates the same results as numpy N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random uniform N/A 2 2 -1 1 N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng uniform -1 1 size N/A 2 2 N/A numpy_val1 N/A N/A rng uniform -1 1 size N/A 2 2 N/A N/A N/A numpy allclose fn_val0 numpy_val0 N/A N/A N/A numpy allclose fn_val1 numpy_val1 N/A test_normal N/A N/A self N/A N/A N/A Test that RandomStreams.normal generates the same results as numpy N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random normal N/A 2 2 -1 2 N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng normal -1 2 size N/A 2 2 N/A numpy_val1 N/A N/A rng normal -1 2 size N/A 2 2 N/A N/A N/A numpy allclose fn_val0 numpy_val0 N/A N/A N/A numpy allclose fn_val1 numpy_val1 N/A test_random_integers N/A N/A self N/A N/A N/A Test that RandomStreams.random_integers generates the same results as numpy N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random random_integers N/A 20 20 -5 5 N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng random_integers -5 5 size N/A 20 20 N/A numpy_val1 N/A N/A rng random_integers -5 5 size N/A 20 20 N/A N/A N/A numpy all N/A fn_val0 numpy_val0 N/A N/A N/A numpy all N/A fn_val1 numpy_val1 N/A test_choice N/A N/A self N/A N/A N/A Test that RandomStreams.choice generates the same results as numpy N/A N/A major minor _ N/A N/A N/A N/A numpy version short_version split . N/A N/A N/A N/A int major N/A int minor N/A 1 7 N/A N/A N/A N/A utt SkipTest N/A choice requires at NumPy version >= 1.7 (%s) N/A numpy __version__ N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random choice N/A 11 8 10 1 0 N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng choice 10 N/A 11 8 True None N/A numpy_val1 N/A N/A rng choice 10 N/A 11 8 True None N/A N/A N/A numpy all N/A fn_val0 numpy_val0 N/A N/A N/A numpy all N/A fn_val1 numpy_val1 N/A test_poisson N/A N/A self N/A N/A N/A Test that RandomStreams.poisson generates the same results as numpy N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random poisson lam 5 size N/A 11 8 N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng poisson lam 5 size N/A 11 8 N/A numpy_val1 N/A N/A rng poisson lam 5 size N/A 11 8 N/A N/A N/A numpy all N/A fn_val0 numpy_val0 N/A N/A N/A numpy all N/A fn_val1 numpy_val1 N/A test_permutation N/A N/A self N/A N/A N/A Test that RandomStreams.permutation generates the same results as numpy N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random permutation N/A 20 10 updates N/A N/A random updates N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A numpy asarray N/A N/A N/A rng permutation 10 N/A i N/A range 20 N/A numpy_val1 N/A N/A numpy asarray N/A N/A N/A rng permutation 10 N/A i N/A range 20 N/A N/A N/A numpy all N/A fn_val0 numpy_val0 N/A N/A N/A numpy all N/A fn_val1 numpy_val1 N/A test_multinomial N/A N/A self N/A N/A N/A Test that RandomStreams.multinomial generates the same results as numpy N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A fn N/A function N/A N/A N/A random multinomial N/A 4 4 1 N/A N/A 0.1 10 updates N/A N/A random updates N/A fn_val0 N/A fn N/A fn_val1 N/A fn N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_val0 N/A N/A rng multinomial 1 N/A N/A 0.1 10 size N/A 4 4 N/A numpy_val1 N/A N/A rng multinomial 1 N/A N/A 0.1 10 size N/A 4 4 N/A N/A N/A numpy all N/A fn_val0 numpy_val0 N/A N/A N/A numpy all N/A fn_val1 numpy_val1 N/A test_shuffle_row_elements N/A N/A self N/A N/A N/A Test that RandomStreams.shuffle_row_elements generates the right results N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A m_input N/A N/A tensor dmatrix N/A f N/A function N/A m_input N/A N/A random shuffle_row_elements m_input updates N/A N/A random updates N/A val_rng N/A N/A N/A numpy random RandomState N/A N/A N/A utt fetch_seed 42 N/A in_mval N/A N/A val_rng uniform -2 2 size N/A 20 5 N/A fn_mval0 N/A f in_mval N/A fn_mval1 N/A f in_mval N/A N/A print N/A in_mval N/A 0 N/A N/A print N/A fn_mval0 N/A 0 N/A N/A print N/A fn_mval1 N/A 0 N/A N/A N/A N/A numpy all N/A in_mval fn_mval0 N/A N/A N/A N/A numpy all N/A in_mval fn_mval1 N/A N/A N/A N/A numpy all N/A fn_mval0 fn_mval1 N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A numpy_mval0 N/A N/A in_mval copy N/A numpy_mval1 N/A N/A in_mval copy N/A row numpy_mval0 N/A N/A N/A N/A rng shuffle row N/A row numpy_mval1 N/A N/A N/A N/A rng shuffle row N/A N/A N/A numpy all N/A numpy_mval0 fn_mval0 N/A N/A N/A numpy all N/A numpy_mval1 fn_mval1 N/A random1 N/A RandomStreams N/A N/A utt fetch_seed N/A v_input N/A N/A tensor dvector N/A f1 N/A function N/A v_input N/A N/A random1 shuffle_row_elements v_input N/A in_vval N/A N/A val_rng uniform -3 3 size N/A 12 N/A fn_vval N/A f1 in_vval N/A numpy_vval N/A N/A in_vval copy N/A vrng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A N/A N/A vrng shuffle numpy_vval N/A N/A print in_vval N/A N/A print fn_vval N/A N/A print numpy_vval N/A N/A N/A numpy all N/A numpy_vval fn_vval N/A N/A N/A self assertRaises TypeError f1 in_mval N/A N/A N/A self assertRaises TypeError f in_vval N/A test_default_updates N/A N/A self N/A N/A N/A random_a N/A RandomStreams N/A N/A utt fetch_seed N/A out_a N/A N/A random_a uniform N/A 2 2 N/A fn_a N/A function N/A out_a N/A fn_a_val0 N/A fn_a N/A fn_a_val1 N/A fn_a N/A N/A N/A N/A numpy all N/A fn_a_val0 fn_a_val1 N/A nearly_zeros N/A function N/A N/A N/A out_a out_a N/A 2 out_a N/A N/A N/A numpy all N/A N/A abs N/A nearly_zeros 1e-05 N/A random_b N/A RandomStreams N/A N/A utt fetch_seed N/A out_b N/A N/A random_b uniform N/A 2 2 N/A fn_b N/A function N/A out_b updates N/A N/A random_b updates N/A fn_b_val0 N/A fn_b N/A fn_b_val1 N/A fn_b N/A N/A N/A numpy all N/A fn_b_val0 fn_a_val0 N/A N/A N/A numpy all N/A fn_b_val1 fn_a_val1 N/A random_c N/A RandomStreams N/A N/A utt fetch_seed N/A out_c N/A N/A random_c uniform N/A 2 2 N/A fn_c N/A function N/A out_c updates N/A N/A out_c update N/A fn_c_val0 N/A fn_c N/A fn_c_val1 N/A fn_c N/A N/A N/A numpy all N/A fn_c_val0 fn_a_val0 N/A N/A N/A numpy all N/A fn_c_val1 fn_a_val1 N/A random_d N/A RandomStreams N/A N/A utt fetch_seed N/A out_d N/A N/A random_d uniform N/A 2 2 N/A fn_d N/A function N/A out_d no_default_updates True N/A fn_d_val0 N/A fn_d N/A fn_d_val1 N/A fn_d N/A N/A N/A numpy all N/A fn_d_val0 fn_a_val0 N/A N/A N/A numpy all N/A fn_d_val1 fn_d_val0 N/A random_e N/A RandomStreams N/A N/A utt fetch_seed N/A out_e N/A N/A random_e uniform N/A 2 2 N/A fn_e N/A function N/A out_e no_default_updates N/A N/A out_e rng N/A fn_e_val0 N/A fn_e N/A fn_e_val1 N/A fn_e N/A N/A N/A numpy all N/A fn_e_val0 fn_a_val0 N/A N/A N/A numpy all N/A fn_e_val1 fn_e_val0 N/A test_symbolic_shape N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A shape N/A N/A tensor lvector N/A f N/A function N/A shape N/A N/A random uniform size shape ndim 2 N/A N/A N/A N/A f N/A 2 3 shape N/A 2 3 N/A N/A N/A N/A f N/A 4 8 shape N/A 4 8 N/A N/A N/A self assertRaises ValueError f N/A 4 N/A N/A N/A self assertRaises ValueError f N/A 4 3 4 5 N/A test_mixed_shape N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A shape0 N/A N/A tensor lscalar N/A shape N/A shape0 3 N/A f N/A function N/A shape0 N/A N/A random uniform size shape ndim 2 N/A N/A N/A N/A f 2 shape N/A 2 3 N/A N/A N/A N/A f 8 shape N/A 8 3 N/A g N/A function N/A shape0 N/A N/A random uniform size shape N/A N/A N/A N/A g 2 shape N/A 2 3 N/A N/A N/A N/A g 8 shape N/A 8 3 N/A test_mixed_shape_bcastable N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A shape0 N/A N/A tensor lscalar N/A shape N/A shape0 1 N/A u N/A N/A random uniform size shape ndim 2 N/A N/A N/A u broadcastable N/A False True N/A f N/A function N/A shape0 u N/A N/A N/A N/A f 2 shape N/A 2 1 N/A N/A N/A N/A f 8 shape N/A 8 1 N/A v N/A N/A random uniform size shape N/A N/A N/A v broadcastable N/A False True N/A g N/A function N/A shape0 v N/A N/A N/A N/A g 2 shape N/A 2 1 N/A N/A N/A N/A g 8 shape N/A 8 1 N/A test_default_shape N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A f N/A function N/A N/A N/A random uniform N/A g N/A function N/A N/A N/A random multinomial N/A seed_rng N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A uniform_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_rng randint N/A 2 30 N/A multinomial_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_rng randint N/A 2 30 N/A val0 N/A f N/A val1 N/A f N/A numpy_val0 N/A N/A uniform_rng uniform N/A numpy_val1 N/A N/A uniform_rng uniform N/A N/A N/A numpy allclose val0 numpy_val0 N/A N/A N/A numpy allclose val1 numpy_val1 N/A i N/A range 10 N/A N/A val2 N/A g N/A numpy_val2 N/A N/A multinomial_rng multinomial n 1 pvals N/A 0.5 0.5 N/A N/A N/A numpy all N/A val2 numpy_val2 N/A test_vector_arguments N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A low N/A N/A tensor dvector N/A out N/A N/A random uniform low low high 1 N/A N/A N/A out ndim 1 N/A f N/A function N/A low out N/A seed_gen N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0 N/A f N/A -5 0.5 0 1 N/A val1 N/A f N/A 0.9 N/A numpy_val0 N/A N/A numpy_rng uniform low N/A -5 0.5 0 1 high 1 N/A numpy_val1 N/A N/A numpy_rng uniform low N/A 0.9 high 1 N/A N/A N/A numpy all N/A val0 numpy_val0 N/A N/A N/A numpy all N/A val1 numpy_val1 N/A high N/A N/A tensor vector N/A outb N/A N/A random uniform low low high high N/A N/A N/A outb ndim 1 N/A fb N/A function N/A low high outb N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0b N/A fb N/A -4.0 -2 N/A -1 0 N/A val1b N/A fb N/A -4.0 N/A -1 N/A numpy_val0b N/A N/A numpy_rng uniform low N/A -4.0 -2 high N/A -1 0 N/A numpy_val1b N/A N/A numpy_rng uniform low N/A -4.0 high N/A -1 N/A N/A N/A numpy all N/A val0b numpy_val0b N/A N/A N/A numpy all N/A val1b numpy_val1b N/A N/A N/A self assertRaises ValueError fb N/A -4.0 -2 N/A -1 0 1 N/A size N/A N/A tensor lvector N/A outc N/A N/A random uniform low low high high size size ndim 1 N/A fc N/A function N/A low high size outc N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0c N/A fc N/A -4.0 -2 N/A -1 0 N/A 2 N/A val1c N/A fc N/A -4.0 N/A -1 N/A 1 N/A numpy_val0c N/A N/A numpy_rng uniform low N/A -4.0 -2 high N/A -1 0 N/A numpy_val1c N/A N/A numpy_rng uniform low N/A -4.0 high N/A -1 N/A N/A N/A numpy all N/A val0c numpy_val0c N/A N/A N/A numpy all N/A val1c numpy_val1c N/A N/A N/A self assertRaises ValueError fc N/A -4.0 -2 N/A -1 0 N/A 1 N/A N/A N/A self assertRaises ValueError fc N/A -4.0 -2 N/A -1 0 N/A 1 2 N/A N/A N/A self assertRaises ValueError fc N/A -4.0 -2 N/A -1 0 N/A 2 1 N/A N/A N/A self assertRaises ValueError fc N/A -4.0 -2 N/A -1 N/A 1 N/A test_broadcast_arguments N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A low N/A N/A tensor dvector N/A high N/A N/A tensor dcol N/A out N/A N/A random uniform low low high high N/A N/A N/A out ndim 2 N/A f N/A function N/A low high out N/A rng_seed N/A N/A N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed randint N/A 2 30 N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int rng_seed N/A val0 N/A f N/A -5 0.5 0 1 N/A N/A 1.0 N/A val1 N/A f N/A 0.9 N/A N/A 1.0 N/A 1.1 N/A 1.5 N/A val2 N/A f N/A -5 0.5 0 1 N/A N/A 1.0 N/A 1.1 N/A 1.5 N/A numpy_val0 N/A N/A numpy_rng uniform low N/A -5 0.5 0 1 high N/A 1.0 N/A numpy_val1 N/A N/A numpy_rng uniform low N/A 0.9 high N/A N/A 1.0 N/A 1.1 N/A 1.5 N/A numpy_val2 N/A N/A numpy_rng uniform low N/A -5 0.5 0 1 high N/A N/A 1.0 N/A 1.1 N/A 1.5 N/A N/A N/A numpy all N/A val0 numpy_val0 N/A N/A N/A numpy all N/A val1 numpy_val1 N/A N/A N/A numpy all N/A val2 numpy_val2 N/A test_uniform_vector N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A low N/A N/A tensor dvector N/A high N/A N/A tensor dvector N/A out N/A N/A random uniform low low high high N/A N/A N/A out ndim 1 N/A f N/A function N/A low high out N/A low_val N/A 0.1 0.2 0.3 N/A high_val N/A 1.1 2.2 3.3 N/A seed_gen N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0 N/A f low_val high_val N/A numpy_val0 N/A N/A numpy_rng uniform low low_val high high_val N/A N/A print THEANO val0 N/A N/A print NUMPY numpy_val0 N/A N/A N/A numpy all N/A val0 numpy_val0 N/A val1 N/A f N/A low_val N/A -1 N/A high_val N/A -1 N/A numpy_val1 N/A N/A numpy_rng uniform low N/A low_val N/A -1 high N/A high_val N/A -1 N/A N/A print THEANO val1 N/A N/A print NUMPY numpy_val1 N/A N/A N/A numpy all N/A val1 numpy_val1 N/A g N/A function N/A low high N/A N/A random uniform low low high high size N/A 3 N/A val2 N/A g low_val high_val N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A numpy_val2 N/A N/A numpy_rng uniform low low_val high high_val size N/A 3 N/A N/A N/A numpy all N/A val2 numpy_val2 N/A N/A N/A self assertRaises ValueError g N/A low_val N/A -1 N/A high_val N/A -1 N/A test_binomial_vector N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A n N/A N/A tensor lvector N/A prob N/A N/A tensor vector N/A out N/A N/A random binomial n n p prob N/A N/A N/A out ndim 1 N/A f N/A function N/A n prob out N/A n_val N/A 1 2 3 N/A prob_val N/A N/A numpy asarray N/A 0.1 0.2 0.3 dtype N/A config floatX N/A seed_gen N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0 N/A f n_val prob_val N/A numpy_val0 N/A N/A numpy_rng binomial n n_val p prob_val N/A N/A N/A numpy all N/A val0 numpy_val0 N/A val1 N/A f N/A n_val N/A -1 N/A prob_val N/A -1 N/A numpy_val1 N/A N/A numpy_rng binomial n N/A n_val N/A -1 p N/A prob_val N/A -1 N/A N/A N/A numpy all N/A val1 numpy_val1 N/A g N/A function N/A n prob N/A N/A random binomial n n p prob size N/A 3 N/A val2 N/A g n_val prob_val N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A numpy_val2 N/A N/A numpy_rng binomial n n_val p prob_val size N/A 3 N/A N/A N/A numpy all N/A val2 numpy_val2 N/A N/A N/A self assertRaises ValueError g N/A n_val N/A -1 N/A prob_val N/A -1 N/A test_normal_vector N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A avg N/A N/A tensor dvector N/A std N/A N/A tensor dvector N/A out N/A N/A random normal avg avg std std N/A N/A N/A out ndim 1 N/A f N/A function N/A avg std out N/A avg_val N/A 1 2 3 N/A std_val N/A 0.1 0.2 0.3 N/A seed_gen N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0 N/A f avg_val std_val N/A numpy_val0 N/A N/A numpy_rng normal loc avg_val scale std_val N/A N/A N/A numpy allclose val0 numpy_val0 N/A val1 N/A f N/A avg_val N/A -1 N/A std_val N/A -1 N/A numpy_val1 N/A N/A numpy_rng normal loc N/A avg_val N/A -1 scale N/A std_val N/A -1 N/A N/A N/A numpy allclose val1 numpy_val1 N/A g N/A function N/A avg std N/A N/A random normal avg avg std std size N/A 3 N/A val2 N/A g avg_val std_val N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A numpy_val2 N/A N/A numpy_rng normal loc avg_val scale std_val size N/A 3 N/A N/A N/A numpy allclose val2 numpy_val2 N/A N/A N/A self assertRaises ValueError g N/A avg_val N/A -1 N/A std_val N/A -1 N/A test_random_integers_vector N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A low N/A N/A tensor lvector N/A high N/A N/A tensor lvector N/A out N/A N/A random random_integers low low high high N/A N/A N/A out ndim 1 N/A f N/A function N/A low high out N/A low_val N/A 100 200 300 N/A high_val N/A 110 220 330 N/A seed_gen N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0 N/A f low_val high_val N/A numpy_val0 N/A N/A numpy asarray N/A N/A N/A numpy_rng random_integers low lv high hv N/A N/A lv hv N/A zip low_val high_val N/A N/A N/A numpy all N/A val0 numpy_val0 N/A val1 N/A f N/A low_val N/A -1 N/A high_val N/A -1 N/A numpy_val1 N/A N/A numpy asarray N/A N/A N/A numpy_rng random_integers low lv high hv N/A N/A lv hv N/A zip N/A low_val N/A -1 N/A high_val N/A -1 N/A N/A N/A numpy all N/A val1 numpy_val1 N/A g N/A function N/A low high N/A N/A random random_integers low low high high size N/A 3 N/A val2 N/A g low_val high_val N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A numpy_val2 N/A N/A numpy asarray N/A N/A N/A numpy_rng random_integers low lv high hv N/A N/A lv hv N/A zip low_val high_val N/A N/A N/A numpy all N/A val2 numpy_val2 N/A N/A N/A self assertRaises ValueError g N/A low_val N/A -1 N/A high_val N/A -1 N/A test_multinomial_vector N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A n N/A N/A tensor lvector N/A pvals N/A N/A tensor matrix N/A out N/A N/A random multinomial n n pvals pvals N/A N/A N/A out ndim 2 N/A f N/A function N/A n pvals out N/A n_val N/A 1 2 3 N/A pvals_val N/A N/A 0.1 0.9 N/A 0.2 0.8 N/A 0.3 0.7 N/A pvals_val N/A N/A numpy asarray pvals_val dtype N/A config floatX N/A seed_gen N/A N/A N/A numpy random RandomState N/A N/A utt fetch_seed N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A val0 N/A f n_val pvals_val N/A numpy_val0 N/A N/A numpy asarray N/A N/A N/A numpy_rng multinomial n nv pvals pv N/A N/A nv pv N/A zip n_val pvals_val N/A N/A N/A numpy all N/A val0 numpy_val0 N/A val1 N/A f N/A n_val N/A -1 N/A pvals_val N/A -1 N/A numpy_val1 N/A N/A numpy asarray N/A N/A N/A numpy_rng multinomial n nv pvals pv N/A N/A nv pv N/A zip N/A n_val N/A -1 N/A pvals_val N/A -1 N/A N/A N/A numpy all N/A val1 numpy_val1 N/A g N/A function N/A n pvals N/A N/A random multinomial n n pvals pvals size N/A 3 N/A val2 N/A g n_val pvals_val N/A numpy_rng N/A N/A N/A numpy random RandomState N/A int N/A N/A seed_gen randint N/A 2 30 N/A numpy_val2 N/A N/A numpy asarray N/A N/A N/A numpy_rng multinomial n nv pvals pv N/A N/A nv pv N/A zip n_val pvals_val N/A N/A N/A numpy all N/A val2 numpy_val2 N/A N/A N/A self assertRaises ValueError g N/A n_val N/A -1 N/A pvals_val N/A -1 N/A test_dtype N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A low N/A N/A tensor lscalar N/A high N/A N/A tensor lscalar N/A out N/A N/A random random_integers low low high high size N/A 20 dtype int8 N/A N/A N/A out dtype int8 N/A f N/A function N/A low high out N/A val0 N/A f 0 9 N/A N/A N/A val0 dtype int8 N/A val1 N/A f 255 257 N/A N/A N/A val1 dtype int8 N/A N/A N/A numpy all N/A N/A abs val1 1 N/A test_default_dtype N/A N/A self N/A N/A N/A random N/A RandomStreams N/A N/A utt fetch_seed N/A low N/A N/A tensor dscalar N/A high N/A N/A tensor dscalar N/A out0 N/A N/A random uniform low low high high size N/A 42 N/A N/A N/A out0 dtype float64 N/A f0 N/A function N/A low high out0 N/A val0 N/A f0 -2.1 3.1 N/A N/A N/A val0 dtype float64 N/A out1 N/A N/A random uniform low low high high size N/A 42 dtype float32 N/A N/A N/A out1 dtype float32 N/A f1 N/A function N/A low high out1 N/A val1 N/A f1 -1.1 1.1 N/A N/A N/A val1 dtype float32 N/A lowf N/A N/A tensor fscalar N/A highf N/A N/A tensor fscalar N/A outf N/A N/A random uniform low lowf high highf size N/A 42 N/A N/A N/A outf dtype N/A config floatX N/A ff N/A function N/A lowf highf outf N/A valf N/A ff N/A N/A numpy float32 -0.1 N/A N/A numpy float32 0.3 N/A N/A N/A valf dtype N/A config floatX N/A test_shared_constructor_borrow N/A N/A self N/A N/A N/A rng N/A N/A N/A numpy random RandomState 123 N/A s_rng_default N/A shared rng N/A s_rng_True N/A shared rng borrow True N/A s_rng_False N/A shared rng borrow False N/A N/A N/A N/A N/A s_rng_default container storage N/A 0 rng N/A N/A N/A N/A N/A s_rng_False container storage N/A 0 rng N/A N/A N/A N/A N/A s_rng_True container storage N/A 0 rng N/A v N/A N/A rng randn N/A v0 N/A N/A N/A N/A N/A s_rng_default container storage N/A 0 randn N/A v1 N/A N/A N/A N/A N/A s_rng_False container storage N/A 0 randn N/A N/A v v0 v1 N/A test_get_value_borrow N/A N/A self N/A N/A N/A rng N/A N/A N/A numpy random RandomState 123 N/A s_rng N/A shared rng N/A r_ N/A N/A N/A s_rng container storage N/A 0 N/A r_T N/A N/A s_rng get_value borrow True N/A r_F N/A N/A s_rng get_value borrow False N/A N/A r_ r_F N/A N/A r_ r_T N/A N/A N/A N/A r_ rand N/A N/A r_F rand N/A test_get_value_internal_type N/A N/A self N/A N/A N/A rng N/A N/A N/A numpy random RandomState 123 N/A s_rng N/A shared rng N/A r_ N/A N/A N/A s_rng container storage N/A 0 N/A r_T N/A N/A s_rng get_value borrow True return_internal_type True N/A r_F N/A N/A s_rng get_value borrow False return_internal_type True N/A N/A r_ r_F N/A N/A r_ r_T N/A N/A N/A N/A r_ rand N/A N/A r_F rand N/A test_set_value_borrow N/A N/A self N/A N/A N/A rng N/A N/A N/A numpy random RandomState 123 N/A s_rng N/A shared rng N/A new_rng N/A N/A N/A numpy random RandomState 234234 N/A N/A N/A s_rng set_value new_rng borrow False N/A N/A new_rng N/A N/A N/A s_rng container storage N/A 0 N/A N/A N/A N/A new_rng randn N/A N/A N/A N/A N/A s_rng container storage N/A 0 randn N/A rr N/A N/A N/A numpy random RandomState 33 N/A N/A N/A s_rng set_value rr borrow True N/A N/A rr N/A N/A N/A s_rng container storage N/A 0 N/A test_multiple_rng_aliasing N/A N/A self N/A N/A N/A 
        Test that when we have multiple random number generators, we do not alias
        the state_updates member. `state_updates` can be useful when attempting to
        copy the (random) state between two similar theano graphs. The test is
        meant to detect a previous bug where state_updates was initialized as a
        class-attribute, instead of the __init__ function.
         N/A rng1 N/A RandomStreams 1234 N/A rng2 N/A RandomStreams 2392 N/A N/A N/A rng1 state_updates N/A rng2 state_updates N/A N/A N/A rng1 gen_seedgen N/A rng2 gen_seedgen N/A test_random_state_transfer N/A N/A self N/A N/A N/A 
        Test that random state can be transferred from one theano graph to another.
         Graph N/A N/A __init__ N/A N/A self seed N/A 123 N/A N/A N/A self rng N/A RandomStreams seed N/A N/A self y N/A N/A N/A self rng uniform size N/A 1 N/A N/A N/A g1 N/A Graph seed 123 N/A f1 N/A function N/A N/A g1 y N/A g2 N/A Graph seed 987 N/A f2 N/A function N/A N/A g2 y N/A N/A su1 su2 N/A zip N/A N/A g1 rng state_updates N/A N/A g2 rng state_updates N/A N/A N/A N/A N/A su2 N/A 0 set_value N/A N/A N/A su1 N/A 0 get_value N/A N/A N/A N/A numpy testing assert_array_almost_equal N/A f1 N/A f2 decimal 6 N/A N/A N/A N/A __name__ __main__ N/A theano.tests main N/A N/A main test_shared_randomstreams