Home
last modified time | relevance | path

Searched full:repeats (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_util_test.py48 repeats=[3, 0, 2],
53 repeats=[2, 3],
58 repeats=[2, 3],
62 # Scalar repeats value
65 repeats=2,
70 repeats=2,
75 repeats=2,
79 # data & repeats are broadcast to have at least one dimension,
81 dict(data=3, repeats=4, axis=0, expected=[3, 3, 3, 3]),
82 dict(data=[3], repeats=4, axis=0, expected=[3, 3, 3, 3]),
[all …]
Dragged_util.py66 def repeat_ranges(params, splits, repeats): argument
67 """Repeats each range of `params` (as specified by `splits`) `repeats` times.
71 containing range 0 repeated `repeats[0]` times, followed by range 1 repeated
72 `repeats[1]`, ..., followed by the last range repeated `repeats[-1]` times.
78 repeats: The number of times each range should be repeated. Supports
89 ... repeats=tf.constant(3)))
93 # Divide `splits` into starts and limits, and repeat them `repeats` times.
94 if repeats.shape.ndims != 0:
95 repeated_starts = repeat(splits[:-1], repeats, axis=0)
96 repeated_limits = repeat(splits[1:], repeats, axis=0)
[all …]
Dragged_tensor_shape.py296 dimension[axis] with tf.where(lengths==axis, 1, axis) repeats.
300 lengths repeats. (we can skip tiling if we statically know that
388 repeats = array_ops.where(math_ops.equal(axis_dim_size, 1), lengths, 1)
393 repeats = lengths
403 ragged_util.repeat_ranges(dim_size, splits, repeats))
602 def _ragged_tile_axis(rt_input, axis, repeats, row_splits_dtype): argument
612 _ragged_tile_axis(rt_input.values, axis - 1, repeats,
619 dst_row_lengths = [repeats]
622 ragged_util.repeat_ranges(src_row_lengths[i], splits, repeats))
625 repeats)
/external/autotest/server/site_tests/platform_MTBF/
Dspera_config.json227 {"test": "meet-basic-2", "repeats": 1}, number
228 {"test": "meet-basic-small", "repeats": 1}, number
229 {"test": "meet-basic-large", "repeats": 1}, number
230 {"test": "meet-basic-class", "repeats": 1}, number
231 {"test": "meet-plus-large", "repeats": 1}, number
232 {"test": "meet-plus-class", "repeats": 1}, number
233 {"test": "meet-premium-large", "repeats": 1}, number
234 {"test": "tabswitch-basic-noproxy", "repeats": 1}, number
235 {"test": "tabswitch-plus-noproxy", "repeats": 1}, number
236 {"test": "tabswitch-premium-noproxy", "repeats": 1}, number
[all …]
Dgenerate_performance_cuj.py29 'repeats': 3
33 'repeats': 3
37 'repeats': 3
41 'repeats': 3
45 'repeats': 3
49 'repeats': 3
53 'repeats': 3
57 'repeats': 3
61 'repeats': 3
65 'repeats': 3
[all …]
Dgenerate_tests.py142 def _calculate_suffix(current_index, repeats): argument
144 if repeats == 1:
147 digits = len(str(repeats))
160 repeats = test['repeats']
164 for i in range(repeats):
167 _calculate_suffix(i + 1, repeats))
/external/libcxx/utils/google-benchmark/test/
Dreporter_output_test.cc262 {{"^BM_Repeat/repeats:2 %console_report$"},
263 {"^BM_Repeat/repeats:2 %console_report$"},
264 {"^BM_Repeat/repeats:2_mean %console_time_only_report [ ]*2$"},
265 {"^BM_Repeat/repeats:2_median %console_time_only_report [ ]*2$"},
266 {"^BM_Repeat/repeats:2_stddev %console_time_only_report [ ]*2$"}});
267 ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Repeat/repeats:2\",$"},
268 {"\"run_name\": \"BM_Repeat/repeats:2\"", MR_Next},
270 {"\"name\": \"BM_Repeat/repeats:2\",$"},
271 {"\"run_name\": \"BM_Repeat/repeats:2\",$", MR_Next},
273 {"\"name\": \"BM_Repeat/repeats:2_mean\",$"},
[all …]
Ddisplay_aggregates_only_test.cc22 if (SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3") != 6 || in main()
23 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3\"") != 3 || in main()
24 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_mean\"") != 1 || in main()
25 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_median\"") != in main()
27 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"") != in main()
30 "occurrences of \"BM_SummaryRepeat/repeats:3\" substring:\n" in main()
31 "\"name\": \"BM_SummaryRepeat/repeats:3\", " in main()
32 "\"name\": \"BM_SummaryRepeat/repeats:3\", " in main()
33 "\"name\": \"BM_SummaryRepeat/repeats:3\", " in main()
34 "\"name\": \"BM_SummaryRepeat/repeats:3_mean\", " in main()
[all …]
Duser_counters_thousands_test.cc32 {"^BM_Counters_Thousands/repeats:2 %console_report "
36 {"^BM_Counters_Thousands/repeats:2 %console_report "
40 {"^BM_Counters_Thousands/repeats:2_mean %console_report "
44 {"^BM_Counters_Thousands/repeats:2_median %console_report "
48 {"^BM_Counters_Thousands/repeats:2_stddev %console_time_only_report [ "
53 {{"\"name\": \"BM_Counters_Thousands/repeats:2\",$"},
54 {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next},
67 {{"\"name\": \"BM_Counters_Thousands/repeats:2\",$"},
68 {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next},
81 {{"\"name\": \"BM_Counters_Thousands/repeats:2_mean\",$"},
[all …]
Dreport_aggregates_only_test.cc22 if (SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3") != 3 || in main()
23 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_mean\"") != 1 || in main()
24 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_median\"") != in main()
26 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"") != in main()
29 "occurrences of \"BM_SummaryRepeat/repeats:3\" substring:\n" in main()
30 "\"name\": \"BM_SummaryRepeat/repeats:3_mean\", " in main()
31 "\"name\": \"BM_SummaryRepeat/repeats:3_median\", " in main()
32 "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"\nThe entire " in main()
/external/google-benchmark/test/
Dreporter_output_test.cc378 {{"^BM_Repeat/repeats:2 %console_report$"},
379 {"^BM_Repeat/repeats:2 %console_report$"},
380 {"^BM_Repeat/repeats:2_mean %console_time_only_report [ ]*2$"},
381 {"^BM_Repeat/repeats:2_median %console_time_only_report [ ]*2$"},
382 {"^BM_Repeat/repeats:2_stddev %console_time_only_report [ ]*2$"}});
383 ADD_CASES(TC_JSONOut, {{"\"name\": \"BM_Repeat/repeats:2\",$"},
384 {"\"run_name\": \"BM_Repeat/repeats:2\"", MR_Next},
389 {"\"name\": \"BM_Repeat/repeats:2\",$"},
390 {"\"run_name\": \"BM_Repeat/repeats:2\",$", MR_Next},
395 {"\"name\": \"BM_Repeat/repeats:2_mean\",$"},
[all …]
Ddisplay_aggregates_only_test.cc22 if (SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3") != 6 || in main()
23 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3\"") != 3 || in main()
24 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_mean\"") != 1 || in main()
25 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_median\"") != in main()
27 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"") != in main()
30 "occurrences of \"BM_SummaryRepeat/repeats:3\" substring:\n" in main()
31 "\"name\": \"BM_SummaryRepeat/repeats:3\", " in main()
32 "\"name\": \"BM_SummaryRepeat/repeats:3\", " in main()
33 "\"name\": \"BM_SummaryRepeat/repeats:3\", " in main()
34 "\"name\": \"BM_SummaryRepeat/repeats:3_mean\", " in main()
[all …]
Duser_counters_thousands_test.cc32 {"^BM_Counters_Thousands/repeats:2 %console_report "
36 {"^BM_Counters_Thousands/repeats:2 %console_report "
40 {"^BM_Counters_Thousands/repeats:2_mean %console_report "
44 {"^BM_Counters_Thousands/repeats:2_median %console_report "
48 {"^BM_Counters_Thousands/repeats:2_stddev %console_time_only_report [ "
53 {{"\"name\": \"BM_Counters_Thousands/repeats:2\",$"},
54 {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next},
70 {{"\"name\": \"BM_Counters_Thousands/repeats:2\",$"},
71 {"\"run_name\": \"BM_Counters_Thousands/repeats:2\",$", MR_Next},
87 {{"\"name\": \"BM_Counters_Thousands/repeats:2_mean\",$"},
[all …]
Dreport_aggregates_only_test.cc22 if (SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3") != 3 || in main()
23 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_mean\"") != 1 || in main()
24 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_median\"") != in main()
26 SubstrCnt(output, "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"") != in main()
29 "occurrences of \"BM_SummaryRepeat/repeats:3\" substring:\n" in main()
30 "\"name\": \"BM_SummaryRepeat/repeats:3_mean\", " in main()
31 "\"name\": \"BM_SummaryRepeat/repeats:3_median\", " in main()
32 "\"name\": \"BM_SummaryRepeat/repeats:3_stddev\"\nThe entire " in main()
/external/eigen/bench/
Dspmv.cpp11 #define SPMV_BENCH(CODE) BENCH(t,tries,repeats,CODE);
44 int repeats = 2; in main() local
67 repeats = atoi(argv[i]+1); in main()
76 …cout << argv[0] << " r<nb rows> c<nb columns> n<non zeros per column> t<nb tries> p<nb repeats>\n"; in main()
80 …<< cols << " with " << nnzPerCol << " non zeros per column. (" << repeats << " repeats, and " << t… in main()
100 std::cout << "Dense " << t.value()/repeats << "\t"; in main()
103 std::cout << t.value()/repeats << endl; in main()
110 std::cout << "Eigen " << t.value()/repeats << "\t"; in main()
113 std::cout << t.value()/repeats << endl; in main()
143 std::cout << "OSKI " << t.value()/repeats << "\t"; in main()
[all …]
DbenchCholesky.cpp40 int repeats = (REPEAT*1000)/(rows*rows); in benchLLT() local
56 for (int k=0; k<repeats; ++k) in benchLLT()
67 for (int k=0; k<repeats; ++k) in benchLLT()
80 << (timerNoSqrt.best()) / repeats << "s " in benchLLT()
81 << "(" << 1e-9 * cost*repeats/timerNoSqrt.best() << " GFLOPS)\t" in benchLLT()
82 << (timerSqrt.best()) / repeats << "s " in benchLLT()
83 << "(" << 1e-9 * cost*repeats/timerSqrt.best() << " GFLOPS)\n"; in benchLLT()
98 for (int k=0; k<repeats; ++k) in benchLLT()
108 << timerSqrt.value() * REPEAT / repeats << "s"; in benchLLT()
Dbench_reverse.cpp24 int repeats = (REPEAT*1000)/size; in bench_reverse() local
36 for (int k=0; k<repeats; ++k) in bench_reverse()
51 << (timerB.value() * REPEAT) / repeats << "s " in bench_reverse()
52 << "(" << 1e-6 * size*repeats/timerB.value() << " MFLOPS)\t"; in bench_reverse()
/external/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp88 // b. Run wins for 2+ repeats " gid gid adv.ances" in SkPDFMakeCIDGlyphWidthsArray()
90 // rule: 2+ repeats create run as long as possible, else start range in SkPDFMakeCIDGlyphWidthsArray()
99 // e. Switching for 2+ repeats and 4+ don't cares wins " 0 0 adv.ances 0 0 adv.ances" in SkPDFMakeCIDGlyphWidthsArray()
100 // rule: end range for 2+ repeats with 4+ don't cares in SkPDFMakeCIDGlyphWidthsArray()
101 // f. Switching for 3+ repeats wins " adv.ances adv.ances adv.ances" in SkPDFMakeCIDGlyphWidthsArray()
102 // rule: end range for 3+ repeats in SkPDFMakeCIDGlyphWidthsArray()
139 // b. 2+ repeats create run as long as possible, else start range in SkPDFMakeCIDGlyphWidthsArray()
178 // e. end range for 2+ repeats with 4+ don't cares in SkPDFMakeCIDGlyphWidthsArray()
187 // f. end range for 3+ repeats in SkPDFMakeCIDGlyphWidthsArray()
/external/tensorflow/tensorflow/compiler/tests/
Drepeat_op_test.py31 def repeat(values, repeats, axis): argument
32 return array_ops.repeat(values, repeats, axis)
37 repeats = array_ops.constant([1, 2], dtype=dtypes.int32)
38 y1 = repeat(values, repeats, 0)
39 y2 = repeat(values, repeats, 1)
/external/igt-gpu-tools/tests/i915/
Dgem_exec_latency.c123 unsigned repeats = ring_size; in latency_on_ring() local
163 for (j = 0; j < repeats; j++) { in latency_on_ring()
194 for (j = 0; j < repeats; j++) { in latency_on_ring()
213 gpu_latency = (results[repeats-1] - results[0]) / (double)(repeats-1); in latency_on_ring()
219 for (j = 0; j < repeats - 1; j++) { in latency_on_ring()
246 (end - start) / (double)repeats * rcs_clock, in latency_on_ring()
248 (results[repeats - 1] - results[0]) / (double)(repeats - 1) * rcs_clock); in latency_on_ring()
267 const unsigned int repeats = ring_size / 2; in latency_from_ring() local
333 for (j = 0; j < repeats; j++) { in latency_from_ring()
364 execbuf.batch_start_offset = 64 * (j + repeats); in latency_from_ring()
[all …]
/external/toybox/toys/posix/
Duniq.c33 long repeats;
53 if (TT.repeats ? FLAG(u) : FLAG(d)) return; in print_line()
54 if (FLAG(c)) fprintf(f, "%7lu ", TT.repeats + 1); in print_line()
90 if (!diff) TT.repeats++; in uniq_main()
94 TT.repeats = 0; in uniq_main()
/external/tensorflow/tensorflow/python/ops/
Daccumulate_n_benchmark.py92 def _SetupAndRunBenchmark(self, graph, inputs, repeats, format_args): argument
109 for _ in range(repeats):
115 def _RunBenchmark(self, tag, input_fn, sizes, ninputs, repeats): argument
122 format_args = (tag, size, ninput, repeats)
123 self._SetupAndRunBenchmark(graph, inputs, repeats, format_args)
130 "repeats": 100
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dflat_map_test.py47 repeats = [1, 2, 3, 4, 5, 0, 1]
48 components = np.array(repeats, dtype=np.int64)
52 for i in repeats:
58 repeats = [[1, 2], [3, 4], [5, 0], [1, 7]]
59 components = np.array(repeats, dtype=np.int64)
65 for row in repeats:
72 repeats = [[1, 2], [3, 4], [5, 0], [1, 7]]
73 components = np.array(repeats, dtype=np.int64)
93 for row in repeats:
/external/xz-java/src/
DTestAllocSpeed.java34 private static int repeats; field in TestAllocSpeed
51 for (int i = 0; i < repeats; ++i) { in compress()
63 for (int i = 0; i < repeats; ++i) { in decompress()
84 repeats = Integer.parseInt(args[1]); in main()
/external/zlib/contrib/bench/
Dzlib_bench.cc281 * Run the zlib compress/uncompress loop a few times with |repeats| to in zlib_file()
286 const int repeats = (10 * mega_byte + length) / (length + 1); in zlib_file() local
300 for (int r = 0; r < repeats; ++r) in zlib_file()
313 for (int r = 0; r < repeats; ++r) in zlib_file()
332 double deflate_rate_med = length * repeats / mega_byte / ctime[runs / 2]; in zlib_file()
333 double inflate_rate_med = length * repeats / mega_byte / utime[runs / 2]; in zlib_file()
334 double deflate_rate_max = length * repeats / mega_byte / ctime[0]; in zlib_file()
335 double inflate_rate_max = length * repeats / mega_byte / utime[0]; in zlib_file()

12345678910>>...21