Home
last modified time | relevance | path

Searched refs:all_indices (Results 1 – 14 of 14) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc293 std::vector<int> all_indices; in StringViewMapBenchmark() local
298 all_indices.push_back(i); in StringViewMapBenchmark()
309 std::shuffle(all_indices.begin(), all_indices.end(), rng); in StringViewMapBenchmark()
312 std::vector<int> hot_indices(all_indices.begin(), in StringViewMapBenchmark()
313 all_indices.begin() + num_hot); in StringViewMapBenchmark()
316 indices.insert(indices.end(), all_indices.begin(), all_indices.end()); in StringViewMapBenchmark()
/external/openscreen/third_party/abseil/src/absl/strings/
Dstring_view_benchmark.cc293 std::vector<int> all_indices; in StringViewMapBenchmark() local
298 all_indices.push_back(i); in StringViewMapBenchmark()
309 std::shuffle(all_indices.begin(), all_indices.end(), rng); in StringViewMapBenchmark()
312 std::vector<int> hot_indices(all_indices.begin(), in StringViewMapBenchmark()
313 all_indices.begin() + num_hot); in StringViewMapBenchmark()
316 indices.insert(indices.end(), all_indices.begin(), all_indices.end()); in StringViewMapBenchmark()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc293 std::vector<int> all_indices; in StringViewMapBenchmark() local
298 all_indices.push_back(i); in StringViewMapBenchmark()
309 std::shuffle(all_indices.begin(), all_indices.end(), rng); in StringViewMapBenchmark()
312 std::vector<int> hot_indices(all_indices.begin(), in StringViewMapBenchmark()
313 all_indices.begin() + num_hot); in StringViewMapBenchmark()
316 indices.insert(indices.end(), all_indices.begin(), all_indices.end()); in StringViewMapBenchmark()
/external/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc293 std::vector<int> all_indices; in StringViewMapBenchmark() local
298 all_indices.push_back(i); in StringViewMapBenchmark()
309 std::shuffle(all_indices.begin(), all_indices.end(), rng); in StringViewMapBenchmark()
312 std::vector<int> hot_indices(all_indices.begin(), in StringViewMapBenchmark()
313 all_indices.begin() + num_hot); in StringViewMapBenchmark()
316 indices.insert(indices.end(), all_indices.begin(), all_indices.end()); in StringViewMapBenchmark()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc293 std::vector<int> all_indices; in StringViewMapBenchmark() local
298 all_indices.push_back(i); in StringViewMapBenchmark()
309 std::shuffle(all_indices.begin(), all_indices.end(), rng); in StringViewMapBenchmark()
312 std::vector<int> hot_indices(all_indices.begin(), in StringViewMapBenchmark()
313 all_indices.begin() + num_hot); in StringViewMapBenchmark()
316 indices.insert(indices.end(), all_indices.begin(), all_indices.end()); in StringViewMapBenchmark()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc293 std::vector<int> all_indices; in StringViewMapBenchmark() local
298 all_indices.push_back(i); in StringViewMapBenchmark()
309 std::shuffle(all_indices.begin(), all_indices.end(), rng); in StringViewMapBenchmark()
312 std::vector<int> hot_indices(all_indices.begin(), in StringViewMapBenchmark()
313 all_indices.begin() + num_hot); in StringViewMapBenchmark()
316 indices.insert(indices.end(), all_indices.begin(), all_indices.end()); in StringViewMapBenchmark()
/external/tensorflow/tensorflow/python/kernel_tests/v1_compat_tests/
Dscatter_nd_ops_test.py93 all_indices = [
97 np.random.shuffle(all_indices)
98 indices = np.array(all_indices[:num_updates])
/external/tensorflow/tensorflow/compiler/tests/
Dscatter_nd_op_test.py90 all_indices = [
94 np.random.shuffle(all_indices)
95 indices = np.array(all_indices[:num_updates])
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparallel_interleave_dataset_op.cc510 std::set<int64> all_indices; in RestoreInternal() local
520 if (temp >= 0 && all_indices.find(temp) != all_indices.end()) { in RestoreInternal()
526 all_indices.insert(temp); in RestoreInternal()
541 if (all_indices.find(temp) != all_indices.end()) { in RestoreInternal()
547 all_indices.insert(temp); in RestoreInternal()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py395 all_indices=indices,
547 init_values = [True, pfor_input.pfor.all_indices] + inputs + output_tas
1269 all_indices=None, argument
1301 assert all_indices is not None
1302 self.all_indices = (
1303 math_ops.range(loop_len) if all_indices is None else all_indices)
1306 self._conversion_map[loop_var] = wrap(self.all_indices, True)
2354 if indices is pfor_input.pfor.all_indices and axis == 0:
3413 all_indices = pfor_input.pfor.all_indices
3428 value = array_ops.gather(value, all_indices)
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dcross_device_utils.py544 all_indices = self._all_gather(
548 indices=all_indices,
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Dscatter_nd_ops_test.py127 all_indices = [
132 np.random.shuffle(all_indices)
133 indices = np.array(all_indices[:num_updates])
/external/tensorflow/tensorflow/python/kernel_tests/
Dbarrier_ops_test.py367 all_indices = sorted(flatten([t_i["indices"] for t_i in taken]))
375 self.assertAllEqual(all_indices, expected_indices)
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc2931 tensorflow::Safe_PyObjectPtr all_indices(PyTuple_New(accumulators.size())); local
2968 PyTuple_SetItem(all_indices.get(), accumulator_index,
2980 return PyTuple_Pack(2, all_indices.get(), new_tensors_py.get());