Home
last modified time | relevance | path

Searched refs:kMaxIterations (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dparameterized_truncated_normal_op_gpu.cu.cc47 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 …]
Dparameterized_truncated_normal_op.cc49 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/
Dsystem_clock_facade_test.cc47 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/
DTestAffineLoopUnswitching.cpp34 constexpr static unsigned kMaxIterations = 5; member
52 } while (++i < kMaxIterations); in runOnFunction()
/external/dng_sdk/source/
Ddng_1d_function.cpp41 const uint32 kMaxIterations = 30; in EvaluateInverse() local
50 for (uint32 iteration = 0; iteration < kMaxIterations; iteration++) in EvaluateInverse()
Ddng_lens_correction.cpp201 const uint32 kMaxIterations = 30; in EvaluateInverse() local
212 for (uint32 iteration = 0; iteration < kMaxIterations; iteration++) in EvaluateInverse()
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_runner.cc62 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/
Dbenchmark_runner.cc62 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/
Dbenchmark_runner.cc62 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/
Dbenchmark.cc107 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/
Dxla_cluster_util.cc495 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/
DCppAssetManager2.java905 final int kMaxIterations = 20; in ResolveReference() local
908 in_out_value.get().data != 0 && iteration < kMaxIterations; in ResolveReference()
/external/tensorflow/tensorflow/core/framework/
Dmodel.cc1803 constexpr int64 kMaxIterations = 1000; in OptimizeGradientDescent() local
1812 for (int i = 0; i < kMaxIterations && in OptimizeGradientDescent()