Home
last modified time | relevance | path

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

/external/eigen/unsupported/test/
Dcxx11_tensor_image_patch.cpp129 Tensor<float, 5, RowMajor> twod_patch_row_major; in test_simple_patch() local
130 twod_patch_row_major = tensor_row_major.extract_image_patches(2, 2); in test_simple_patch()
131 VERIFY_IS_EQUAL(twod_patch_row_major.dimension(0), 7); in test_simple_patch()
132 VERIFY_IS_EQUAL(twod_patch_row_major.dimension(1), 3*5); in test_simple_patch()
133 VERIFY_IS_EQUAL(twod_patch_row_major.dimension(2), 2); in test_simple_patch()
134 VERIFY_IS_EQUAL(twod_patch_row_major.dimension(3), 2); in test_simple_patch()
135 VERIFY_IS_EQUAL(twod_patch_row_major.dimension(4), 2); 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()
509 Tensor<float, 4, RowMajor> twod_patch_row_major; in test_patch_no_extra_dim() local
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DREADME.md1694 Tensor<float, 5, RowMajor> twod_patch_row_major;
1695 twod_patch_row_major = tensor_row_major.extract_image_patches<2, 2>();
1696 // twod_patch_row_major.dimension(0) == 7
1697 // twod_patch_row_major.dimension(1) == 3*5
1698 // twod_patch_row_major.dimension(2) == 2
1699 // twod_patch_row_major.dimension(3) == 2
1700 // twod_patch_row_major.dimension(4) == 2