Home
last modified time | relevance | path

Searched refs:expected_row_major (Results 1 – 2 of 2) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_image_patch.cpp91 float expected_row_major = 0.0f; in test_simple_patch() local
94 expected_row_major = tensor_row_major(b, c-2+j, r-1+i, d); in test_simple_patch()
103 expected_row_major) { in test_simple_patch()
109 expected_row_major); in test_simple_patch()
111 VERIFY_IS_EQUAL(expected, expected_row_major); in test_simple_patch()
151 float expected_row_major = 0.0f; in test_simple_patch() local
165 expected_row_major = tensor_row_major(b, col_offset, row_offset, d); in test_simple_patch()
168 if (twod_patch_row_major(b, patchId, c, r, d) != expected_row_major) { in test_simple_patch()
171 VERIFY_IS_EQUAL(twod_patch_row_major(b, patchId, c, r, d), expected_row_major); in test_simple_patch()
173 VERIFY_IS_EQUAL(expected, expected_row_major); in test_simple_patch()
[all …]
Dcxx11_tensor_volume_patch.cpp87 float expected_row_major = 0.0f; in test_entire_volume_patch() local
94 expected_row_major = tensor_row_major(b, eff_x, eff_y, eff_z, d); in test_entire_volume_patch()
97 … VERIFY_IS_EQUAL(entire_volume_patch_row_major(b, patchId, x, y, z, d), expected_row_major); in test_entire_volume_patch()