Searched refs:rand_num (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/ |
D | random_choice_op.cc | 80 size_t rand_num = rand_int_(gen_); in Compute() local 81 …CHECK_FAIL_RETURN_UNEXPECTED(rand_num < ops_.size(), "invalid rand_num:" + std::to_string(rand_num… in Compute() 82 RETURN_IF_NOT_OK(ops_[rand_num]->Compute(input, output)); in Compute()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | random_select_subpolicy_op.cc | 27 size_t rand_num = rand_int_(gen_); in Compute() local 28 CHECK_FAIL_RETURN_UNEXPECTED(rand_num < policy_.size(), in Compute() 31 std::to_string(rand_num)); in Compute() 32 for (auto &sub : policy_[rand_num]) { in Compute()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | rcwm_small_impl.cu | 89 T rand_num = input[i] ? __uint2float_rn(curand(&devState)) : init_K; in L2Rcwm() local 90 LEFT_INSERT_THREAD_QUEUE(rand_num, i); in L2Rcwm() 109 T rand_num = input[i] ? __uint2float_rn(curand(&devState)) : init_K; in L2Rcwm() local 110 LEFT_INSERT_THREAD_QUEUE(rand_num, i); in L2Rcwm()
|
/third_party/boost/libs/graph/test/ |
D | random_matching_test.cpp | 54 rand_num(generator, distribution); in main() local 61 vertex_descriptor_t u = random_vertex(g, rand_num); in main() 62 vertex_descriptor_t v = random_vertex(g, rand_num); in main()
|
D | matching_test.cpp | 315 rand_num(generator, distribution); in matching_test() local 322 vertex_descriptor_t u = random_vertex(j, rand_num); in matching_test() 323 vertex_descriptor_t v = random_vertex(j, rand_num); in matching_test()
|
/third_party/ltp/utils/benchmark/ebizzy-0.3/ |
D | ebizzy.c | 351 static inline unsigned int rand_num(unsigned int max, unsigned int *state) in rand_num() function 379 chunk = rand_num(chunks, &state); in search_mem() 386 copy_size = (rand_num(chunk_size / record_size, &state) in search_mem() 399 key = rand_num(copy_size / record_size, &state); in search_mem()
|
/third_party/e2fsprogs/misc/ |
D | e2fuzz.c | 167 static uint64_t rand_num(uint64_t min, uint64_t max) in rand_num() function 269 count = rand_num(0, corrupt_bytes / 100); in process_fs() 273 off = rand_num(offset, hsize); in process_fs()
|