Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num 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 Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr 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 AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr 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 Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr 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 Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num Num attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr 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 FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr 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 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 unittest N/A numpy N/A chainer chainer cuda chainer function_hooks chainer functions chainer.functions.connection linear chainer links chainer testing chainer.testing attr check_history N/A N/A self t function_type return_type N/A N/A N/A N/A N/A self assertIsInstance N/A t N/A 0 function_type N/A N/A N/A self assertIsInstance N/A t N/A 1 return_type N/A TestTimerHookToLink N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self h N/A N/A function_hooks TimerHook N/A N/A self l N/A N/A links Linear 5 5 N/A N/A self x N/A N/A N/A N/A N/A numpy random uniform -0.1 0.1 N/A 3 5 astype N/A numpy float32 N/A N/A self gy N/A N/A N/A N/A N/A numpy random uniform -0.1 0.1 N/A 3 5 astype N/A numpy float32 N/A test_name N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self h name TimerHook N/A check_forward N/A N/A self x N/A N/A N/A N/A self h N/A N/A N/A N/A self l N/A N/A chainer Variable x N/A N/A N/A self assertEqual 1 N/A len N/A N/A self h call_history N/A N/A check_history self N/A N/A N/A self h call_history N/A 0 N/A linear LinearFunction float N/A test_forward_cpu N/A N/A self N/A N/A N/A N/A N/A self check_forward N/A self x N/A test_forward_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self l to_gpu N/A N/A N/A self check_forward N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu check_backward N/A N/A self x gy N/A N/A N/A x N/A N/A chainer Variable x N/A y N/A N/A self l x N/A N/A y grad gy N/A N/A self h N/A N/A N/A N/A y backward N/A N/A N/A self assertEqual 1 N/A len N/A N/A self h call_history N/A N/A check_history self N/A N/A N/A self h call_history N/A 0 N/A linear LinearFunction float N/A test_backward_cpu N/A N/A self N/A N/A N/A N/A N/A self check_backward N/A self x N/A self gy N/A test_backward_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self l to_gpu N/A N/A N/A self check_backward N/A N/A cuda to_gpu N/A self x N/A N/A cuda to_gpu N/A self gy N/A N/A attr gpu N/A TestTimerHookToFunction N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self h N/A N/A function_hooks TimerHook N/A N/A self f N/A N/A functions Exp N/A N/A N/A N/A self f add_hook N/A self h N/A N/A self x N/A N/A N/A N/A N/A numpy random uniform -0.1 0.1 N/A 3 5 astype N/A numpy float32 N/A N/A self gy N/A N/A N/A N/A N/A numpy random uniform -0.1 0.1 N/A 3 5 astype N/A numpy float32 N/A check_forward N/A N/A self x N/A N/A N/A N/A N/A self f N/A N/A chainer Variable x N/A N/A N/A self assertEqual 1 N/A len N/A N/A self h call_history N/A N/A check_history self N/A N/A N/A self h call_history N/A 0 N/A functions Exp float N/A test_forward_cpu N/A N/A self N/A N/A N/A N/A N/A self check_forward N/A self x N/A test_fowward_gpu N/A N/A self N/A N/A N/A N/A N/A self check_forward N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu check_backward N/A N/A self x gy N/A N/A N/A x N/A N/A chainer Variable x N/A y N/A N/A self f x N/A N/A y grad gy N/A N/A N/A y backward N/A N/A N/A self assertEqual 2 N/A len N/A N/A self h call_history N/A N/A check_history self N/A N/A N/A self h call_history N/A 1 N/A functions Exp float N/A test_backward_cpu N/A N/A self N/A N/A N/A N/A N/A self check_backward N/A self x N/A self gy N/A test_backward_gpu N/A N/A self N/A N/A N/A N/A N/A self check_backward N/A N/A cuda to_gpu N/A self x N/A N/A cuda to_gpu N/A self gy N/A N/A attr gpu N/A N/A N/A N/A testing run_module __name__ __file__