/external/tensorflow/tensorflow/core/kernels/ |
D | parameterized_truncated_normal_op_gpu.cu.cc | 47 static constexpr int kMaxIterations = 1000; variable 60 int64 kMaxIterations) { in TruncatedNormalKernel() argument 61 const int32 max_samples_per_item = 2 * kMaxIterations; in TruncatedNormalKernel() 138 while (numIterations < kMaxIterations) { in TruncatedNormalKernel() 144 numIterations = kMaxIterations; in TruncatedNormalKernel() 146 } else if (numIterations + 1 == kMaxIterations) { in TruncatedNormalKernel() 150 numIterations = kMaxIterations; in TruncatedNormalKernel() 168 while (numIterations < kMaxIterations) { in TruncatedNormalKernel() 186 numIterations = kMaxIterations; in TruncatedNormalKernel() 188 } else if (numIterations + 1 >= kMaxIterations) { in TruncatedNormalKernel() [all …]
|
D | parameterized_truncated_normal_op.cc | 49 static constexpr int kMaxIterations = 1000; variable 82 gen_copy.Skip(start_batch * 2 * kMaxIterations * (samples_per_batch + 3) / in operator ()() 167 if (num_iterations > kMaxIterations) { in operator ()() 176 << " kMaxIterations=" << kMaxIterations; in operator ()() 205 if (accept || num_iterations + 1 >= kMaxIterations) { in operator ()() 252 if (accept || num_iterations + 1 >= kMaxIterations) { in operator ()() 350 gen_copy.Skip((start_output * 2 * kMaxIterations + in operator ()() 452 if (num_iterations > kMaxIterations) { in operator ()() 461 << " kMaxIterations=" << kMaxIterations; in operator ()() 489 if (accept || num_iterations + 1 >= kMaxIterations) { in operator ()() [all …]
|
/external/pigweed/pw_chrono/ |
D | system_clock_facade_test.cc | 47 constexpr uint64_t kMaxIterations = 6'000'000'000 / 10; variable 53 for (uint64_t i = 0; i < kMaxIterations; ++i) { in TEST() 67 for (uint64_t i = 0; i < kMaxIterations; ++i) { in TEST() 81 for (uint64_t i = 0; i < kMaxIterations; ++i) { in TEST()
|
/external/llvm-project/mlir/test/lib/Dialect/Affine/ |
D | TestAffineLoopUnswitching.cpp | 34 constexpr static unsigned kMaxIterations = 5; member 52 } while (++i < kMaxIterations); in runOnFunction()
|
/external/dng_sdk/source/ |
D | dng_1d_function.cpp | 41 const uint32 kMaxIterations = 30; in EvaluateInverse() local 50 for (uint32 iteration = 0; iteration < kMaxIterations; iteration++) in EvaluateInverse()
|
D | dng_lens_correction.cpp | 201 const uint32 kMaxIterations = 30; in EvaluateInverse() local 212 for (uint32 iteration = 0; iteration < kMaxIterations; iteration++) in EvaluateInverse()
|
/external/libcxx/utils/google-benchmark/src/ |
D | benchmark_runner.cc | 62 static const size_t kMaxIterations = 1000000000; variable 260 const size_t next_iters = std::min(max_next_iters, kMaxIterations); in PredictNumItersNeeded() 271 i.iters >= kMaxIterations || // Too many iterations already. in ShouldReportIterationResults()
|
/external/google-benchmark/src/ |
D | benchmark_runner.cc | 62 static constexpr IterationCount kMaxIterations = 1000000000; variable 270 const IterationCount next_iters = std::min(max_next_iters, kMaxIterations); in PredictNumItersNeeded() 281 i.iters >= kMaxIterations || // Too many iterations already. in ShouldReportIterationResults()
|
/external/llvm-project/libcxx/utils/google-benchmark/src/ |
D | benchmark_runner.cc | 62 static const size_t kMaxIterations = 1000000000; variable 260 const size_t next_iters = std::min(max_next_iters, kMaxIterations); in PredictNumItersNeeded() 271 i.iters >= kMaxIterations || // Too many iterations already. in ShouldReportIterationResults()
|
/external/llvm-project/llvm/utils/benchmark/src/ |
D | benchmark.cc | 107 static const size_t kMaxIterations = 1000000000; variable 242 || iters >= kMaxIterations // No chance to try again, we hit the limit. in RunBenchmark() 269 if (next_iters > kMaxIterations) { in RunBenchmark() 270 next_iters = kMaxIterations; in RunBenchmark()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_cluster_util.cc | 495 const int kMaxIterations = 10 * 1000; in GetNodesRelatedToRefVariablesInDirection() local 514 TF_RET_CHECK(iterations++ < kMaxIterations) << "infinite loop?"; in GetNodesRelatedToRefVariablesInDirection()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | CppAssetManager2.java | 905 final int kMaxIterations = 20; in ResolveReference() local 908 in_out_value.get().data != 0 && iteration < kMaxIterations; in ResolveReference()
|
/external/tensorflow/tensorflow/core/framework/ |
D | model.cc | 1803 constexpr int64 kMaxIterations = 1000; in OptimizeGradientDescent() local 1812 for (int i = 0; i < kMaxIterations && in OptimizeGradientDescent()
|