Home
last modified time | relevance | path

Searched refs:accumulate (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp59 bool accumulate = true; in do_test() local
63 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
64 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
65 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
66 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
68 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
69 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
70 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
74 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
Dlcm.pass.cpp58 bool accumulate = true; in do_test() local
62 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
63 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
64 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
65 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
66 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
67 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
68 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
69 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
73 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/
Dmetrics_test.py210 accumulate = m(p)
213 sess.run(accumulate, feed_dict={p: [1, 10, 100]})
214 sess.run(accumulate, feed_dict={p: 1000})
215 sess.run(accumulate, feed_dict={p: [10000, 100000]})
219 sess.run(accumulate, feed_dict={p: 7})
226 accumulate = m(inputs)
229 self.evaluate(accumulate)
242 accumulate = m(inputs)
245 self.evaluate(accumulate)
262 accumulate = control_flow_ops.while_loop(cond, body, [init_value])
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
Deval.pass.cpp53 double s = std::accumulate(prob.begin(), prob.end(), 0.0); in test1()
68 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test1()
116 double s = std::accumulate(prob.begin(), prob.end(), 0.0); in test2()
131 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test2()
179 double s = std::accumulate(prob.begin(), prob.end(), 0.0); in test3()
194 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test3()
242 double s = std::accumulate(prob.begin(), prob.end(), 0.0); in test4()
257 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test4()
305 double s = std::accumulate(prob.begin(), prob.end(), 0.0); in test5()
320 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test5()
[all …]
/external/tensorflow/tensorflow/core/util/
Dcuda_device_functions.h407 __device__ T CudaAtomicCasHelper(T* ptr, F accumulate) { in CudaAtomicCasHelper() argument
412 old = atomicCAS(ptr, assumed, accumulate(assumed)); in CudaAtomicCasHelper()
420 __device__ float CudaAtomicCasHelper(float* ptr, F accumulate) { in CudaAtomicCasHelper() argument
422 CudaAtomicCasHelper(reinterpret_cast<int32*>(ptr), [accumulate](int32 a) { in CudaAtomicCasHelper()
423 return __float_as_int(accumulate(__int_as_float(a))); in CudaAtomicCasHelper()
427 __device__ double CudaAtomicCasHelper(double* ptr, F accumulate) { in CudaAtomicCasHelper() argument
430 [accumulate](tensorflow::uint64 a) { in CudaAtomicCasHelper()
431 return __double_as_longlong(accumulate(__longlong_as_double(a))); in CudaAtomicCasHelper()
448 __device__ Eigen::half CudaAtomicCasHelper(Eigen::half* ptr, F accumulate) { in CudaAtomicCasHelper() argument
458 uint32 result = CudaAtomicCasHelper(address, [accumulate](uint32 arg) { in CudaAtomicCasHelper()
[all …]
Dcuda_kernel_helper_test.cu.cc165 EXPECT_EQ(work_element_count, std::accumulate(outbuf, outbuf + bufsize, 0)); \ in TEST_F()
176 EXPECT_EQ(work_element_count, std::accumulate(outbuf, outbuf + bufsize, 0)) in TEST_F()
219 EXPECT_EQ(dimx* dimy, std::accumulate(outbuf, outbuf + bufsize, 0)); \ in TEST_F()
231 EXPECT_EQ(dimx* dimy, std::accumulate(outbuf, outbuf + bufsize, 0)) in TEST_F()
263 EXPECT_EQ(dimx* dimy* dimz, std::accumulate(outbuf, outbuf + bufsize, 0)) in TEST_F()
/external/pdfium/third_party/agg23/
Dagg_conv_adaptor_vcgen.h37 accumulate, enumerator
93 m_status = accumulate; in vertex()
94 case accumulate: in vertex()
128 m_status = accumulate; in vertex()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), in test1()
90 double mean = std::accumulate(u.begin(), u.end(), in test2()
133 double mean = std::accumulate(u.begin(), u.end(), in test3()
176 double mean = std::accumulate(u.begin(), u.end(), in test4()
225 double mean = std::accumulate(u.begin(), u.end(), in test5()
274 double mean = std::accumulate(u.begin(), u.end(), in test6()
317 double mean = std::accumulate(u.begin(), u.end(), in test7()
378 double mean = std::accumulate(u.begin(), u.end(), in test9()
427 double mean = std::accumulate(u.begin(), u.end(), in test10()
476 double mean = std::accumulate(u.begin(), u.end(), in test11()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp48 double mean = std::accumulate(u.begin(), u.end(), in main()
89 double mean = std::accumulate(u.begin(), u.end(), in main()
130 double mean = std::accumulate(u.begin(), u.end(), in main()
171 double mean = std::accumulate(u.begin(), u.end(), in main()
212 double mean = std::accumulate(u.begin(), u.end(), in main()
253 double mean = std::accumulate(u.begin(), u.end(), in main()
294 double mean = std::accumulate(u.begin(), u.end(), in main()
335 double mean = std::accumulate(u.begin(), u.end(), in main()
376 double mean = std::accumulate(u.begin(), u.end(), in main()
428 double mean = std::accumulate(u.begin(), u.end(), in main()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_error_sse2.asm45 ; accumulate in 64bit
56 ; accumulate horizontally and store in return value
98 ; accumulate in 64bit
105 ; accumulate horizontally and store in return value
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/
Deval.pass.cpp48 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
88 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
128 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
168 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
208 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
248 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
288 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
328 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
368 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
408 D::result_type mean = std::accumulate(u.begin(), u.end(), in main()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), in test1()
90 double mean = std::accumulate(u.begin(), u.end(), in test2()
133 double mean = std::accumulate(u.begin(), u.end(), in test3()
176 double mean = std::accumulate(u.begin(), u.end(), in test4()
217 double mean = std::accumulate(u.begin(), u.end(), in test5()
260 double mean = std::accumulate(u.begin(), u.end(), in test6()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), in test1()
90 double mean = std::accumulate(u.begin(), u.end(), in test2()
133 double mean = std::accumulate(u.begin(), u.end(), in test3()
176 double mean = std::accumulate(u.begin(), u.end(), in test4()
219 double mean = std::accumulate(u.begin(), u.end(), in test5()
262 double mean = std::accumulate(u.begin(), u.end(), in test6()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/
Deval.pass.cpp46 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test1()
87 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test2()
128 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test3()
169 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test4()
Deval_param.pass.cpp48 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test1()
91 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test2()
134 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test3()
177 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test4()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/
Deval.pass.cpp43 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
78 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
113 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
Deval_param.pass.cpp45 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
82 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
119 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test1()
91 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test2()
135 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test3()
179 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test4()
223 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test5()
Deval_param.pass.cpp49 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test1()
95 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test2()
141 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test3()
187 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test4()
233 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in test5()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/
Deval.pass.cpp47 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
86 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
125 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
Deval_param.pass.cpp49 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
90 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
131 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp48 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
87 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/
Deval.pass.cpp48 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
87 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
126 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
Deval_param.pass.cpp50 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
91 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
132 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
Deval_param.pass.cpp49 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
90 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()
131 double mean = std::accumulate(u.begin(), u.end(), 0.0) / u.size(); in main()

12345678910>>...14