Searched refs:single_pixel_patch_row_major (Results 1 – 1 of 1) sorted by relevance
36 Tensor<float, 5, RowMajor> single_pixel_patch_row_major; in test_simple_patch() local37 single_pixel_patch_row_major = tensor_row_major.extract_image_patches(1, 1); in test_simple_patch()38 VERIFY_IS_EQUAL(single_pixel_patch_row_major.dimension(0), 7); in test_simple_patch()39 VERIFY_IS_EQUAL(single_pixel_patch_row_major.dimension(1), 3*5); in test_simple_patch()40 VERIFY_IS_EQUAL(single_pixel_patch_row_major.dimension(2), 1); in test_simple_patch()41 VERIFY_IS_EQUAL(single_pixel_patch_row_major.dimension(3), 1); in test_simple_patch()42 VERIFY_IS_EQUAL(single_pixel_patch_row_major.dimension(4), 2); in test_simple_patch()53 if (tensor_row_major.data()[i] != single_pixel_patch_row_major.data()[i]) { in test_simple_patch()56 << single_pixel_patch_row_major.data()[i] << std::endl; in test_simple_patch()58 VERIFY_IS_EQUAL(single_pixel_patch_row_major.data()[i], in test_simple_patch()[all …]