Module Import alias Import alias ImportFrom alias Import alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num Num Expr Call NameLoad Str TupleLoad Num Num Num TupleLoad Num Num Num keyword TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad Str TupleLoad Num Num keyword TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Num keyword TupleLoad Num Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore ListLoad Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr Num BinOpAdd Num NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num Num keyword ListLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num Num keyword Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num Num keyword ListLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num Num keyword ListLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num Num keyword ListLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword Num Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult NameLoad Num Assign NameStore BinOpMult NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad ListLoad NameLoad keyword ListLoad TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad Index Num Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad ListLoad NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword TupleLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr CompareGtE NameLoad Num BinOpMult NameLoad Num BinOpMult NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr CompareGtE NameLoad Num BinOpMult NameLoad Num BinOpMult NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str TupleLoad Num Num keyword Num keyword Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Expr Call NameLoad Str TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num TupleLoad Num Num keyword NameLoad Expr Call NameLoad Str TupleLoad Num Num keyword Num Expr Call NameLoad Str TupleLoad Num Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad TupleLoad Num Num Num Num TupleLoad Num Num Num Num body For NameStore ListLoad TupleLoad Num Num Num Num TupleLoad Num Num Num Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str TupleLoad Num Num Num Num keyword TupleLoad Num Num keyword TupleLoad Num Num keyword Str Expr Call NameLoad Str TupleLoad Num Num Num Num keyword TupleLoad Num Num keyword TupleLoad Num Num keyword Str Expr Call NameLoad Str TupleLoad Num Num Num Num keyword TupleLoad Num Num keyword TupleLoad Num Num keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num keyword NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareLt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Assert CompareLtE Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareGtE Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareLt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Assert CompareLtE Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareGtE Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad
N/A N/A sys N/A pytest numpy.testing assert_allclose N/A numpy np keras.backend theano_backend KTH keras.backend tensorflow_backend KTF keras.utils.np_utils convert_kernel check_single_tensor_operation N/A N/A function_name input_shape N/A kwargs N/A N/A val N/A N/A N/A N/A np random random input_shape 0.5 N/A xth N/A N/A KTH variable val N/A xtf N/A N/A KTF variable val N/A zth N/A N/A KTH eval N/A N/A getattr KTH function_name xth kwargs N/A ztf N/A N/A KTF eval N/A N/A getattr KTF function_name xtf kwargs N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A check_two_tensor_operation N/A N/A function_name x_input_shape y_input_shape N/A kwargs N/A N/A xval N/A N/A N/A N/A np random random x_input_shape 0.5 N/A xth N/A N/A KTH variable xval N/A xtf N/A N/A KTF variable xval N/A yval N/A N/A N/A N/A np random random y_input_shape 0.5 N/A yth N/A N/A KTH variable yval N/A ytf N/A N/A KTF variable yval N/A zth N/A N/A KTH eval N/A N/A getattr KTH function_name xth yth kwargs N/A ztf N/A N/A KTF eval N/A N/A getattr KTF function_name xtf ytf kwargs N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A TestBackend N/A object N/A test_linear_operations N/A N/A self N/A N/A N/A N/A check_two_tensor_operation dot N/A 4 2 N/A 2 4 N/A N/A check_two_tensor_operation dot N/A 4 2 N/A 5 2 3 N/A N/A check_two_tensor_operation batch_dot N/A 4 2 3 N/A 4 5 3 axes N/A 2 2 N/A N/A check_single_tensor_operation transpose N/A 4 2 N/A test_shape_operations N/A N/A self N/A N/A N/A xval N/A N/A N/A np random random N/A 4 3 N/A xth N/A N/A KTH variable xval N/A xtf N/A N/A KTF variable xval N/A yval N/A N/A N/A np random random N/A 4 2 N/A yth N/A N/A KTH variable yval N/A ytf N/A N/A KTF variable yval N/A zth N/A N/A KTH eval N/A N/A KTH concatenate N/A xth yth axis -1 N/A ztf N/A N/A KTF eval N/A N/A KTF concatenate N/A xtf ytf axis -1 N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A N/A check_single_tensor_operation reshape N/A 4 2 shape N/A 8 1 N/A N/A check_single_tensor_operation permute_dimensions N/A 4 2 3 pattern N/A 2 0 1 N/A N/A check_single_tensor_operation repeat N/A 4 1 n 3 N/A N/A check_single_tensor_operation flatten N/A 4 1 N/A N/A check_single_tensor_operation expand_dims N/A 4 3 dim -1 N/A N/A check_single_tensor_operation expand_dims N/A 4 3 2 dim 1 N/A N/A check_single_tensor_operation squeeze N/A 4 3 1 axis 2 N/A test_repeat_elements N/A N/A self N/A N/A N/A reps 3 N/A ndims N/A 1 2 3 N/A N/A shape N/A N/A np arange 2 N/A 2 ndims N/A arr N/A N/A N/A N/A np arange N/A N/A np prod shape reshape shape N/A arr_th N/A N/A KTH variable arr N/A arr_tf N/A N/A KTF variable arr N/A rep_axis N/A range ndims N/A N/A np_rep N/A N/A np repeat arr reps axis rep_axis N/A th_rep N/A N/A KTH eval N/A N/A KTH repeat_elements arr_th reps axis rep_axis N/A tf_rep N/A N/A KTF eval N/A N/A KTF repeat_elements arr_tf reps axis rep_axis N/A N/A N/A th_rep shape N/A np_rep shape N/A N/A N/A tf_rep shape N/A np_rep shape N/A N/A assert_allclose np_rep th_rep atol 1e-05 N/A N/A assert_allclose np_rep tf_rep atol 1e-05 N/A test_value_manipulation N/A N/A self N/A N/A N/A val N/A N/A N/A np random random N/A 4 2 N/A xth N/A N/A KTH variable val N/A xtf N/A N/A KTF variable val N/A valth N/A N/A KTH get_value xth N/A valtf N/A N/A KTF get_value xtf N/A N/A N/A valtf shape N/A valth shape N/A N/A assert_allclose valth valtf atol 1e-05 N/A val N/A N/A N/A np random random N/A 4 2 N/A N/A N/A KTH set_value xth val N/A N/A N/A KTF set_value xtf val N/A valth N/A N/A KTH get_value xth N/A valtf N/A N/A KTF get_value xtf N/A N/A N/A valtf shape N/A valth shape N/A N/A assert_allclose valth valtf atol 1e-05 N/A N/A N/A N/A KTH count_params xth N/A N/A KTF count_params xtf N/A test_elementwise_operations N/A N/A self N/A N/A N/A N/A check_single_tensor_operation max N/A 4 2 N/A N/A check_single_tensor_operation max N/A 4 2 axis 1 keepdims True N/A N/A check_single_tensor_operation min N/A 4 2 N/A N/A check_single_tensor_operation min N/A 4 2 axis 1 keepdims True N/A N/A check_single_tensor_operation min N/A 4 2 3 axis N/A 1 -1 N/A N/A check_single_tensor_operation mean N/A 4 2 N/A N/A check_single_tensor_operation mean N/A 4 2 axis 1 keepdims True N/A N/A check_single_tensor_operation mean N/A 4 2 3 axis -1 keepdims True N/A N/A check_single_tensor_operation mean N/A 4 2 3 axis N/A 1 -1 N/A N/A check_single_tensor_operation std N/A 4 2 N/A N/A check_single_tensor_operation std N/A 4 2 axis 1 keepdims True N/A N/A check_single_tensor_operation std N/A 4 2 3 axis N/A 1 -1 N/A N/A check_single_tensor_operation prod N/A 4 2 N/A N/A check_single_tensor_operation prod N/A 4 2 axis 1 keepdims True N/A N/A check_single_tensor_operation prod N/A 4 2 3 axis N/A 1 -1 N/A N/A check_single_tensor_operation argmax N/A 4 2 N/A N/A check_single_tensor_operation argmax N/A 4 2 axis 1 N/A N/A check_single_tensor_operation argmin N/A 4 2 N/A N/A check_single_tensor_operation argmin N/A 4 2 axis 1 N/A N/A check_single_tensor_operation square N/A 4 2 N/A N/A check_single_tensor_operation abs N/A 4 2 N/A N/A check_single_tensor_operation sqrt N/A 4 2 N/A N/A check_single_tensor_operation exp N/A 4 2 N/A N/A check_single_tensor_operation log N/A 4 2 N/A N/A check_single_tensor_operation round N/A 4 2 N/A N/A check_single_tensor_operation sign N/A 4 2 N/A N/A check_single_tensor_operation pow N/A 4 2 a 3 N/A N/A check_single_tensor_operation clip N/A 4 2 min_value 0.4 max_value 0.6 N/A N/A check_two_tensor_operation equal N/A 4 2 N/A 4 2 N/A N/A check_two_tensor_operation maximum N/A 4 2 N/A 4 2 N/A N/A check_two_tensor_operation minimum N/A 4 2 N/A 4 2 N/A test_gradient N/A N/A self N/A N/A N/A val N/A N/A N/A np random random N/A 4 2 N/A xth N/A N/A KTH variable val N/A xtf N/A N/A KTF variable val N/A expth N/A xth N/A N/A KTH exp xth N/A exptf N/A xtf N/A N/A KTF exp xtf N/A lossth N/A N/A KTH sum expth N/A losstf N/A N/A KTF sum exptf N/A gradth N/A N/A KTH gradients lossth N/A expth N/A gradtf N/A N/A KTF gradients losstf N/A exptf N/A zth N/A N/A KTH eval N/A gradth N/A 0 N/A ztf N/A N/A KTF eval N/A gradtf N/A 0 N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A test_function N/A N/A self N/A N/A N/A val N/A N/A N/A np random random N/A 4 2 N/A input_val N/A N/A N/A np random random N/A 4 2 N/A xth N/A N/A KTH variable val N/A xtf N/A N/A KTF variable val N/A yth N/A N/A KTH placeholder ndim 2 N/A ytf N/A N/A KTF placeholder ndim 2 N/A exp_th N/A N/A N/A KTH square xth yth N/A exp_tf N/A N/A N/A KTF square xtf ytf N/A update_th N/A xth 2 N/A update_tf N/A xtf 2 N/A fth N/A N/A KTH function N/A yth N/A exp_th updates N/A N/A xth update_th N/A ftf N/A N/A KTF function N/A ytf N/A exp_tf updates N/A N/A xtf update_tf N/A function_outputs_th N/A N/A fth N/A input_val N/A 0 N/A function_outputs_tf N/A N/A ftf N/A input_val N/A 0 N/A N/A N/A function_outputs_th shape N/A function_outputs_tf shape N/A N/A assert_allclose function_outputs_th function_outputs_tf atol 1e-05 N/A new_val_th N/A N/A KTH get_value xth N/A new_val_tf N/A N/A KTF get_value xtf N/A N/A N/A new_val_th shape N/A new_val_tf shape N/A N/A assert_allclose new_val_th new_val_tf atol 1e-05 N/A test_rnn N/A N/A self N/A N/A N/A input_dim 8 N/A output_dim 4 N/A timesteps 5 N/A input_val N/A N/A N/A np random random N/A 32 timesteps input_dim N/A init_state_val N/A N/A N/A np random random N/A 32 output_dim N/A W_i_val N/A N/A N/A np random random N/A input_dim output_dim N/A W_o_val N/A N/A N/A np random random N/A output_dim output_dim rnn_step_fn N/A N/A input_dim output_dim K N/A N/A N/A W_i N/A N/A K variable W_i_val N/A W_o N/A N/A K variable W_o_val step_function N/A N/A x states N/A N/A N/A N/A N/A len states 1 N/A prev_output N/A states N/A 0 N/A output N/A N/A N/A K dot x W_i N/A N/A K dot prev_output W_o N/A N/A output N/A output N/A N/A step_function N/A N/A th_rnn_step_fn N/A rnn_step_fn input_dim output_dim KTH N/A th_inputs N/A N/A KTH variable input_val N/A th_initial_states N/A N/A N/A KTH variable init_state_val N/A N/A last_output outputs new_states N/A N/A KTH rnn th_rnn_step_fn th_inputs th_initial_states go_backwards False mask None N/A th_last_output N/A N/A KTH eval last_output N/A th_outputs N/A N/A KTH eval outputs N/A N/A N/A len new_states 1 N/A th_state N/A N/A KTH eval N/A new_states N/A 0 N/A tf_rnn_step_fn N/A rnn_step_fn input_dim output_dim KTF N/A tf_inputs N/A N/A KTF variable input_val N/A tf_initial_states N/A N/A N/A KTF variable init_state_val N/A N/A last_output outputs new_states N/A N/A KTF rnn tf_rnn_step_fn tf_inputs tf_initial_states go_backwards False mask None N/A tf_last_output N/A N/A KTF eval last_output N/A tf_outputs N/A N/A KTF eval outputs N/A N/A N/A len new_states 1 N/A tf_state N/A N/A KTF eval N/A new_states N/A 0 N/A N/A assert_allclose tf_last_output th_last_output atol 0.0001 N/A N/A assert_allclose tf_outputs th_outputs atol 0.0001 N/A N/A assert_allclose tf_state th_state atol 0.0001 N/A N/A unrolled_last_output unrolled_outputs unrolled_new_states N/A N/A KTH rnn th_rnn_step_fn th_inputs th_initial_states go_backwards False mask None unroll True input_length timesteps N/A unrolled_th_last_output N/A N/A KTH eval unrolled_last_output N/A unrolled_th_outputs N/A N/A KTH eval unrolled_outputs N/A N/A N/A len unrolled_new_states 1 N/A unrolled_th_state N/A N/A KTH eval N/A unrolled_new_states N/A 0 N/A N/A assert_allclose th_last_output unrolled_th_last_output atol 0.0001 N/A N/A assert_allclose th_outputs unrolled_th_outputs atol 0.0001 N/A N/A assert_allclose th_state unrolled_th_state atol 0.0001 N/A N/A bwd_last_output bwd_outputs bwd_new_states N/A N/A KTH rnn th_rnn_step_fn th_inputs th_initial_states go_backwards True mask None N/A bwd_th_last_output N/A N/A KTH eval bwd_last_output N/A bwd_th_outputs N/A N/A KTH eval bwd_outputs N/A N/A N/A len bwd_new_states 1 N/A bwd_th_state N/A N/A KTH eval N/A bwd_new_states N/A 0 N/A N/A bwd_unrolled_last_output bwd_unrolled_outputs bwd_unrolled_new_states N/A N/A KTH rnn th_rnn_step_fn th_inputs th_initial_states go_backwards True mask None unroll True input_length timesteps N/A bwd_unrolled_th_last_output N/A N/A KTH eval bwd_unrolled_last_output N/A bwd_unrolled_th_outputs N/A N/A KTH eval bwd_unrolled_outputs N/A N/A N/A len bwd_unrolled_new_states 1 N/A bwd_unrolled_th_state N/A N/A KTH eval N/A bwd_unrolled_new_states N/A 0 N/A N/A assert_allclose bwd_th_last_output bwd_unrolled_th_last_output atol 0.0001 N/A N/A assert_allclose bwd_th_outputs bwd_unrolled_th_outputs atol 0.0001 N/A N/A assert_allclose bwd_th_state bwd_unrolled_th_state atol 0.0001 N/A np_mask N/A N/A N/A np random randint 2 size N/A 32 timesteps N/A th_mask N/A N/A KTH variable np_mask N/A N/A masked_last_output masked_outputs masked_new_states N/A N/A KTH rnn th_rnn_step_fn th_inputs th_initial_states go_backwards False mask th_mask N/A masked_th_last_output N/A N/A KTH eval masked_last_output N/A masked_th_outputs N/A N/A KTH eval masked_outputs N/A N/A N/A len masked_new_states 1 N/A masked_th_state N/A N/A KTH eval N/A masked_new_states N/A 0 N/A N/A unrolled_masked_last_output unrolled_masked_outputs unrolled_masked_new_states N/A N/A KTH rnn th_rnn_step_fn th_inputs th_initial_states go_backwards False mask th_mask unroll True input_length timesteps N/A unrolled_masked_th_last_output N/A N/A KTH eval unrolled_masked_last_output N/A unrolled_masked_th_outputs N/A N/A KTH eval unrolled_masked_outputs N/A N/A N/A len unrolled_masked_new_states 1 N/A unrolled_masked_th_state N/A N/A KTH eval N/A unrolled_masked_new_states N/A 0 N/A N/A assert_allclose unrolled_masked_th_last_output masked_th_last_output atol 0.0001 N/A N/A assert_allclose unrolled_masked_th_outputs masked_th_outputs atol 0.0001 N/A N/A assert_allclose unrolled_masked_th_state masked_th_state atol 0.0001 N/A test_switch N/A N/A self N/A N/A N/A val N/A N/A N/A np random random N/A xth N/A N/A KTH variable val N/A xth N/A N/A KTH switch N/A xth 0.5 N/A xth 0.1 N/A xth 0.2 N/A xtf N/A N/A KTF variable val N/A xtf N/A N/A KTF switch N/A xtf 0.5 N/A xtf 0.1 N/A xtf 0.2 N/A zth N/A N/A KTH eval xth N/A ztf N/A N/A KTF eval xtf N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A test_nn_operations N/A N/A self N/A N/A N/A N/A check_single_tensor_operation relu N/A 4 2 alpha 0.1 max_value 0.5 N/A N/A check_single_tensor_operation softmax N/A 4 10 N/A N/A check_single_tensor_operation softplus N/A 4 10 N/A N/A check_single_tensor_operation sigmoid N/A 4 2 N/A N/A check_single_tensor_operation hard_sigmoid N/A 4 2 N/A N/A check_single_tensor_operation tanh N/A 4 2 N/A val N/A N/A N/A np random random N/A 100 100 N/A xth N/A N/A KTH variable val N/A xtf N/A N/A KTF variable val N/A zth N/A N/A KTH eval N/A N/A KTH dropout xth level 0.2 N/A ztf N/A N/A KTF eval N/A N/A KTF dropout xtf level 0.2 N/A N/A N/A zth shape N/A ztf shape N/A N/A N/A N/A np abs N/A N/A N/A zth mean N/A N/A ztf mean 0.05 N/A N/A check_two_tensor_operation binary_crossentropy N/A 4 2 N/A 4 2 from_logits True N/A N/A check_two_tensor_operation categorical_crossentropy N/A 4 2 N/A 4 2 from_logits True N/A N/A check_two_tensor_operation binary_crossentropy N/A 4 2 N/A 4 2 from_logits False N/A N/A check_two_tensor_operation categorical_crossentropy N/A 4 2 N/A 4 2 from_logits False N/A N/A check_single_tensor_operation l2_normalize N/A 4 3 axis -1 N/A N/A check_single_tensor_operation l2_normalize N/A 4 3 axis 1 N/A test_conv2d N/A N/A self N/A N/A N/A input_shape N/A N/A 2 3 4 5 N/A 2 3 5 6 N/A N/A kernel_shape N/A N/A 4 3 2 2 N/A 4 3 3 4 N/A N/A xval N/A N/A N/A np random random input_shape N/A xth N/A N/A KTH variable xval N/A xtf N/A N/A KTF variable xval N/A kernel_val N/A N/A N/A N/A np random random kernel_shape 0.5 N/A kernel_th N/A N/A KTH variable N/A convert_kernel kernel_val N/A kernel_tf N/A N/A KTF variable kernel_val N/A zth N/A N/A KTH eval N/A N/A KTH conv2d xth kernel_th N/A ztf N/A N/A KTF eval N/A N/A KTF conv2d xtf kernel_tf N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A input_shape N/A 1 6 5 3 N/A kernel_shape N/A 3 3 3 2 N/A xval N/A N/A N/A np random random input_shape N/A xth N/A N/A KTH variable xval N/A xtf N/A N/A KTF variable xval N/A kernel_val N/A N/A N/A N/A np random random kernel_shape 0.5 N/A kernel_th N/A N/A KTH variable N/A convert_kernel kernel_val dim_ordering tf N/A kernel_tf N/A N/A KTF variable kernel_val N/A zth N/A N/A KTH eval N/A N/A KTH conv2d xth kernel_th dim_ordering tf N/A ztf N/A N/A KTF eval N/A N/A KTF conv2d xtf kernel_tf dim_ordering tf N/A N/A N/A zth shape N/A ztf shape N/A N/A assert_allclose zth ztf atol 1e-05 N/A test_pool2d N/A N/A self N/A N/A N/A N/A check_single_tensor_operation pool2d N/A 5 3 10 12 pool_size N/A 2 2 strides N/A 1 1 border_mode valid N/A N/A check_single_tensor_operation pool2d N/A 5 3 9 11 pool_size N/A 2 2 strides N/A 1 1 border_mode valid N/A N/A check_single_tensor_operation pool2d N/A 5 3 9 11 pool_size N/A 2 3 strides N/A 1 1 border_mode valid N/A test_random_normal N/A N/A self N/A N/A N/A mean 0.0 N/A std 1.0 N/A rand N/A N/A KTF eval N/A N/A KTF random_normal N/A 1000 1000 mean mean std std N/A N/A N/A rand shape N/A 1000 1000 N/A N/A N/A N/A np abs N/A N/A N/A np mean rand mean 0.01 N/A N/A N/A N/A np abs N/A N/A N/A np std rand std 0.01 N/A rand N/A N/A KTH eval N/A N/A KTH random_normal N/A 1000 1000 mean mean std std N/A N/A N/A rand shape N/A 1000 1000 N/A N/A N/A N/A np abs N/A N/A N/A np mean rand mean 0.01 N/A N/A N/A N/A np abs N/A N/A N/A np std rand std 0.01 N/A test_random_uniform N/A N/A self N/A N/A N/A min -1.0 N/A max 1.0 N/A rand N/A N/A KTF eval N/A N/A KTF random_uniform N/A 1000 1000 min max N/A N/A N/A rand shape N/A 1000 1000 N/A N/A N/A N/A np abs N/A N/A np mean rand 0.01 N/A N/A N/A N/A np max rand max N/A N/A N/A N/A np min rand min N/A rand N/A N/A KTH eval N/A N/A KTH random_uniform N/A 1000 1000 min max N/A N/A N/A rand shape N/A 1000 1000 N/A N/A N/A N/A np abs N/A N/A np mean rand 0.01 N/A N/A N/A N/A np max rand max N/A N/A N/A N/A np min rand min N/A test_random_binomial N/A N/A self N/A N/A N/A p 0.5 N/A rand N/A N/A KTF eval N/A N/A KTF random_binomial N/A 1000 1000 p N/A N/A N/A rand shape N/A 1000 1000 N/A N/A N/A N/A np abs N/A N/A N/A np mean rand p 0.01 N/A N/A N/A N/A np max rand 1 N/A N/A N/A N/A np min rand 0 N/A rand N/A N/A KTH eval N/A N/A KTH random_binomial N/A 1000 1000 p N/A N/A N/A rand shape N/A 1000 1000 N/A N/A N/A N/A np abs N/A N/A N/A np mean rand p 0.01 N/A N/A N/A N/A np max rand 1 N/A N/A N/A N/A np min rand 0 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A pytest main N/A __file__