/external/eigen/unsupported/test/ |
cxx11_tensor_thread_pool.cpp | 71 Tensor<float, 5, DataLayout> t_result(30, 50, 70, 2, 10); 89 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); 92 for (ptrdiff_t i = 0; i < t_result.size(); i++) { 93 VERIFY(&t_result.data()[i] != &m_result.data()[i]); 94 if (fabsf(t_result(i) - m_result(i)) < 1e-4f) { 97 if (Eigen::internal::isApprox(t_result(i), m_result(i), 1e-4f)) { 100 std::cout << "mismatch detected at index " << i << ": " << t_result(i) 111 Tensor<float, 2, DataLayout> t_result(500, 28*28); 115 t_result = t_result.constant(NAN) [all...] |
cxx11_tensor_of_complex.cpp | 74 Tensor<std::complex<float>, 5> t_result(30, 50, 7, 20, 10); 89 t_result = t_left.contract(t_right, dims); 91 for (int i = 0; i < t_result.dimensions().TotalSize(); i++) { 92 VERIFY_IS_APPROX(t_result.data()[i], m_result.data()[i]);
|
cxx11_tensor_contraction.cpp | 357 Tensor<float, 5, DataLayout> t_result(30, 50, 7, 20, 10); 375 t_result = t_left.contract(t_right, dims); 378 for (int i = 0; i < t_result.dimensions().TotalSize(); i++) { 379 VERIFY(&t_result.data()[i] != &m_result.data()[i]); 380 VERIFY_IS_APPROX(t_result.data()[i], m_result.data()[i]); 389 Tensor<float, 1, DataLayout> t_result(30); 403 t_result = t_left.contract(t_right, dims); 406 for (int i = 0; i < t_result.dimensions().TotalSize(); i++) { 407 VERIFY(internal::isApprox(t_result(i), m_result(i, 0), 1)); 423 Tensor<float, 3, DataLayout> t_result = t_left.contract(t_right, dim_pair01) local 453 Tensor<float, 5, DataLayout> t_result; local [all...] |
/external/markdown/MarkdownTest/ |
MarkdownTest.pl | 62 my $t_result = <RESULT>; 67 $t_result =~ s/\s+\z//; # trim trailing whitespace 71 $t_result =~ s{'}{'\\''}g; # escape ' chars for shell 73 $t_result = `echo '$t_result' | tidy -quiet --show-warnings n`; 77 if ($t_output eq $t_result) {
|
/external/valgrind/VEX/priv/ |
ir_inject.c | 312 if (iricb.t_result == Ity_I1 || sizeofIRType(iricb.t_result) <= 8) { 314 } else if (sizeofIRType(iricb.t_result) == 16) {
|
/external/valgrind/memcheck/tests/vbit-test/ |
valgrind.c | 44 cb.t_result = data->result.type;
|
/external/valgrind/VEX/pub/ |
libvex.h | 890 IRType t_result; \/\/ type of result member in struct:__anon37032 [all...] |