/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | preprocessing_test_utils.py | 52 def assert_extracted_output_equal(self, combiner, acc1, acc2, msg=None): argument 53 data_1 = combiner.extract(acc1) 54 data_2 = combiner.extract(acc2) 61 def validate_accumulator_computation(self, combiner, data, expected): argument 69 single_compute = combiner.compute(data) 71 all_merge = combiner.merge([ 72 combiner.compute(data_0), 73 combiner.compute(data_1), 74 combiner.compute(data_2) 82 unordered_all_merge = combiner.merge([ [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | combiner.h | 43 #define GRPC_COMBINER_REF(combiner, reason) \ argument 44 grpc_combiner_ref((combiner), __FILE__, __LINE__, (reason)) 45 #define GRPC_COMBINER_UNREF(combiner, reason) \ argument 46 grpc_combiner_unref((combiner), __FILE__, __LINE__, (reason)) 49 #define GRPC_COMBINER_REF(combiner, reason) grpc_combiner_ref((combiner)) argument 50 #define GRPC_COMBINER_UNREF(combiner, reason) grpc_combiner_unref((combiner)) argument
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | combiner.h | 68 #define GRPC_COMBINER_REF(combiner, reason) \ argument 69 grpc_combiner_ref((combiner), __FILE__, __LINE__, (reason)) 70 #define GRPC_COMBINER_UNREF(combiner, reason) \ argument 71 grpc_combiner_unref((combiner), __FILE__, __LINE__, (reason)) 74 #define GRPC_COMBINER_REF(combiner, reason) grpc_combiner_ref((combiner)) argument 75 #define GRPC_COMBINER_UNREF(combiner, reason) grpc_combiner_unref((combiner)) argument
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | ar_crs_combiner_test.cc | 456 ArCrsCombiner combiner(/*num_spatial_partitions=*/2, /*num_replicas=*/2, in TEST_F() local 458 auto changed = combiner.Run(module.get()).ValueOrDie(); in TEST_F() 507 ArCrsCombiner combiner(/*num_spatial_partitions=*/2, /*num_replicas=*/2, in TEST_F() local 509 auto changed = combiner.Run(module.get()).ValueOrDie(); in TEST_F() 576 ArCrsCombiner combiner(/*num_spatial_partitions=*/2, /*num_replicas=*/2, in TEST_F() local 578 auto changed = combiner.Run(module.get()).ValueOrDie(); in TEST_F() 645 ArCrsCombiner combiner(/*num_spatial_partitions=*/2, /*num_replicas=*/2, in TEST_F() local 647 auto changed = combiner.Run(module.get()).ValueOrDie(); in TEST_F() 688 ArCrsCombiner combiner(/*num_spatial_partitions=*/2, /*num_replicas=*/2, in TEST_F() local 690 auto changed = combiner.Run(module.get()).ValueOrDie(); in TEST_F() [all …]
|
/external/webrtc/modules/audio_mixer/ |
D | frame_combiner_unittest.cc | 73 FrameCombiner combiner(true); in TEST() local 84 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST() 93 FrameCombiner combiner(true); in TEST() local 110 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST() 114 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST() 122 FrameCombiner combiner(true); in TEST() local 139 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST() 143 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST() 153 FrameCombiner combiner(false); in TEST() local 164 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST() [all …]
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_closure.cc | 70 grpc_combiner* combiner = grpc_combiner_create(); in BM_ClosureInitAgainstCombiner() local 75 &c, DoNothing, nullptr, grpc_combiner_scheduler(combiner))); in BM_ClosureInitAgainstCombiner() 77 GRPC_COMBINER_UNREF(combiner, "finished"); in BM_ClosureInitAgainstCombiner() 245 grpc_combiner* combiner = grpc_combiner_create(); in BM_ClosureSchedOnCombiner() local 247 GRPC_CLOSURE_INIT(&c, DoNothing, nullptr, grpc_combiner_scheduler(combiner)); in BM_ClosureSchedOnCombiner() 253 GRPC_COMBINER_UNREF(combiner, "finished"); in BM_ClosureSchedOnCombiner() 261 grpc_combiner* combiner = grpc_combiner_create(); in BM_ClosureSched2OnCombiner() local 264 GRPC_CLOSURE_INIT(&c1, DoNothing, nullptr, grpc_combiner_scheduler(combiner)); in BM_ClosureSched2OnCombiner() 265 GRPC_CLOSURE_INIT(&c2, DoNothing, nullptr, grpc_combiner_scheduler(combiner)); in BM_ClosureSched2OnCombiner() 272 GRPC_COMBINER_UNREF(combiner, "finished"); in BM_ClosureSched2OnCombiner() [all …]
|
/external/grpc-grpc/test/core/client_channel/resolvers/ |
D | fake_resolver_test.cc | 37 grpc_combiner* combiner, in build_fake_resolver() argument 47 args.combiner = combiner; in build_fake_resolver() 118 grpc_combiner* combiner = grpc_combiner_create(); in test_fake_resolver() local 124 build_fake_resolver(combiner, response_generator.get()); in test_fake_resolver() 132 on_resolution_cb, &on_res_arg, grpc_combiner_scheduler(combiner)); in test_fake_resolver() 145 grpc_combiner_scheduler(combiner)); in test_fake_resolver() 159 grpc_combiner_scheduler(combiner)); in test_fake_resolver() 175 grpc_combiner_scheduler(combiner)); in test_fake_resolver() 188 grpc_combiner_scheduler(combiner)); in test_fake_resolver() 200 grpc_combiner_scheduler(combiner)); in test_fake_resolver() [all …]
|
/external/tensorflow/tensorflow/python/tpu/ |
D | feature_column.py | 57 combiner='mean', argument 144 combiner=combiner, 163 combiner='mean', argument 279 combiner=combiner, 367 combiner='mean', argument 385 combiner=combiner, 396 combiner='mean', argument 418 return self.combiner 512 combiner='mean', argument 526 combiner=combiner, [all …]
|
D | feature_column_v2.py | 57 combiner='mean', argument 192 combiner=combiner, 201 combiner=combiner, 213 combiner='mean', argument 397 combiner=combiner, 407 combiner=combiner, 426 combiner='mean', argument 437 combiner=combiner, 446 return (self._tpu_categorical_column, self.dimension, self.combiner, 456 combiner='mean', argument [all …]
|
D | feature_column_v2_test.py | 94 self.assertEqual('mean', embedding_column.combiner) 105 combiner='my_combiner', 109 self.assertEqual('my_combiner', embedding_column.combiner) 240 combiner='mean', 267 combiner='mean', 302 self.assertEqual('mean', embedding_column_a.combiner) 303 self.assertEqual('mean', embedding_column_b.combiner) 326 combiner='my_combiner', 335 self.assertEqual('my_combiner', embedding_column_a.combiner) 336 self.assertEqual('my_combiner', embedding_column_b.combiner) [all …]
|
D | feature_column_test.py | 54 self.assertEqual('mean', embedding_column.combiner) 80 self.assertEqual('mean', embedding_column.combiner) 94 combiner='my_combiner', 98 self.assertEqual('my_combiner', embedding_column.combiner) 184 self.assertEqual('mean', embedding_column_a.combiner) 185 self.assertEqual('mean', embedding_column_b.combiner) 217 combiner='my_combiner', 224 self.assertEqual('my_combiner', embedding_column_a.combiner) 225 self.assertEqual('my_combiner', embedding_column_b.combiner)
|
/external/tensorflow/tensorflow/python/ops/ |
D | embedding_ops.py | 404 combiner=None, argument 481 if combiner is None: 482 combiner = "mean" 483 if combiner not in ("mean", "sqrtn", "sum"): 543 if combiner == "sum": 545 elif combiner == "mean": 549 elif combiner == "sqrtn": 565 if combiner == "sum": 568 elif combiner == "mean": 571 elif combiner == "sqrtn": [all …]
|
/external/grpc-grpc/doc/ |
D | combiner-explainer.md | 15 class combiner { 24 combiner.run(do_stuff) 27 If you have two threads calling combiner, there will be some kind of 28 queuing in place. It's called `combiner` because you can pass in more 38 * This means that `do_stuff` doesn't necessarily run to completion when `combiner.run` is invoked 41 class combiner { 56 The basic idea is that the first one to push onto the combiner 58 until the combiner is drained. 60 Our combiner does some additional work, with the motivation of write-batching. 66 item, we might put something onto the main combiner queue and so we'll [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | aarch64-combine-fmul-fsub.mir | 1 …N: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=cortex-a57 -enable-uns… 2 …UN: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=falkor -enable-unsafe… 3 …UN: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=exynos-m3 -enable-uns… 4 …: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=thunderx2t99 -enable-un… 5 …: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=thunderx3t110 -enable-u…
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_preprocessing_layer_test.py | 53 combiner=self.AddingCombiner(), **kwargs) 169 combiner = layer._combiner 170 updates = combiner.extract(combiner.compute(input_dataset)) 220 combiner = layer._combiner 221 updates = combiner.extract(combiner.compute(input_dataset)) 242 combiner = layer._combiner 243 updates = combiner.extract(combiner.compute(input_dataset)) 308 combiner = layer._combiner 309 updates = combiner.extract(combiner.compute(input_dataset))
|
/external/llvm/test/CodeGen/X86/ |
D | dag-optnone.ll | 4 ; If fast-isel bails out to normal selection, then the DAG combiner will run, 8 ; DAG combiner does. 11 ; The DAG combiner was disabled for 'optnone' (but not -O0) by r221168, then 14 ; really should have disabled the combiner for both.) 17 ; combiner, then the combiner can be turned off for -O0 (not just 'optnone') 19 ; the DAG combiner does *not* run at -O0 or for 'optnone' functions.) 21 ; In the meantime, this test wants to make sure the combiner stays enabled for
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | dag-optnone.ll | 4 ; If fast-isel bails out to normal selection, then the DAG combiner will run, 8 ; DAG combiner does. 11 ; The DAG combiner was disabled for 'optnone' (but not -O0) by r221168, then 14 ; really should have disabled the combiner for both.) 17 ; combiner, then the combiner can be turned off for -O0 (not just 'optnone') 19 ; the DAG combiner does *not* run at -O0 or for 'optnone' functions.) 21 ; In the meantime, this test wants to make sure the combiner stays enabled for
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver.cc | 68 grpc_combiner* combiner; member 95 GRPC_COMBINER_UNREF(ev_driver->combiner, "free ares event driver"); in grpc_ares_ev_driver_unref() 121 grpc_combiner* combiner, in grpc_ares_ev_driver_create_locked() argument 138 (*ev_driver)->combiner = GRPC_COMBINER_REF(combiner, "ares event driver"); in grpc_ares_ev_driver_create_locked() 146 grpc_core::NewGrpcPolledFdFactory((*ev_driver)->combiner); in grpc_ares_ev_driver_create_locked() 254 socks[i], ev_driver->pollset_set, ev_driver->combiner); in grpc_ares_notify_on_event_locked() 261 grpc_combiner_scheduler(ev_driver->combiner)); in grpc_ares_notify_on_event_locked() 263 grpc_combiner_scheduler(ev_driver->combiner)); in grpc_ares_notify_on_event_locked()
|
D | grpc_ares_ev_driver.h | 46 grpc_combiner* combiner, 94 grpc_combiner* combiner) GRPC_ABSTRACT; 101 UniquePtr<GrpcPolledFdFactory> NewGrpcPolledFdFactory(grpc_combiner* combiner);
|
D | grpc_ares_ev_driver_windows.cc | 71 GrpcPolledFdWindows(ares_socket_t as, grpc_combiner* combiner) in GrpcPolledFdWindows() argument 78 combiner_ = GRPC_COMBINER_REF(combiner, name_); in GrpcPolledFdWindows() 396 SockToPolledFdMap(grpc_combiner* combiner) { in SockToPolledFdMap() argument 397 combiner_ = GRPC_COMBINER_REF(combiner, "sock to polled fd map"); in SockToPolledFdMap() 508 GrpcPolledFdFactoryWindows(grpc_combiner* combiner) in GrpcPolledFdFactoryWindows() argument 509 : sock_to_polled_fd_map_(combiner) {} in GrpcPolledFdFactoryWindows() 513 grpc_combiner* combiner) override { in NewGrpcPolledFdLocked() argument 530 UniquePtr<GrpcPolledFdFactory> NewGrpcPolledFdFactory(grpc_combiner* combiner) { in NewGrpcPolledFdFactory() argument 532 New<GrpcPolledFdFactoryWindows>(combiner)); in NewGrpcPolledFdFactory()
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | prelegalizercombiner-copy-prop-disabled.mir | 2 # RUN: llc -run-pass=aarch64-prelegalizer-combiner -global-isel -verify-machineinstrs %s -o - \ 4 # RUN: llc -run-pass=aarch64-prelegalizer-combiner -global-isel -verify-machineinstrs %s -o - \ 6 # RUN: llc -run-pass=aarch64-prelegalizer-combiner -global-isel -verify-machineinstrs %s -o - \ 8 # RUN: llc -run-pass=aarch64-prelegalizer-combiner -global-isel -verify-machineinstrs %s -o - \ 11 # RUN: llc -run-pass=aarch64-prelegalizer-combiner -global-isel -verify-machineinstrs %s -o - \
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/ |
D | ComposableFunction.java | 323 final BivariateRealFunction combiner) { 328 return combiner.value(ComposableFunction.this.value(x), f.value(x)); 439 public MultivariateRealFunction asCollector(final BivariateRealFunction combiner, 447 result = combiner.value(result, ComposableFunction.this.value(entry)); 466 public MultivariateRealFunction asCollector(final BivariateRealFunction combiner) { 467 return asCollector(combiner, 0.0);
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_segment_op_test.py | 55 def expected_value(self, data, segment_ids, num_segments, combiner): argument 78 return [[combiner(values) 105 def testRaggedSegment_Int(self, segment_op, combiner, segment_ids): argument 110 combiner) 141 def testRaggedSegment_Float(self, segment_op, combiner, segment_ids): argument 146 combiner)
|
/external/grpc-grpc/test/core/end2end/fixtures/ |
D | http_proxy_fixture.cc | 61 combiner(nullptr) { in grpc_end2end_http_proxy() 63 combiner = grpc_combiner_create(); in grpc_end2end_http_proxy() 73 grpc_combiner* combiner; member 482 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() 484 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() 486 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() 488 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() 490 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() 492 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() 494 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | embedding_lookup_sparse.cc | 124 void FinalizeAggregation(TfLiteCombinerType combiner, int num_elements, in FinalizeAggregation() argument 128 if (combiner != kTfLiteCombinerTypeSum && num_elements > 0) { in FinalizeAggregation() 130 switch (combiner) { in FinalizeAggregation() 228 FinalizeAggregation(params->combiner, num_elements, current_total_weight, in Eval() 252 FinalizeAggregation(params->combiner, num_elements, current_total_weight, in Eval()
|