Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/external/eigen/unsupported/test/
Dcxx11_tensor_broadcasting.cpp28 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/tensorflow/tensorflow/core/kernels/
Dtraining_ops_gpu.cu.cc36 var.device(d) -= lr.reshape(single).broadcast(bcast) * grad; in operator ()()
52 var.device(d) -= lr.reshape(single).broadcast(bcast) * grad * accum.rsqrt(); in operator ()()
69 accum.device(d) = accum * rho.reshape(single).broadcast(bcast) + in operator ()()
71 rho.reshape(single).broadcast(bcast)); in operator ()()
73 (accum_update + epsilon.reshape(single).broadcast(bcast)).sqrt() * in operator ()()
74 (accum + epsilon.reshape(single).broadcast(bcast)).rsqrt() * grad; in operator ()()
75 var.device(d) -= update * lr.reshape(single).broadcast(bcast); in operator ()()
77 accum_update * rho.reshape(single).broadcast(bcast) + in operator ()()
79 (grad.constant(T(1)) - rho.reshape(single).broadcast(bcast)); in operator ()()
93 accum.device(d) = accum * momentum.reshape(single).broadcast(bcast) + grad; in operator ()()
[all …]
Dxent_op.h97 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()
Dbatch_norm_op.h54 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()
Dadjust_contrast_op.h75 .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()
Dcwise_ops_common.h322 auto rhs = in1.broadcast(bcast1);
325 auto lhs = in0.broadcast(bcast0);
328 auto lhs = in0.broadcast(bcast0);
329 auto rhs = in1.broadcast(bcast1);
418 auto lhs = in0.reshape(OneByM(b)).broadcast(NByOne(c));
419 auto rhs = in1.reshape(NByOne(c)).broadcast(OneByM(b));
424 auto lhs = in0.reshape(NByOne(a)).broadcast(OneByM(d));
425 auto rhs = in1.reshape(OneByM(d)).broadcast(NByOne(a));
430 auto lhs = in0.reshape(OneByM(b)).broadcast(NByOne(c));
436 auto lhs = in0.reshape(NByOne(a)).broadcast(OneByM(d));
[all …]
Deigen_attention.h174 mini.reshape(Sizes<1, 1, 1>()).broadcast(glimpse_size) + in eval()
176 range.reshape(Sizes<1, 1, 1>()).broadcast(glimpse_size)) in eval()
199 mean.reshape(Sizes<1, 1>()).broadcast(input_size)) in eval()
212 (mean.reshape(Sizes<1, 1>()).broadcast(glimpse_size) + in eval()
214 sigma.reshape(Sizes<1, 1>()).broadcast(glimpse_size)) in eval()
217 maxi.reshape(Sizes<1, 1>()).broadcast(glimpse_size)) in eval()
219 mini.reshape(Sizes<1, 1>()).broadcast(glimpse_size)); in eval()
Dbetainc_op.h44 a.broadcast(bcast_a), b.broadcast(bcast_b), x.broadcast(bcast_x)); in BCast()
Dcwise_ops_sycl_common.h66 .broadcast(in.dimensions())
78 scalar.reshape(scalar_dim).broadcast(in.dimensions()), Binary());
96 To32Bit(in0).binaryExpr(To32Bit(in1).broadcast(bcast1), func);
101 To32Bit(in0).broadcast(bcast0).binaryExpr(To32Bit(in1), func);
105 To32Bit(out).device(d) = To32Bit(in0).broadcast(bcast0).binaryExpr(
106 To32Bit(in1).broadcast(bcast1), func);
Dsoftmax_op_functor.h69 .broadcast(one_by_class)); in Compute()
80 .broadcast(one_by_class)); in Compute()
92 .broadcast(one_by_class)); in Compute()
/external/tcpdump/tests/
Dsflow_multiple_counter_30_pdus.out7 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/compiler/xla/g3doc/
Dbroadcasting.md16 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/
Dset_ipv4addr79 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/ltp/testcases/network/stress/icmp/multi-diffip/
Dicmp4-multi-diffip01193 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/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dctrloop-fp64.ll36 %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/
Dctrloop-fp64.ll36 %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/ltp/testcases/network/stress/udp/multi-diffip/
Dudp4-multi-diffip01187 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…
/external/ltp/testcases/network/stress/tcp/multi-diffip/
Dtcp4-multi-diffip01221 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
223 ip addr del ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname 2>&1
224 ip addr add ${lhost_addr}/${network_mask} broadcast $network_broadcast dev $lhost_ifname
236 … 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadca…
239 …$LTP_RSH $RHOST 'PATH=/sbin:/usr/sbin:$PATH ip' addr del ${rhost_addr}/${network_mask} broadcast $…
240 … 'PATH=/sbin:/usr/sbin:$PATH ip' addr add ${rhost_addr}/${network_mask} broadcast $network_broadca…
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c49 static int broadcast; variable
282 int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) in unit_test() argument
306 if (broadcast) in unit_test()
370 broadcast = 1; in main()
401 broadcast, locked, owner, timeout_ns); in main()
408 ret = unit_test(broadcast, locked, owner, timeout_ns); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Scalarizer/
Ddbgloc-bug.ll14 %broadcast.splatinsert5 = insertelement <4 x i16> undef, i16 %_tmp7, i32 0
15 …%broadcast.splat6 = shufflevector <4 x i16> %broadcast.splatinsert5, <4 x i16> undef, <4 x i32> ze…
/external/llvm/test/Transforms/Scalarizer/
Ddbgloc-bug.ll14 %broadcast.splatinsert5 = insertelement <4 x i16> undef, i16 %_tmp7, i32 0
15 …%broadcast.splat6 = shufflevector <4 x i16> %broadcast.splatinsert5, <4 x i16> undef, <4 x i32> ze…
/external/python/cpython2/Demo/threads/
Dsync.py335 self.broadcast(1)
337 def broadcast(self, num = -1): member in condition
371 full.broadcast()
382 self.posted.broadcast()
473 self.readOK.broadcast()
485 self.readOK.broadcast()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment_test.cc431 auto broadcast = builder.AddInstruction( in TEST_F() local
438 f32vec100_, HloOpcode::kMultiply, broadcast, param0)); in TEST_F()
514 auto broadcast = builder.AddInstruction( in TEST_F() local
521 f32vec100_, HloOpcode::kMultiply, broadcast, param0)); in TEST_F()
564 auto broadcast = builder.AddInstruction( in TEST_F() local
571 f32vec100_, HloOpcode::kMultiply, broadcast, param0)); in TEST_F()
625 auto broadcast = builder.AddInstruction( in TEST_F() local
632 f32vec100_, HloOpcode::kMultiply, broadcast, param0)); in TEST_F()
697 auto broadcast = builder.AddInstruction( in TEST_F() local
704 f32vec100_, HloOpcode::kMultiply, broadcast, param0)); in TEST_F()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorBroadcasting.h78 …VICE_FUNC EIGEN_STRONG_INLINE TensorBroadcastingOp(const XprType& expr, const Broadcast& broadcast)
79 : m_xpr(expr), m_broadcast(broadcast) {}
82 const Broadcast& broadcast() const { return m_broadcast; }
116 : m_broadcast(op.broadcast()),m_impl(op.expression(), device)
123 const Broadcast& broadcast = op.broadcast();
126 m_dimensions[i] = input_dims[i] * broadcast[i];
/external/libevent/
Devthread_win32.c146 evthread_win32_condvar_signal(void *cond, int broadcast) in evthread_win32_condvar_signal() argument
149 if (broadcast) in evthread_win32_condvar_signal()
218 evthread_win32_cond_signal(void *cond_, int broadcast) in evthread_win32_cond_signal() argument
222 if (broadcast) in evthread_win32_cond_signal()

12345678910>>...12