Module Import alias Import alias Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call Call NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareIsNot AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareIsNot AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareIs AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp CompareIsNot AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad SubscriptLoad NameLoad Index NameLoad TupleLoad AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore SubscriptLoad NameLoad Index Num attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign AttributeStore SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Num decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num Num attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return ListLoad Num decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr ListLoad Num AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr ListLoad Num Num AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return TupleLoad Call AttributeLoad NameLoad attr ListLoad Num Num AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd AttributeLoad Call AttributeLoad NameLoad attr attr Num Assign NameStore Call Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad
N/A N/A inspect N/A unittest N/A numpy np N/A chainer chainer cuda chainer testing chainer.testing attr N/A re N/A six Constant N/A N/A chainer Function N/A __init__ N/A N/A self outputs N/A N/A N/A N/A self outputs outputs N/A forward_cpu N/A N/A self inputs N/A N/A N/A N/A self outputs N/A forward_gpu N/A N/A self inputs N/A N/A N/A N/A tuple N/A map N/A cuda to_gpu N/A self outputs N/A backward_cpu N/A N/A self inputs grad_outputs N/A N/A N/A N/A tuple N/A map N/A np zeros_like inputs N/A backward_gpu N/A N/A self inputs grad_outputs N/A N/A N/A N/A tuple N/A map N/A N/A cuda cupy zeros_like inputs N/A N/A constant N/A N/A xs value N/A N/A N/A N/A N/A Constant value xs N/A TestVariable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self x N/A N/A N/A N/A N/A np random uniform -1 1 10 astype N/A np float32 N/A N/A self a N/A N/A N/A N/A N/A np random uniform 0.1 10 10 astype N/A np float32 N/A N/A self c N/A N/A N/A N/A N/A N/A np arange 10 reshape 2 5 astype N/A np float32 N/A test_repr N/A N/A self N/A N/A N/A x N/A N/A chainer Variable N/A self x name x N/A N/A N/A self assertEqual N/A repr x <variable x> N/A test_str N/A N/A self N/A N/A N/A x N/A N/A chainer Variable N/A self x name x N/A N/A N/A self assertEqual N/A str x x N/A check_len N/A N/A self gpu N/A N/A N/A x N/A self x N/A gpu N/A N/A x N/A N/A cuda to_gpu x N/A x N/A N/A chainer Variable x N/A N/A N/A self assertEqual N/A len x 10 N/A test_len_cpu N/A N/A self N/A N/A N/A N/A N/A self check_len False N/A test_len_gpu N/A N/A self N/A N/A N/A N/A N/A self check_len True N/A N/A attr gpu check_label N/A N/A self expected gpu N/A N/A N/A c N/A self c N/A gpu N/A N/A c N/A N/A cuda to_gpu c N/A c N/A N/A chainer Variable c N/A N/A N/A self assertEqual N/A c label expected N/A test_label_cpu N/A N/A self N/A N/A N/A N/A N/A self check_label (2, 5), float32 False N/A test_label_gpu N/A N/A self N/A N/A N/A N/A N/A self check_label (2, 5), float32 True N/A N/A attr gpu check_backward N/A N/A self inputs intermediates outputs retain_grad N/A N/A N/A o outputs N/A N/A N/A N/A o backward retain_grad N/A N/A N/A self assertTrue N/A all N/A N/A N/A x grad None N/A x inputs N/A retain_grad N/A N/A N/A N/A self assertTrue N/A all N/A N/A N/A x grad None N/A x intermediates N/A N/A N/A N/A self assertTrue N/A all N/A N/A N/A x grad None N/A x intermediates N/A N/A N/A self assertTrue N/A any N/A N/A N/A x grad None N/A x outputs N/A create_linear_chain N/A N/A self length gpu N/A N/A N/A gpu N/A N/A x N/A N/A chainer Variable N/A N/A cuda to_gpu N/A self x N/A N/A x N/A N/A chainer Variable N/A self x N/A ret N/A x N/A i N/A N/A N/A six moves range length N/A N/A N/A N/A ret append N/A constant N/A N/A ret N/A i N/A N/A self a N/A gpu N/A N/A N/A N/A ret N/A -1 grad N/A N/A N/A cuda cupy zeros_like N/A N/A ret N/A -1 data N/A N/A N/A N/A ret N/A -1 grad N/A N/A np zeros_like N/A N/A ret N/A -1 data N/A ret N/A test_backward_cpu N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 2 False N/A N/A N/A self check_backward N/A N/A ret N/A 0 N/A N/A ret N/A 1 N/A N/A ret N/A 2 False N/A test_backward_gpu N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 2 True N/A N/A N/A self check_backward N/A N/A ret N/A 0 N/A N/A ret N/A 1 N/A N/A ret N/A 2 False N/A N/A attr gpu test_backward_cpu_retain_grad N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 2 False N/A N/A N/A self check_backward N/A N/A ret N/A 0 N/A N/A ret N/A 1 N/A N/A ret N/A 2 True N/A test_backward_gpu_retain_grad N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 2 True N/A N/A N/A self check_backward N/A N/A ret N/A 0 N/A N/A ret N/A 1 N/A N/A ret N/A 2 True N/A N/A attr gpu test_unchain_backward_cpu N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 3 False N/A N/A N/A N/A ret N/A 1 unchain_backward N/A N/A N/A self check_backward N/A N/A ret N/A 1 N/A N/A ret N/A 2 N/A N/A ret N/A 3 False N/A test_unchain_backward_gpu N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 3 True N/A N/A N/A N/A ret N/A 1 unchain_backward N/A N/A N/A self check_backward N/A N/A ret N/A 1 N/A N/A ret N/A 2 N/A N/A ret N/A 3 False N/A N/A attr gpu test_unchain_backward_cpu_retain_grad N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 3 False N/A N/A N/A N/A ret N/A 1 unchain_backward N/A N/A N/A self check_backward N/A N/A ret N/A 1 N/A N/A ret N/A 2 N/A N/A ret N/A 3 False N/A test_unchain_backward_gpu_retain_grad N/A N/A self N/A N/A N/A ret N/A N/A self create_linear_chain 3 False N/A N/A N/A N/A ret N/A 1 unchain_backward N/A N/A N/A self check_backward N/A N/A ret N/A 1 N/A N/A ret N/A 2 N/A N/A ret N/A 3 False N/A N/A attr gpu test_invalid_value_type N/A N/A self N/A N/A N/A N/A N/A six assertRaisesRegex self TypeError int N/A N/A N/A N/A chainer Variable 1 N/A test_grad_type_check_pass N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A np empty N/A 3 dtype N/A np float32 N/A N/A a grad N/A N/A np ndarray N/A 3 dtype N/A np float32 N/A test_grad_type_check_type N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A np empty N/A dtype N/A np float32 N/A N/A N/A self assertRaises TypeError N/A N/A N/A a grad N/A N/A np float32 N/A test_grad_type_check_type_cpu_gpu_mixture N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A np empty N/A 3 dtype N/A np float32 N/A N/A N/A self assertRaises TypeError N/A N/A N/A a grad N/A N/A N/A cuda cupy empty N/A 3 dtype N/A np float32 N/A N/A attr gpu test_grad_type_check_dtype N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A np empty N/A 3 dtype N/A np float32 N/A N/A N/A self assertRaises TypeError N/A N/A N/A a grad N/A N/A np empty N/A 3 dtype N/A np float64 N/A test_grad_type_check_shape N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A np empty N/A 3 dtype N/A np float32 N/A N/A N/A self assertRaises ValueError N/A N/A N/A a grad N/A N/A np empty N/A 2 dtype N/A np float32 N/A test_to_cpu_from_cpu N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A np zeros 3 dtype N/A np float32 N/A N/A a grad N/A N/A np ones_like N/A a data N/A b N/A a data N/A gb N/A a grad N/A c N/A N/A b copy N/A gc N/A N/A gb copy N/A N/A N/A a to_cpu N/A N/A N/A self assertIs N/A a data b N/A N/A N/A self assertIs N/A a grad gb N/A N/A N/A N/A np testing assert_array_equal N/A a data c N/A N/A N/A N/A np testing assert_array_equal N/A a grad gc N/A test_to_cpu N/A N/A self N/A N/A N/A a N/A N/A chainer Variable N/A N/A N/A cuda cupy zeros 3 dtype N/A np float32 N/A N/A a grad N/A N/A N/A cuda cupy ones_like N/A a data N/A N/A N/A a to_cpu N/A N/A N/A N/A np testing assert_array_equal N/A a data N/A N/A np zeros 3 dtype N/A np float32 N/A N/A N/A N/A np testing assert_array_equal N/A a grad N/A N/A np ones 3 dtype N/A np float32 N/A N/A attr gpu test_to_gpu_from_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A a N/A N/A chainer Variable N/A N/A cp zeros 3 dtype N/A np float32 N/A N/A a grad N/A N/A N/A cuda cupy ones_like N/A a data N/A b N/A a data N/A gb N/A a grad N/A c N/A N/A b copy N/A gc N/A N/A gb copy N/A N/A N/A a to_gpu N/A N/A N/A self assertIs N/A a data b N/A N/A N/A self assertIs N/A a grad gb N/A N/A N/A N/A cp testing assert_array_equal N/A a data c N/A N/A N/A N/A cp testing assert_array_equal N/A a grad gc N/A N/A attr gpu test_to_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A a N/A N/A chainer Variable N/A N/A np zeros 3 dtype N/A np float32 N/A N/A a grad N/A N/A np ones 3 dtype N/A np float32 N/A N/A N/A a to_gpu N/A N/A N/A N/A cp testing assert_array_equal N/A a data N/A N/A cp zeros 3 dtype N/A np float32 N/A N/A N/A N/A cp testing assert_array_equal N/A a grad N/A N/A cp ones 3 dtype N/A np float32 N/A N/A attr gpu test_to_gpu_from_another_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A a N/A N/A chainer Variable N/A N/A cp zeros 3 dtype N/A np float32 N/A N/A a grad N/A N/A N/A cuda cupy ones_like N/A a data N/A b N/A N/A N/A a data copy N/A gb N/A N/A N/A a grad copy N/A N/A N/A a to_gpu 1 N/A N/A N/A self assertEqual N/A int N/A N/A cuda get_device N/A a data 1 N/A N/A N/A self assertEqual N/A int N/A N/A cuda get_device N/A a grad 1 N/A N/A N/A N/A cp testing assert_array_equal N/A a data b N/A N/A N/A N/A cp testing assert_array_equal N/A a grad gb N/A N/A N/A attr multi_gpu 2 check_zerograd N/A N/A self a_data fill N/A False N/A N/A xp N/A N/A cuda get_array_module a_data N/A a N/A N/A chainer Variable a_data N/A fill N/A N/A N/A a grad N/A N/A xp full_like a_data N/A np nan N/A N/A N/A a zerograd N/A N/A N/A self assertIsNot N/A a grad None N/A g_expect N/A N/A xp zeros_like N/A a data N/A N/A N/A N/A xp testing assert_array_equal N/A a grad g_expect N/A test_zerograd_cpu N/A N/A self N/A N/A N/A N/A N/A self check_zerograd N/A N/A np empty 3 dtype N/A np float32 N/A test_zerograd_fill_cpu N/A N/A self N/A N/A N/A N/A N/A self check_zerograd N/A N/A np empty 3 dtype N/A np float32 fill True N/A test_zerograds_multi_gpu N/A N/A self N/A N/A N/A cupy N/A cuda cupy N/A N/A N/A cuda get_device 1 N/A N/A a N/A N/A chainer Variable N/A N/A cupy empty 3 dtype N/A np float32 N/A N/A N/A a zerograd N/A N/A N/A self assertIsNot N/A a grad None N/A N/A N/A self assertEqual N/A int N/A N/A a grad device 1 N/A N/A N/A cuda get_device 1 N/A N/A g_expect N/A N/A cupy zeros_like N/A a data N/A N/A N/A N/A cupy testing assert_array_equal N/A a grad g_expect N/A N/A N/A attr multi_gpu 2 test_zerograds_fill_multi_gpu N/A N/A self N/A N/A N/A cupy N/A cuda cupy N/A N/A N/A cuda get_device 1 N/A N/A a N/A N/A chainer Variable N/A N/A cupy empty 3 dtype N/A np float32 N/A N/A a grad N/A N/A cupy empty_like N/A a data N/A N/A N/A a zerograd N/A N/A N/A self assertEqual N/A int N/A N/A a grad device 1 N/A N/A N/A cuda get_device 1 N/A N/A g_expect N/A N/A cupy zeros_like N/A a data N/A N/A N/A N/A cupy testing assert_array_equal N/A a grad g_expect N/A N/A N/A attr multi_gpu 2 test_zerograd_gpu N/A N/A self N/A N/A N/A N/A N/A self check_zerograd N/A N/A N/A cuda cupy empty 3 dtype N/A np float32 N/A N/A attr gpu test_zerograd_fill_gpu N/A N/A self N/A N/A N/A N/A N/A self check_zerograd N/A N/A N/A cuda cupy empty 3 dtype N/A np float32 fill True N/A N/A attr gpu check_copydata N/A N/A self data1 data2 expect N/A N/A N/A xp N/A N/A cuda get_array_module data1 N/A v N/A N/A chainer Variable data1 N/A w N/A N/A chainer Variable data2 N/A N/A N/A v copydata w N/A N/A N/A N/A xp testing assert_array_equal N/A v data expect N/A test_copydata_cpu_to_cpu N/A N/A self N/A N/A N/A N/A N/A self check_copydata N/A N/A np zeros 3 dtype N/A np float32 N/A N/A np ones 3 dtype N/A np float32 N/A N/A np ones 3 dtype N/A np float32 N/A test_copydata_cpu_to_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A self check_copydata N/A N/A cp zeros 3 dtype N/A np float32 N/A N/A np ones 3 dtype N/A np float32 N/A N/A cp ones 3 dtype N/A np float32 N/A N/A attr gpu test_copydata_gpu_to_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A self check_copydata N/A N/A cp zeros 3 dtype N/A np float32 N/A N/A cp ones 3 dtype N/A np float32 N/A N/A cp ones 3 dtype N/A np float32 N/A N/A attr gpu test_copydata_gpu_to_cpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A self check_copydata N/A N/A np zeros 3 dtype N/A np float32 N/A N/A cp ones 3 dtype N/A np float32 N/A N/A np ones 3 dtype N/A np float32 N/A N/A attr gpu test_copydata_gpu_to_another_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A cuda get_device 0 N/A N/A data1 N/A N/A cp zeros 3 dtype N/A np float32 N/A expect N/A N/A cp ones 3 dtype N/A np float32 N/A N/A N/A cuda get_device 1 N/A N/A data2 N/A N/A cp ones 3 dtype N/A np float32 N/A N/A N/A self check_copydata data1 data2 expect N/A N/A N/A attr multi_gpu 2 check_addgrad N/A N/A self src dst expect N/A N/A N/A xp N/A N/A cuda get_array_module dst N/A a N/A N/A chainer Variable src N/A N/A a grad src N/A b N/A N/A chainer Variable dst N/A N/A b grad dst N/A N/A N/A b addgrad a N/A N/A N/A N/A xp testing assert_array_equal N/A b grad expect N/A test_addgrad_cpu_to_cpu N/A N/A self N/A N/A N/A N/A N/A self check_addgrad N/A N/A np full 3 10 dtype N/A np float32 N/A N/A np full 3 20 dtype N/A np float32 N/A N/A np full 3 30 dtype N/A np float32 N/A test_addgrad_cpu_to_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A self check_addgrad N/A N/A np full 3 10 dtype N/A np float32 N/A N/A cp full 3 20 dtype N/A np float32 N/A N/A cp full 3 30 dtype N/A np float32 N/A N/A attr gpu test_addgrad_gpu_to_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A self check_addgrad N/A N/A cp full 3 10 dtype N/A np float32 N/A N/A cp full 3 20 dtype N/A np float32 N/A N/A cp full 3 30 dtype N/A np float32 N/A N/A attr gpu test_addgrad_gpu_to_cpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A self check_addgrad N/A N/A cp full 3 10 dtype N/A np float32 N/A N/A np full 3 20 dtype N/A np float32 N/A N/A np full 3 30 dtype N/A np float32 N/A N/A attr gpu test_addgrad_gpu_to_another_gpu N/A N/A self N/A N/A N/A cp N/A cuda cupy N/A N/A N/A cuda get_device 1 N/A N/A a N/A N/A cp full 3 10 dtype N/A np float32 N/A N/A N/A cuda get_device 0 N/A N/A b N/A N/A cp full 3 20 dtype N/A np float32 N/A c N/A N/A cp full 3 30 dtype N/A np float32 N/A N/A N/A self check_addgrad a b c N/A N/A N/A attr multi_gpu 2 N/A TestDebugPrint N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self arr N/A N/A N/A N/A N/A np random randn 5 3 5 5 astype N/A np float32 N/A check_debug_print N/A N/A self v mean std N/A N/A N/A result N/A N/A v debug_print N/A N/A N/A self assertIn N/A repr v result N/A N/A N/A self assertIn volatile: OFF result N/A N/A N/A self assertIn dtype: float32 result N/A N/A N/A self assertTrue N/A N/A re match - shape: \(5L?, 3L?, 5L?, 5L?\) N/A N/A N/A result splitlines N/A 4 N/A msg statistics: mean={mean:.8f}, std={std:.8f} N/A msg N/A N/A msg format mean mean std std N/A N/A N/A self assertIn msg result N/A N/A N/A self assertIn grad: None result N/A N/A N/A v zerograd N/A result N/A N/A v debug_print N/A N/A N/A self assertIn grad: 0 result N/A N/A v grad N/A v data N/A result N/A N/A v debug_print N/A msg N/A N/A grad: mean={mean:.8f}, std={std:.8f} format mean mean std std N/A N/A N/A self assertIn msg result N/A test_debug_print_cpu N/A N/A self N/A N/A N/A v N/A N/A chainer Variable N/A self arr N/A result N/A N/A v debug_print N/A N/A N/A self assertIn device: CPU result N/A N/A N/A self assertIn numpy.ndarray result N/A N/A N/A self check_debug_print v mean N/A float N/A N/A np mean N/A v data std N/A float N/A N/A np std N/A v data N/A test_debug_print_gpu N/A N/A self N/A N/A N/A v N/A N/A chainer Variable N/A self arr N/A N/A N/A v to_gpu 0 N/A result N/A N/A v debug_print N/A N/A N/A self assertIn device: <CUDA Device 0> result N/A N/A N/A self assertIn cupy.core.core.ndarray result N/A N/A N/A self check_debug_print v mean N/A float N/A N/A N/A cuda cupy mean N/A v data std N/A float N/A N/A N/A cuda cupy std N/A v data N/A N/A attr gpu N/A TestVariableSetCreator N/A N/A unittest TestCase N/A MockFunction N/A object N/A N/A N/A setUp N/A N/A self N/A N/A N/A N/A self x N/A N/A N/A N/A N/A np random uniform -1 1 N/A 2 5 astype N/A np float32 N/A N/A self f N/A N/A self MockFunction N/A N/A N/A self f rank 10 N/A check_set_creator N/A N/A self x N/A N/A N/A x N/A N/A chainer Variable x N/A N/A N/A x set_creator N/A self f N/A N/A N/A self assertEqual N/A x creator N/A self f N/A N/A N/A self assertEqual N/A x rank 11 N/A test_set_creator_cpu N/A N/A self N/A N/A N/A N/A N/A self check_set_creator N/A self x N/A test_set_creator_gpu N/A N/A self N/A N/A N/A N/A N/A self check_set_creator N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu N/A TestVariableBackwardError N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self x N/A N/A np array N/A 1 N/A np float32 N/A check_type_mismatch N/A N/A self x_data N/A N/A N/A xp N/A N/A cuda get_array_module x_data DummyFunction N/A N/A chainer Function N/A N/A label dummy_function forward N/A N/A self inputs N/A N/A N/A N/A N/A N/A xp array 1 N/A np float32 N/A backward N/A N/A self inputs grads N/A N/A N/A N/A 1 N/A N/A N/A x N/A N/A chainer Variable x_data N/A y N/A N/A DummyFunction x N/A N/A N/A six assertRaisesRegex self TypeError dummy_function N/A N/A N/A N/A y backward N/A test_type_mismatch_cpu N/A N/A self N/A N/A N/A N/A N/A self check_type_mismatch N/A self x N/A test_type_mismatch_gpu N/A N/A self N/A N/A N/A N/A N/A self check_type_mismatch N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu check_dtype_mismatch N/A N/A self x_data N/A N/A N/A xp N/A N/A cuda get_array_module x_data DummyFunction N/A N/A chainer Function N/A N/A label dummy_function forward N/A N/A self inputs N/A N/A N/A N/A N/A N/A xp array 1 N/A np float32 N/A backward N/A N/A self inputs grads N/A N/A N/A N/A N/A N/A xp array N/A 1 N/A np int32 N/A N/A N/A x N/A N/A chainer Variable x_data N/A y N/A N/A DummyFunction x N/A N/A N/A six assertRaisesRegex self TypeError dummy_function N/A N/A N/A N/A y backward N/A test_dtype_mismatch_cpu N/A N/A self N/A N/A N/A N/A N/A self check_dtype_mismatch N/A self x N/A test_dtype_mismatch_gpu N/A N/A self N/A N/A N/A N/A N/A self check_dtype_mismatch N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu check_shape_mismatch N/A N/A self x_data N/A N/A N/A xp N/A N/A cuda get_array_module x_data DummyFunction N/A N/A chainer Function N/A N/A label dummy_function forward N/A N/A self inputs N/A N/A N/A N/A N/A N/A xp array 1 N/A np float32 N/A backward N/A N/A self inputs grads N/A N/A N/A N/A N/A N/A xp array N/A 1 2 N/A np float32 N/A N/A N/A x N/A N/A chainer Variable x_data N/A y N/A N/A DummyFunction x N/A N/A N/A six assertRaisesRegex self ValueError dummy_function N/A N/A N/A N/A y backward N/A test_shape_mismatch_cpu N/A N/A self N/A N/A N/A N/A N/A self check_shape_mismatch N/A self x N/A test_shape_mismatch_gpu N/A N/A self N/A N/A N/A N/A N/A self check_shape_mismatch N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu N/A TestVariableBackwardErrorTraceback N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self x N/A N/A np array N/A 1 N/A np float32 N/A N/A N/A chainer set_debug True N/A tearDown N/A N/A self N/A N/A N/A N/A N/A chainer set_debug False N/A check_traceback N/A N/A self x_data N/A N/A N/A xp N/A N/A cuda get_array_module x_data DummyFunction N/A N/A chainer Function N/A N/A label dummy_function forward N/A N/A self inputs N/A N/A N/A N/A N/A N/A xp array 1 N/A np float32 N/A backward N/A N/A self inputs grads N/A N/A N/A N/A N/A N/A xp array N/A 1 2 N/A np float32 N/A N/A N/A x N/A N/A chainer Variable x_data N/A line N/A N/A N/A N/A inspect currentframe f_lineno 1 N/A y N/A N/A DummyFunction x N/A N/A N/A N/A N/A y backward N/A N/A N/A self fail N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self assertIn Stacktrace N/A str e N/A N/A N/A self assertIn N/A line %d line N/A str e N/A test_traceback_cpu N/A N/A self N/A N/A N/A N/A N/A self check_traceback N/A self x N/A test_traceback_gpu N/A N/A self N/A N/A N/A N/A N/A self check_traceback N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu N/A N/A N/A N/A testing run_module __name__ __file__