Home
last modified time | relevance | path

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

/external/skqp/tools/skpbench/
Dskpbench.py181 def __init__(self, src, config, max_stddev, best_result=None): argument
185 self.best_result = best_result
248 if not self.best_result or result.stddev <= self.best_result.stddev:
249 self.best_result = result
253 (result.config, result.bench, self.best_result.stddev,
255 if self.max_stddev and self.best_result.stddev > self.max_stddev:
289 if skpbench.best_result:
290 emit_result(skpbench.best_result.format(FLAGS.suffix),
301 (skpbench.best_result.config, skpbench.best_result.bench,
302 skpbench.best_result.stddev, skpbench.max_stddev,
[all …]
/external/skia/tools/skpbench/
Dskpbench.py207 def __init__(self, src, config, max_stddev, best_result=None): argument
211 self.best_result = best_result
274 if not self.best_result or result.stddev <= self.best_result.stddev:
275 self.best_result = result
279 (result.config, result.bench, self.best_result.stddev,
281 if self.max_stddev and self.best_result.stddev > self.max_stddev:
315 if skpbench.best_result:
316 emit_result(skpbench.best_result.format(FLAGS.suffix),
327 (skpbench.best_result.config, skpbench.best_result.bench,
328 skpbench.best_result.stddev, skpbench.max_stddev,
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dbias_op.cc534 BiasGradGPUProfileResult best_result; in Compute() local
545 if (elapsed_microseconds < best_result.elapsed_time()) { in Compute()
546 best_result.set_algorithm(BiasAddGradGPUMode::kNative); in Compute()
547 best_result.set_elapsed_time(elapsed_microseconds); in Compute()
559 if (elapsed_microseconds < best_result.elapsed_time()) { in Compute()
560 best_result.set_algorithm(BiasAddGradGPUMode::kReduction); in Compute()
561 best_result.set_elapsed_time(elapsed_microseconds); in Compute()
564 algo_config.set_mode(best_result.algorithm()); in Compute()
Dcudnn_rnn_ops.cc1697 ProfileResult best_result; in MaybeAutoTune() local
1755 if (total_time < best_result.elapsed_time_in_ms()) { in MaybeAutoTune()
1756 best_result.set_elapsed_time_in_ms(total_time); in MaybeAutoTune()
1757 best_result.set_algorithm(algo); in MaybeAutoTune()
1761 if (!best_result.is_valid()) { in MaybeAutoTune()
1764 algo_config->set_algorithm(best_result.algorithm()); in MaybeAutoTune()
1766 << best_result.algorithm().algo_id() << ", " in MaybeAutoTune()
1767 << best_result.algorithm().tensor_ops_enabled() << ")."; in MaybeAutoTune()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgemm_algorithm_picker.cc216 const auto& best_result = absl::c_min_element( in DoUncachedGemmAutotune() local
222 if (best_result != profile_results.end() && !has_failure(*best_result)) { in DoUncachedGemmAutotune()
223 return {best_result->gemm().algorithm()}; in DoUncachedGemmAutotune()
Dgpu_conv_algorithm_picker.cc750 const auto& best_result = absl::c_min_element( in PickBestAlgorithmNoCacheRocm() local
757 if (best_result != profile_results.end()) { in PickBestAlgorithmNoCacheRocm()
758 return *best_result; in PickBestAlgorithmNoCacheRocm()
/external/toolchain-utils/bestflags/
Dtesting_batch.py277 def _TestAlgorithm(cost_func, specs, generations, best_result): argument
328 if best_result != -1:
329 assert best_result == result
/external/skia/tools/skqp/
Dfind_commit_with_best_gold_results.py100 best_result = max(r for h, r in results)
102 if r == best_result:
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp391 Shaper::Result best_result; in ShapeToFit() local
394 return best_result; in ShapeToFit()
432 best_result = std::move(res); in ShapeToFit()
448 return best_result; in ShapeToFit()
/external/python/cpython3/Modules/
Daudioop.c628 double sum_ri_2, sum_aij_2, sum_aij_ri, result, best_result, factor; in audioop_findfit_impl() local
651 best_result = result; in audioop_findfit_impl()
664 if ( result < best_result ) { in audioop_findfit_impl()
665 best_result = result; in audioop_findfit_impl()
743 double result, best_result; in audioop_findmax_impl() local
761 best_result = result; in audioop_findmax_impl()
770 if ( result > best_result ) { in audioop_findmax_impl()
771 best_result = result; in audioop_findmax_impl()
/external/python/cpython2/Modules/
Daudioop.c519 double sum_ri_2, sum_aij_2, sum_aij_ri, result, best_result, factor; in audioop_findfit() local
545 best_result = result; in audioop_findfit()
558 if ( result < best_result ) { in audioop_findfit()
559 best_result = result; in audioop_findfit()
612 double result, best_result; in audioop_findmax() local
630 best_result = result; in audioop_findmax()
639 if ( result > best_result ) { in audioop_findmax()
640 best_result = result; in audioop_findmax()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddetokenize.py120 def best_result(self) -> Optional[decode.FormattedString]: member in DetokenizedString
145 result = self.best_result()
/external/pigweed/pw_tokenizer/py/
Ddetokenize_test.py340 self.assertEqual(len(no_args.best_result()[1]), 0)
341 self.assertEqual(no_args.best_result()[0], 'newer')