Home
last modified time | relevance | path

Searched refs:num_tries (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Drange_sampler.cc66 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/
Dexynos_dp.c939 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/
Dcellular_StaleModemReboot.py236 num_tries = 0
247 if num_tries == tries:
253 num_tries += 1
/external/autotest/server/cros/cfm/configurable_test/
Dactions.py337 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/
Dchrome.py54 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/
Dbinary_search_perforce.py479 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/
Dcheets_StartAndroid_P.py79 num_tries=3)
/external/autotest/client/site_tests/cheets_StartAndroid/
Dcheets_StartAndroid.py79 num_tries=3)
/external/autotest/client/bin/
Dvm_sanity.py63 with chrome.Chrome(arc_mode=arc_mode, num_tries=1) as cr:
/external/google-breakpad/src/client/windows/crash_generation/
Dcrash_generation_server.cc160 int num_tries = 100; in ~CrashGenerationServer() local
161 while (num_tries-- && server_state_ != IPC_SERVER_STATE_ERROR) { in ~CrashGenerationServer()
/external/webp/src/enc/
Dhistogram_enc.c953 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/
Dsequencer.c1367 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()