Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore BinOpAdd BinOpDiv BinOpMult NameLoad BinOpSub NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd TupleLoad NameLoad NameLoad BinOpMult TupleLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd TupleLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num BinOpAdd AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore NameLoad Ellipsis Call AttributeLoad AttributeLoad NameLoad attr attr Num Num AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore NameLoad Ellipsis Call AttributeLoad AttributeLoad NameLoad attr attr Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore BinOpAdd TupleLoad Num Num BinOpMult TupleLoad Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad Num attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Ellipsis AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Ellipsis AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num 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 Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num 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 Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str ListLoad NameLoad NameLoad ListLoad Str Str ListLoad Num Num Num Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Num TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpDiv BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num 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 Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore BinOpDiv BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num AttributeLoad NameLoad attr BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpMult NameLoad AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num 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 Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Dict Str Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad
N/A N/A unittest N/A numpy N/A six N/A chainer chainer cuda chainer gradient_check chainer links chainer testing chainer.testing attr chainer.testing condition _batch_normalization N/A N/A expander gamma beta x mean var eps test N/A N/A N/A mean N/A mean N/A expander N/A test N/A N/A std N/A N/A numpy sqrt N/A var N/A expander N/A N/A std N/A N/A numpy sqrt N/A N/A var N/A expander eps N/A y_expect N/A N/A N/A gamma N/A x mean std beta N/A y_expect N/A BatchNormalizationTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self expander N/A N/A None Ellipsis N/A N/A None N/A self ndim N/A N/A self aggr_axes N/A N/A 0 N/A tuple N/A N/A N/A six moves range 2 N/A N/A self ndim 2 N/A N/A self link N/A N/A links BatchNormalization 3 N/A gamma N/A N/A N/A self link gamma data N/A N/A gamma N/A N/A N/A N/A numpy random uniform 0.5 1 N/A gamma shape N/A beta N/A N/A N/A self link beta data N/A N/A beta N/A N/A N/A N/A numpy random uniform -1 1 N/A beta shape N/A N/A N/A N/A self link zerograds N/A N/A self gamma N/A N/A N/A gamma copy N/A N/A self expander N/A N/A self beta N/A N/A N/A beta copy N/A N/A self expander N/A shape N/A N/A 7 3 N/A N/A 2 N/A self ndim N/A N/A self x N/A N/A N/A N/A N/A numpy random uniform -1 1 shape astype N/A numpy float32 N/A N/A self gy N/A N/A N/A N/A N/A numpy random uniform -1 1 shape astype N/A numpy float32 N/A N/A self test N/A N/A N/A self mean N/A N/A N/A N/A N/A numpy random uniform -1 1 N/A 3 astype N/A numpy float32 N/A N/A self var N/A N/A N/A N/A N/A numpy random uniform 0.5 1 N/A 3 astype N/A numpy float32 N/A N/A N/A N/A self link avg_mean N/A N/A self mean N/A N/A N/A N/A self link avg_var N/A N/A self var N/A N/A N/A self mean N/A N/A N/A self x mean axis N/A self aggr_axes N/A N/A self var N/A N/A N/A self x var axis N/A self aggr_axes N/A check_forward N/A N/A self x_data N/A N/A N/A x N/A N/A chainer Variable x_data volatile N/A self volatile N/A y N/A N/A self link x test N/A self test N/A N/A N/A self assertEqual N/A N/A y data dtype N/A numpy float32 N/A y_expect N/A _batch_normalization N/A self expander N/A self gamma N/A self beta N/A self x N/A self mean N/A self var N/A N/A self link eps N/A self test N/A N/A N/A gradient_check assert_allclose y_expect N/A y data rtol 0.001 atol 0.0001 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 N/A N/A condition retry 3 test_forward_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self link 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 N/A N/A condition retry 3 test_forward_multi_gpu N/A N/A self N/A N/A N/A N/A N/A cuda get_device 1 N/A N/A N/A N/A N/A self link to_gpu N/A x N/A N/A cuda to_gpu N/A self x N/A N/A N/A cuda get_device 0 N/A N/A N/A N/A self check_forward x N/A N/A N/A attr multi_gpu 2 check_backward N/A N/A self x_data y_grad N/A N/A N/A N/A N/A gradient_check check_backward N/A self link x_data y_grad N/A N/A N/A self link gamma N/A N/A self link beta eps 0.01 rtol 0.001 atol 0.0001 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 N/A N/A condition retry 3 test_backward_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self link 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 N/A condition retry 3 N/A N/A N/A testing parameterize N/A N/A testing product N/A test volatile ndim N/A True False N/A on off N/A 0 1 2 3 TestPopulationStatistics N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self decay 0.9 N/A N/A self size 3 N/A N/A self link N/A N/A links BatchNormalization N/A self size N/A self decay N/A N/A self x N/A N/A N/A N/A N/A numpy random uniform -1 1 N/A N/A self nx N/A self size astype N/A numpy float32 N/A N/A self y N/A N/A N/A N/A N/A numpy random uniform -1 1 N/A N/A self ny N/A self size astype N/A numpy float32 N/A check_statistics 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 self link x finetune True N/A N/A N/A gradient_check assert_allclose N/A N/A N/A self x mean axis 0 N/A N/A self link avg_mean N/A unbiased_var N/A N/A N/A N/A N/A self x var axis 0 N/A self nx N/A N/A self nx 1 N/A N/A N/A gradient_check assert_allclose unbiased_var N/A N/A self link avg_var N/A test_statistics_cpu N/A N/A self N/A N/A N/A N/A N/A self check_statistics N/A self x N/A N/A N/A condition retry 3 test_statistics_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self link to_gpu N/A N/A N/A self check_statistics N/A N/A cuda to_gpu N/A self x N/A N/A attr gpu N/A N/A condition retry 3 check_statistics2 N/A N/A self x y N/A N/A N/A x N/A N/A chainer Variable x N/A y N/A N/A chainer Variable y N/A N/A N/A self link x finetune True N/A N/A N/A self link y finetune True N/A mean N/A N/A N/A N/A N/A self x sum axis 0 N/A N/A N/A self y sum axis 0 N/A N/A self nx N/A self ny N/A var N/A N/A N/A N/A N/A N/A self x var axis 0 N/A self nx N/A N/A N/A N/A self y var axis 0 N/A self ny N/A N/A self nx N/A self ny N/A unbiased_var N/A N/A var N/A self ny N/A N/A self ny 1 N/A N/A N/A gradient_check assert_allclose mean N/A N/A self link avg_mean N/A N/A N/A gradient_check assert_allclose unbiased_var N/A N/A self link avg_var N/A test_statistics2_cpu N/A N/A self N/A N/A N/A N/A N/A self check_statistics2 N/A self x N/A self y N/A N/A N/A condition retry 3 test_statistics2_gpu N/A N/A self N/A N/A N/A N/A N/A N/A self link to_gpu N/A N/A N/A self check_statistics2 N/A N/A cuda to_gpu N/A self x N/A N/A cuda to_gpu N/A self y N/A N/A attr gpu N/A N/A condition retry 3 N/A N/A N/A testing parameterize N/A nx ny 10 10 N/A N/A N/A testing run_module __name__ __file__