/external/eigen/unsupported/test/ |
D | cxx11_tensor_broadcasting.cpp | 28 no_broadcast = tensor.broadcast(broadcasts); in test_simple_broadcasting() 49 Tensor<float, 4, DataLayout> broadcast; in test_simple_broadcasting() local 50 broadcast = tensor.broadcast(broadcasts); in test_simple_broadcasting() 52 VERIFY_IS_EQUAL(broadcast.dimension(0), 4); in test_simple_broadcasting() 53 VERIFY_IS_EQUAL(broadcast.dimension(1), 9); in test_simple_broadcasting() 54 VERIFY_IS_EQUAL(broadcast.dimension(2), 5); in test_simple_broadcasting() 55 VERIFY_IS_EQUAL(broadcast.dimension(3), 28); in test_simple_broadcasting() 61 VERIFY_IS_EQUAL(tensor(i%2,j%3,k%5,l%7), broadcast(i,j,k,l)); in test_simple_broadcasting() 79 Tensor<float, 3, DataLayout> broadcast; in test_vectorized_broadcasting() local 80 broadcast = tensor.broadcast(broadcasts); in test_vectorized_broadcasting() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/ |
D | ConflatedBroadcastChannelTest.kt | 38 val broadcast = ConflatedBroadcastChannel<String>() in <lambda>() constant 39 assertTrue(exceptionFrom { broadcast.value } is IllegalStateException) in <lambda>() 40 assertNull(broadcast.valueOrNull) in <lambda>() 44 val sub = broadcast.openSubscription() in <lambda>() 56 broadcast.send("one") // does not suspend in <lambda>() 57 assertEquals("one", broadcast.value) in <lambda>() 58 assertEquals("one", broadcast.valueOrNull) in <lambda>() 64 val sub = broadcast.openSubscription() in <lambda>() 78 broadcast.send("two") // does not suspend in <lambda>() 79 assertEquals("two", broadcast.value) in <lambda>() [all …]
|
D | ArrayBroadcastChannelTest.kt | 38 val broadcast = BroadcastChannel<Int>(1) in <lambda>() constant 39 assertFalse(broadcast.isClosedForSend) in <lambda>() 40 val first = broadcast.openSubscription() in <lambda>() 54 broadcast.send(1) in <lambda>() 59 val second = broadcast.openSubscription() in <lambda>() 70 broadcast.send(2) in <lambda>() 74 broadcast.close() in <lambda>() 76 assertTrue(broadcast.isClosedForSend) in <lambda>() 84 val broadcast = BroadcastChannel<Int>(1) in <lambda>() constant 85 val first = broadcast.openSubscription() in <lambda>() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/ |
D | fully_connected_reference_model.hlotxt | 24 …dim"(%3) {broadcast_dimensions = dense<[0, 1]> : tensor<2xi64>, name = "broadcast.30"} : (tensor<3… 25 %broadcast.30 = f32[300,1,5] broadcast(%reshape.29), dimensions={0,1} 30 …// CHECK-NEXT: %5 = "xla_hlo.broadcast_in_dim"(%cst) {name = "broadcast.9"} : (tensor<f32>) -> ten… 31 %broadcast.9 = f32[300,1,5] broadcast(%constant.8), dimensions={} 34 %multiply.31 = f32[300,1,5] multiply(%broadcast.30, %broadcast.9) 39 …// CHECK-NEXT: %7 = "xla_hlo.broadcast_in_dim"(%cst_0) {name = "broadcast.33"} : (tensor<f32>) -> … 40 %broadcast.33 = f32[300,1,5] broadcast(%constant.32), dimensions={} 43 %compare.34 = pred[300,1,5] compare(%multiply.31, %broadcast.33), direction=GT 48 …// CHECK-NEXT: %9 = "xla_hlo.broadcast_in_dim"(%cst_1) {name = "broadcast.11"} : (tensor<f32>) -> … 49 %broadcast.11 = f32[300,1,5] broadcast(%constant.10), dimensions={} [all …]
|
/external/XNNPACK/scripts/ |
D | generate-f32-igemm.sh | 106 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=1 -D NR=8 -D FMA=0 -o src/f32-igemm/gen/1x8-avx-… 107 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=4 -D NR=8 -D FMA=0 -o src/f32-igemm/gen/4x8-avx-… 108 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=5 -D NR=8 -D FMA=0 -o src/f32-igemm/gen/5x8-avx-… 109 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=6 -D NR=8 -D FMA=0 -o src/f32-igemm/gen/6x8-avx-… 110 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=7 -D NR=8 -D FMA=0 -o src/f32-igemm/gen/7x8-avx-… 111 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=1 -D NR=16 -D FMA=0 -o src/f32-igemm/gen/1x16-av… 112 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=3 -D NR=16 -D FMA=0 -o src/f32-igemm/gen/3x16-av… 113 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=4 -D NR=16 -D FMA=0 -o src/f32-igemm/gen/4x16-av… 114 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=5 -D NR=16 -D FMA=0 -o src/f32-igemm/gen/5x16-av… 116 tools/xngen src/f32-igemm/avx-broadcast.c.in -D MR=1 -D NR=8 -D FMA=3 -o src/f32-igemm/gen/1x8-fma3… [all …]
|
D | generate-f32-gemm.sh | 212 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=1 -D NR=8 -D FMA=0 -D INC=0 -o src/f32-gemm/gen/1… 213 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=1 -D NR=8 -D FMA=0 -D INC=1 -o src/f32-gemm/gen-i… 215 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=4 -D NR=8 -D FMA=0 -D INC=0 -o src/f32-gemm/gen/4… 216 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=4 -D NR=8 -D FMA=0 -D INC=1 -o src/f32-gemm/gen-i… 218 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=5 -D NR=8 -D FMA=0 -D INC=0 -o src/f32-gemm/gen/5… 219 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=5 -D NR=8 -D FMA=0 -D INC=1 -o src/f32-gemm/gen-i… 221 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=6 -D NR=8 -D FMA=0 -D INC=0 -o src/f32-gemm/gen/6… 222 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=6 -D NR=8 -D FMA=0 -D INC=1 -o src/f32-gemm/gen-i… 224 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=7 -D NR=8 -D FMA=0 -D INC=0 -o src/f32-gemm/gen/7… 225 tools/xngen src/f32-gemm/avx-broadcast.c.in -D MR=7 -D NR=8 -D FMA=0 -D INC=1 -o src/f32-gemm/gen-i… [all …]
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/guide/ |
D | example-reactive-basic-09.kt | 13 val broadcast = ConflatedBroadcastChannel<String>() in <lambda>() constant 14 broadcast.offer("one") in <lambda>() 15 broadcast.offer("two") in <lambda>() 18 broadcast.consumeEach { println(it) } in <lambda>() 20 broadcast.offer("three") in <lambda>() 21 broadcast.offer("four") in <lambda>() 23 broadcast.close() // now close the broadcast channel to cancel the consumer, too in <lambda>()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | training_ops_gpu.cu.cc | 117 var.device(d) -= lr.reshape(single).broadcast(bcast) * grad; in operator ()() 133 var.device(d) -= lr.reshape(single).broadcast(bcast) * grad * accum.rsqrt(); in operator ()() 151 grad / (accum.sqrt() + epsilon.reshape(single).broadcast(bcast)); in operator ()() 152 var.device(d) -= lr.reshape(single).broadcast(bcast) * update; in operator ()() 169 accum.device(d) = accum * rho.reshape(single).broadcast(bcast) + in operator ()() 171 rho.reshape(single).broadcast(bcast)); in operator ()() 173 (accum_update + epsilon.reshape(single).broadcast(bcast)).sqrt() * in operator ()() 174 (accum + epsilon.reshape(single).broadcast(bcast)).rsqrt() * grad; in operator ()() 175 var.device(d) -= update * lr.reshape(single).broadcast(bcast); in operator ()() 177 accum_update * rho.reshape(single).broadcast(bcast) + in operator ()() [all …]
|
D | xent_op.h | 97 logits.broadcast(logits_bcast).maximum(along_class); in Compute() 101 logits.broadcast(logits_bcast) - scratch.broadcast(one_by_class); in Compute() 113 loss.device(d) = (labels.broadcast(labels_bcast) * in Compute() 114 (scratch.log().eval().broadcast(one_by_class) - backprop)) in Compute() 120 backprop.device(d) = (backprop.exp() / scratch.broadcast(one_by_class)) - in Compute() 121 labels.broadcast(labels_bcast); in Compute()
|
D | batch_norm_op.h | 54 mean.reshape(one_by_depth).broadcast(rest_by_one)) * in operator() 58 .broadcast(rest_by_one) + in operator() 59 beta.reshape(one_by_depth).broadcast(rest_by_one); in operator() 63 mean.reshape(one_by_depth).broadcast(rest_by_one)) * in operator() 67 .broadcast(rest_by_one) + in operator() 68 beta.reshape(one_by_depth).broadcast(rest_by_one); in operator() 122 mean.reshape(one_by_depth).broadcast(rest_by_one))) in operator() 130 .broadcast(rest_by_one)); in operator() 136 scratch1.reshape(one_by_depth).broadcast(rest_by_one); in operator()
|
D | adjust_contrast_op.h | 75 .broadcast(broadcast_dims); in operator() 78 contrast_factor.reshape(scalar).broadcast(scalar_broadcast); in operator() 82 auto min_bcast = min_value.reshape(scalar).broadcast(scalar_broadcast); in operator() 83 auto max_bcast = max_value.reshape(scalar).broadcast(scalar_broadcast); in operator() 148 .broadcast(broadcast_dims); in operator() 150 contrast_factor.reshape(scalar).broadcast(scalar_broadcast); in operator()
|
D | cwise_op_gpu_select.cu.cc | 36 output_tensor.device(d) = cond_tensor.broadcast(cond_bcast) in operator ()() 37 .select(then_tensor.broadcast(then_bcast), in operator ()() 38 else_tensor.broadcast(else_bcast)); in operator ()() 68 .broadcast(broadcast_dims) in operator ()() 103 .broadcast(broadcast_dims) in operator ()()
|
/external/tcpdump/tests/ |
D | sflow_multiple_counter_30_pdus.out | 7 In octets 820721, unicast pkts 9601, multicast pkts 0, broadcast pkts 1302, discards 0 9 … Out octets 178785248, unicast pkts 9736, multicast pkts 132958, broadcast pkts 2213534, discards 0 19 … In octets 156084746, unicast pkts 473593, multicast pkts 0, broadcast pkts 1862745, discards 0 21 … Out octets 59635889, unicast pkts 8834, multicast pkts 132958, broadcast pkts 352092, discards 0 31 … In octets 3051593057, unicast pkts 52919488, multicast pkts 1491, broadcast pkts 956, discards 0 33 …Out octets 1525716840, unicast pkts 30013667, multicast pkts 131467, broadcast pkts 2213880, disca… 43 In octets 0, unicast pkts 0, multicast pkts 0, broadcast pkts 0, discards 0 45 … Out octets 178404732, unicast pkts 3035, multicast pkts 132958, broadcast pkts 2214836, discards 0 55 In octets 0, unicast pkts 0, multicast pkts 0, broadcast pkts 0, discards 0 57 … Out octets 178368955, unicast pkts 3031, multicast pkts 132840, broadcast pkts 2214791, discards 0 [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/selectors/ |
D | operation_selector.cc | 83 BroadcastSettings broadcast; in GPUOperationFromNode() local 84 broadcast.width = IsWidthBroadcastedForSecondInput(inputs); in GPUOperationFromNode() 85 broadcast.height = IsHeightBroadcastedForSecondInput(inputs); in GPUOperationFromNode() 86 broadcast.channels = IsChannelsBroadcastedForSecondInput(inputs); in GPUOperationFromNode() 87 if (broadcast.width || broadcast.height || broadcast.channels) { in GPUOperationFromNode() 89 CreateElementwiseTwoInput(op_def, op_type, broadcast); in GPUOperationFromNode() 157 BroadcastSettings broadcast; in GPUOperationFromNode() local 158 broadcast.width = IsWidthBroadcastedForSecondInput(inputs); in GPUOperationFromNode() 159 broadcast.height = IsHeightBroadcastedForSecondInput(inputs); in GPUOperationFromNode() 160 broadcast.channels = IsChannelsBroadcastedForSecondInput(inputs); in GPUOperationFromNode() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/g3doc/ |
D | broadcasting.md | 16 addition, XLA needs to "broadcast" the vector `v` to the same rank as the 25 The matrix's dimensions are (2,3), the vector's are (3). The vector is broadcast 48 *Scalars* can always be broadcast over arrays without an explicit specification 96 shape is broadcast into a larger rank shape. For example, given a 2x3x4 cuboid 100 This type of broadcast is used in the binary ops in `XlaBuilder`, if the 121 array. The vector's values are then broadcast from the matched dimension to all 137 element for dimension 1, and so on. The order of broadcast dimensions has to be 156 1. (2,1) and (2,3) broadcast to (2,3). 157 2. (1,2,5) and (7,2,5) broadcast to (7,2,5) 158 3. (7,2,5) and (7,1,5) broadcast to (7,2,5) [all …]
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | set_ipv4addr | 79 broadcast=${network_part}.`echo $host_part | sed "s/[[:digit:]]*/255/g"` 86 ifconfig $ifname $addr netmask $netmask broadcast $broadcast 89 …'$ifname' up && ifconfig '$ifname $addr' netmask '$netmask' broadcast '$broadcast' ) >/dev/null 2>…
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/ |
D | elementwise.cc | 186 const BroadcastSettings& broadcast) { in CreateElementwiseTwoInput() argument 187 ElementwiseTwoInput operation(definition, op_type, broadcast); in CreateElementwiseTwoInput() 194 BroadcastSettings broadcast; in CreateElementwiseTwoInput() local 195 broadcast.width = false; in CreateElementwiseTwoInput() 196 broadcast.height = false; in CreateElementwiseTwoInput() 197 broadcast.channels = false; in CreateElementwiseTwoInput() 198 ElementwiseTwoInput operation(definition, op_type, broadcast); in CreateElementwiseTwoInput()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/ |
D | ChannelBuildersFlowTest.kt | 84 val channel = broadcast { in <lambda>() 97 val channel = broadcast(NonCancellable) { // otherwise failure will cancel scope as well in <lambda>() 162 val broadcast = flow.broadcastIn(this) in <lambda>() constant 163 val channel = broadcast.openSubscription() in <lambda>() 164 val channel2 = broadcast.openSubscription() in <lambda>() 208 val channel = broadcast { in testBroadcastAsFlowAsBroadcast()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
D | ConflatedBroadcastChannelNotifyStressTest.kt | 19 private val broadcast = ConflatedBroadcastChannel<Int>() in <lambda>() constant in kotlinx.coroutines.channels.ConflatedBroadcastChannelNotifyStressTest 33 broadcast.offer(i) in <lambda>() 67 broadcast.offer(nEvents) // last event to signal receivers termination in <lambda>() 85 with(broadcast.openSubscription()) { in <lambda>()
|
/external/ltp/testcases/network/stress/icmp/multi-diffip/ |
D | icmp4-multi-diffip01 | 193 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 197 ip addr del ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 2>&1 198 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 211 … 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadca… 214 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $… 215 … 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadca…
|
/external/swiftshader/src/Vulkan/Debug/ |
D | Thread.cpp | 26 , broadcast(ctx->broadcast()) in Thread() 49 broadcast->onLineBreakpointHit(id); in onLocationUpdate() 66 broadcast->onThreadStepped(id); in onLocationUpdate() 88 broadcast->onFunctionBreakpointHit(id); in enter()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | ctrloop-fp64.ll | 36 %broadcast.splatinsert.i = insertelement <2 x i64> undef, i64 %conv, i32 0 37 …%broadcast.splat.i = shufflevector <2 x i64> %broadcast.splatinsert.i, <2 x i64> undef, <2 x i32> … 44 store <2 x i64> %broadcast.splat.i, <2 x i64>* %1, align 8 48 store <2 x i64> %broadcast.splat.i, <2 x i64>* %3, align 8
|
/external/llvm/test/CodeGen/PowerPC/ |
D | ctrloop-fp64.ll | 36 %broadcast.splatinsert.i = insertelement <2 x i64> undef, i64 %conv, i32 0 37 …%broadcast.splat.i = shufflevector <2 x i64> %broadcast.splatinsert.i, <2 x i64> undef, <2 x i32> … 44 store <2 x i64> %broadcast.splat.i, <2 x i64>* %1, align 8 48 store <2 x i64> %broadcast.splat.i, <2 x i64>* %3, align 8
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/ |
D | Broadcast.kt | 24 fun <E> ReceiveChannel<E>.broadcast( in broadcast() method 28 …GlobalScope.broadcast(Dispatchers.Unconfined, capacity = capacity, start = start, onCompletion = c… in broadcast() 29 for (e in this@broadcast) { in broadcast() 71 public fun <E> CoroutineScope.broadcast( in broadcast() method
|
/external/ltp/testcases/network/stress/udp/multi-diffip/ |
D | udp4-multi-diffip01 | 187 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 191 ip addr del ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 2>&1 192 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 205 … 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadca… 207 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $… 208 … 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadca…
|