Home
last modified time | relevance | path

Searched refs:rand_bool (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/tests/st/numpy_native/
Dtest_logic_ops.py23 from .utils import rand_int, rand_bool, run_binop_test, run_logical_test, match_res, \
64 rand_bool(),
65 rand_bool(5),
66 rand_bool(6, 1),
67 rand_bool(7, 1, 5),
68 rand_bool(8, 1, 6, 1)
Dtest_array_creations.py22 from .utils import rand_int, rand_bool, match_array, match_res, match_meta, \
88 rand_bool(),
89 rand_bool(1),
90 rand_bool(5),
91 rand_bool(6, 1),
92 rand_bool(7, 1, 5),
93 rand_bool(8, 1, 6, 1),
Dtest_array_ops.py27 rand_bool, match_res, run_multi_test, to_tensor, match_all_arrays
93 rand_bool(),
94 rand_bool(1),
95 rand_bool(5),
96 rand_bool(6, 1),
97 rand_bool(7, 1, 5),
98 rand_bool(8, 1, 6, 1),
1244 condlist = rand_bool(5, 4, 1, 3)
1249 condlist = rand_bool(3, 1, 7)
Dutils.py88 def rand_bool(*shape): function
Dtest_math_ops.py23 from .utils import rand_int, rand_bool, run_binop_test, run_unary_test, run_multi_test, \
67 rand_bool(),
68 rand_bool(1),
69 rand_bool(5),
70 rand_bool(6, 1),
71 rand_bool(7, 1, 5),
72 rand_bool(8, 1, 6, 1),
1002 mask = rand_bool(2, 3, 4, 5)
1039 mask = rand_bool(2, 3, 4, 5)