Searched refs:onp_results (Results 1 – 1 of 1) sorted by relevance
/third_party/mindspore/tests/st/numpy_native/ |
D | utils.py | 37 def check_all_results(onp_results, mnp_results, error=0): argument 39 for i, _ in enumerate(onp_results): 40 match_array(onp_results[i], mnp_results[i].asnumpy()) 43 def check_all_unique_results(onp_results, mnp_results): argument 51 for i, _ in enumerate(onp_results): 52 if isinstance(onp_results[i], tuple): 53 for j in range(len(onp_results[i])): 54 match_array(onp_results[i][j], 57 match_array(onp_results[i], mnp_results[i].asnumpy(), error=7)
|