Searched refs:st_result (Results 1 – 1 of 1) sorted by relevance
/external/eigen/unsupported/test/ |
D | cxx11_tensor_thread_pool.cpp | 219 Tensor<float, 5, DataLayout> st_result; in test_multithread_contraction_agrees_with_singlethread() local 220 st_result = left.contract(right, dims); in test_multithread_contraction_agrees_with_singlethread() 222 Tensor<float, 5, DataLayout> tp_result(st_result.dimensions()); in test_multithread_contraction_agrees_with_singlethread() 225 VERIFY(dimensions_match(st_result.dimensions(), tp_result.dimensions())); in test_multithread_contraction_agrees_with_singlethread() 226 for (ptrdiff_t i = 0; i < st_result.size(); i++) { in test_multithread_contraction_agrees_with_singlethread() 229 if (numext::abs(st_result.data()[i] - tp_result.data()[i]) >= 1e-4f) { in test_multithread_contraction_agrees_with_singlethread() 230 VERIFY_IS_APPROX(st_result.data()[i], tp_result.data()[i]); in test_multithread_contraction_agrees_with_singlethread() 258 Tensor<float, 0, DataLayout> st_result; in test_full_contraction() local 259 st_result = left.contract(right, dims); in test_full_contraction() 264 VERIFY(dimensions_match(st_result.dimensions(), tp_result.dimensions())); in test_full_contraction() [all …]
|