/external/angle/third_party/abseil-cpp/absl/strings/ |
D | string_view_benchmark.cc | 293 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/ |
D | string_view_benchmark.cc | 293 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/ |
D | string_view_benchmark.cc | 293 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/ |
D | string_view_benchmark.cc | 293 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/ |
D | string_view_benchmark.cc | 293 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/ |
D | string_view_benchmark.cc | 293 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/ |
D | scatter_nd_ops_test.py | 93 all_indices = [ 97 np.random.shuffle(all_indices) 98 indices = np.array(all_indices[:num_updates])
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | scatter_nd_op_test.py | 90 all_indices = [ 94 np.random.shuffle(all_indices) 95 indices = np.array(all_indices[:num_updates])
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | parallel_interleave_dataset_op.cc | 510 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/ |
D | pfor.py | 395 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/ |
D | cross_device_utils.py | 544 all_indices = self._all_gather( 548 indices=all_indices,
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | scatter_nd_ops_test.py | 127 all_indices = [ 132 np.random.shuffle(all_indices) 133 indices = np.array(all_indices[:num_updates])
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | barrier_ops_test.py | 367 all_indices = sorted(flatten([t_i["indices"] for t_i in taken])) 375 self.assertAllEqual(all_indices, expected_indices)
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 2931 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());
|