Searched refs:num_tries (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | range_sampler.cc | 66 static float ExpectedCountHelper(float p, int batch_size, int num_tries) { in ExpectedCountHelper() argument 67 if (num_tries == batch_size) { in ExpectedCountHelper() 72 return -expm1(num_tries * log1p(-p)); in ExpectedCountHelper() 83 int num_tries; in SampleBatchGetExpectedCountAvoid() local 90 num_tries = 0; in SampleBatchGetExpectedCountAvoid() 92 num_tries++; in SampleBatchGetExpectedCountAvoid() 93 CHECK_LT(num_tries, kint32max); in SampleBatchGetExpectedCountAvoid() 105 num_tries = batch_size; in SampleBatchGetExpectedCountAvoid() 112 ExpectedCountHelper(Probability(batch[i]), batch_size, num_tries); in SampleBatchGetExpectedCountAvoid() 118 ExpectedCountHelper(Probability(extras[i]), batch_size, num_tries); in SampleBatchGetExpectedCountAvoid()
|
/external/u-boot/drivers/video/exynos/ |
D | exynos_dp.c | 939 int num_tries; in exynos_dp_bridge_init() local 958 for (num_tries = 0; num_tries < max_tries; num_tries++) { in exynos_dp_bridge_init() 965 __func__, num_tries, max_tries); in exynos_dp_bridge_init() 975 int num_tries; in exynos_dp_bridge_setup() local 991 for (num_tries = 0; num_tries < max_tries; num_tries++) { in exynos_dp_bridge_setup() 995 if (num_tries == max_tries - 1) in exynos_dp_bridge_setup()
|
/external/autotest/server/site_tests/cellular_StaleModemReboot/ |
D | cellular_StaleModemReboot.py | 236 num_tries = 0 247 if num_tries == tries: 253 num_tries += 1
|
/external/autotest/server/cros/cfm/configurable_test/ |
D | actions.py | 337 def __init__(self, action, num_tries, retry_delay_seconds=1): argument 350 if num_tries < 1: 351 raise ValueError('num_tries must be > 0. Was %s' % num_tries) 353 self._num_tries = num_tries
|
/external/autotest/client/common_lib/cros/ |
D | chrome.py | 54 num_tries=3, extra_browser_args=None, argument 219 for i in range(num_tries): 243 if i == num_tries-1:
|
/external/toolchain-utils/binary_search_tool/ |
D | binary_search_perforce.py | 479 num_tries = int(options.num_tries) 486 while not terminated and num_tries > 0: 497 num_tries -= 1 502 'Tries: %d expired.' % num_tries, print_to_console=verbose)
|
/external/autotest/client/site_tests/cheets_StartAndroid_P/ |
D | cheets_StartAndroid_P.py | 79 num_tries=3)
|
/external/autotest/client/site_tests/cheets_StartAndroid/ |
D | cheets_StartAndroid.py | 79 num_tries=3)
|
/external/autotest/client/bin/ |
D | vm_sanity.py | 63 with chrome.Chrome(arc_mode=arc_mode, num_tries=1) as cr:
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | crash_generation_server.cc | 160 int num_tries = 100; in ~CrashGenerationServer() local 161 while (num_tries-- && server_state_ != IPC_SERVER_STATE_ERROR) { in ~CrashGenerationServer()
|
/external/webp/src/enc/ |
D | histogram_enc.c | 953 const int num_tries = (*num_used) / 2; in HistogramCombineStochastic() local 956 for (j = 0; *num_used >= 2 && j < num_tries; ++j) { in HistogramCombineStochastic()
|
/external/u-boot/drivers/ddr/altera/ |
D | sequencer.c | 1367 const u32 num_tries, const u32 all_correct, in rw_mgr_mem_calibrate_read_test() argument 1480 rw_mgr_mem_calibrate_read_test_all_ranks(const u32 grp, const u32 num_tries, in rw_mgr_mem_calibrate_read_test_all_ranks() argument 1485 return rw_mgr_mem_calibrate_read_test(0, grp, num_tries, all_correct, in rw_mgr_mem_calibrate_read_test_all_ranks()
|