Searched refs:run_binop_test (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/tests/st/numpy_native/ |
D | test_logic_ops.py | 23 from .utils import rand_int, rand_bool, run_binop_test, run_logical_test, match_res, \ 93 run_binop_test(mnp_not_equal, onp_not_equal, test_case) 111 run_binop_test(mnp_less_equal, onp_less_equal, test_case) 129 run_binop_test(mnp_less, onp_less, test_case) 147 run_binop_test(mnp_greater_equal, onp_greater_equal, test_case) 165 run_binop_test(mnp_greater, onp_greater, test_case) 177 run_binop_test(mnp_equal, onp_equal, test_case)
|
D | test_math_ops.py | 23 from .utils import rand_int, rand_bool, run_binop_test, run_unary_test, run_multi_test, \ 179 run_binop_test(mnp_add, onp_add, test_case) 189 run_binop_test(mnp_subtract, onp_subtract, test_case) 199 run_binop_test(mnp_mutiply, onp_multiply, test_case) 209 run_binop_test(mnp_divide, onp_divide, test_case) 219 run_binop_test(mnp_true_divide, onp_true_divide, test_case) 229 run_binop_test(mnp_power, onp_power, test_case, error=1e-5) 239 run_binop_test(mnp_float_power, onp_float_power, test_case, error=1e-5) 247 run_binop_test(mnp_minimum, onp_minimum, test_case) 595 run_binop_test(mnp_outer, onp_outer, test_case) [all …]
|
D | utils.py | 122 def run_binop_test(mnp_fn, onp_fn, test_case, error=0): function
|