Home
last modified time | relevance | path

Searched refs:repeats (Results 1 – 25 of 138) sorted by relevance

123456

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_util_test.py53 repeats=[3, 0, 2],
58 repeats=[2, 3],
63 repeats=[2, 3],
70 repeats=2,
75 repeats=2,
80 repeats=2,
86 dict(data=3, repeats=4, axis=0, expected=[3, 3, 3, 3]),
87 dict(data=[3], repeats=4, axis=0, expected=[3, 3, 3, 3]),
88 dict(data=3, repeats=[4], axis=0, expected=[3, 3, 3, 3]),
89 dict(data=[3], repeats=[4], axis=0, expected=[3, 3, 3, 3]),
[all …]
Dragged_util.py113 def repeat(data, repeats, axis, name=None): argument
142 with ops.name_scope(name, "Repeat", [data, repeats]):
144 repeats = convert_to_int_tensor(repeats, name="repeats")
145 repeats.shape.with_rank_at_most(1)
155 if repeats.shape.ndims == 1:
156 data.shape.dims[axis].assert_is_compatible_with(repeats.shape[0])
159 if repeats.shape.ndims == 0:
161 tiled = tile_one_dimension(expanded, axis + 1, repeats)
167 if repeats.shape.ndims != axis + 1:
168 repeats_shape = array_ops.shape(repeats)
[all …]
Dragged_tensor_shape.py364 repeats = array_ops.where(math_ops.equal(axis_dim_size, 1), lengths, 1)
369 repeats = lengths
379 ragged_util.repeat_ranges(dim_size, splits, repeats))
549 def _ragged_tile_axis(rt_input, axis, repeats): argument
558 _ragged_tile_axis(rt_input.values, axis - 1, repeats))
564 dst_row_lengths = [repeats]
567 ragged_util.repeat_ranges(src_row_lengths[i], splits, repeats))
570 repeats)
Dragged_array_ops.py383 repeats = 1
386 splits = projected_splits[d][axis - 1] * repeats
389 repeats *= multiples[d + 1]
/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()
80 … " x " << cols << " with " << nnzPerCol << " non zeros per column. (" << repeats << " repeats, and… 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()
146 std::cout << t.value()/repeats << "\n"; in main()
[all …]
DbenchCholesky.cpp41 int repeats = (REPEAT*1000)/(rows*rows); in benchLLT() local
57 for (int k=0; k<repeats; ++k) in benchLLT()
68 for (int k=0; k<repeats; ++k) in benchLLT()
81 << (timerNoSqrt.best()) / repeats << "s " in benchLLT()
82 << "(" << 1e-9 * cost*repeats/timerNoSqrt.best() << " GFLOPS)\t" in benchLLT()
83 << (timerSqrt.best()) / repeats << "s " in benchLLT()
84 << "(" << 1e-9 * cost*repeats/timerSqrt.best() << " GFLOPS)\n"; in benchLLT()
99 for (int k=0; k<repeats; ++k) in benchLLT()
109 << 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/tensorflow/tensorflow/python/data/kernel_tests/
Dflat_map_test.py40 repeats = [1, 2, 3, 4, 5, 0, 1]
41 components = np.array(repeats, dtype=np.int64)
45 for i in repeats:
50 repeats = [[1, 2], [3, 4], [5, 0], [1, 7]]
51 components = np.array(repeats, dtype=np.int64)
57 for row in repeats:
65 repeats = [[1, 2], [3, 4], [5, 0], [1, 7]]
66 components = np.array(repeats, dtype=np.int64)
86 for row in repeats:
/external/curl/docs/examples/
Dmulti-single.c55 int repeats = 0; in main() local
91 repeats++; /* count number of repeated zero numfds */ in main()
92 if(repeats > 1) { in main()
97 repeats = 0; in main()
/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/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/tensorflow/tensorflow/python/ops/
Daccumulate_n_benchmark.py97 def _SetupAndRunBenchmark(self, graph, inputs, repeats, format_args): argument
114 for _ in xrange(repeats):
120 def _RunBenchmark(self, tag, input_fn, sizes, ninputs, repeats): argument
127 format_args = (tag, size, ninput, repeats)
128 self._SetupAndRunBenchmark(graph, inputs, repeats, format_args)
/external/linux-kselftest/tools/testing/selftests/vm/
Dgup_benchmark.c34 int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; in main() local
45 repeats = atoi(optarg); in main()
106 for (i = 0; i < repeats; i++) { in main()
/external/catch2/include/internal/
Dcatch_generators_generic.hpp100 RepeatGenerator(size_t repeats, GeneratorWrapper<T>&& generator): in RepeatGenerator() argument
102 m_target_repeats(repeats) in RepeatGenerator()
141 GeneratorWrapper<T> repeat(size_t repeats, GeneratorWrapper<T>&& generator) { in repeat() argument
142 … return GeneratorWrapper<T>(pf::make_unique<RepeatGenerator<T>>(repeats, std::move(generator))); in repeat()
/external/python/cpython3/Lib/test/
Dtest_bigmem.py195 repeats = size // len(chars) + 2
196 s = chars * repeats
205 repeats = size // len(whitespace) + 2
206 s = whitespace * repeats
227 repeats = size // len(chars) + 2
228 s = chars * repeats
427 repeats = size // sublen + 2
428 s = SUBSTR * repeats
430 self.assertEqual(len(s), sublen * repeats)
448 repeats = size // sublen + 2
[all …]
/external/python/cpython2/Lib/test/
Dtest_bigmem.py210 repeats = size // len(chars) + 2
211 s = chars * repeats
219 repeats = size // len(whitespace) + 2
220 s = whitespace * repeats
238 repeats = size // len(chars) + 2
239 s = chars * repeats
414 repeats = size // sublen + 2
415 s = SUBSTR * repeats
417 self.assertEqual(len(s), sublen * repeats)
434 repeats = size // sublen + 2
[all …]
/external/toolchain-utils/cros_utils/
Dpstat.py142 repeats = len(source) / len(addon) # repeat addon n times
144 for i in range(repeats - 1):
147 repeats = len(source) / len(addon) + 1 # repeat addon x times,
149 for i in range(repeats - 1):
154 repeats = len(addon) / len(source) # repeat source n times
156 for i in range(repeats - 1):
159 repeats = len(addon) / len(source) + 1 # repeat source x times,
161 for i in range(repeats - 1):
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseToDense.pbtxt40 lexicographic order and that there are no repeats.
62 contain any repeats. If `validate_indices` is true, these properties
Dapi_def_TileGrad.pbtxt5 Since `Tile` takes an input and repeats the input `multiples` times
/external/google-benchmark/src/
Dbenchmark_runner.cc134 repeats(b.repetitions != 0 ? b.repetitions in BenchmarkRunner()
152 for (int repetition_num = 0; repetition_num < repeats; repetition_num++) { in BenchmarkRunner()
179 const int repeats; member in benchmark::internal::__anonf8c2b1cd0111::BenchmarkRunner
/external/libcxx/utils/google-benchmark/src/
Dbenchmark_runner.cc134 repeats(b.repetitions != 0 ? b.repetitions in BenchmarkRunner()
152 for (int repetition_num = 0; repetition_num < repeats; repetition_num++) { in BenchmarkRunner()
179 const int repeats; member in benchmark::internal::__anonda4d22860111::BenchmarkRunner
/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.cc352 int32 repeats = -1; in AddArgToSig() local
353 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, arg_def.number_attr(), &repeats)); in AddArgToSig()
354 if (repeats < 0) { in AddArgToSig()
355 return errors::InvalidArgument("Value for number_attr() ", repeats, in AddArgToSig()
362 for (int i = 0; i < repeats; ++i) { in AddArgToSig()
366 for (int i = 0; i < repeats; ++i) { in AddArgToSig()
/external/libaom/libaom/test/
Dyuv_temporal_filter_test.cc464 for (int repeats = 0; repeats < num_repeats_; repeats++) { in CompareTestWithParam() local
563 for (int repeats = 0; repeats < num_repeats_; repeats++) { in RunTestFilterWithParam() local
/external/brotli/go/cbrotli/
Dcbrotli_test.go328 repeats int
335 t.Logf("case %q x %d", test.data, test.repeats)
336 input := bytes.Repeat(test.data, test.repeats)
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDAppClient.m56 repeats:(BOOL)repeats
68 repeats:(BOOL)repeats
77 repeats:repeats];
181 repeats:YES

123456