![]() |
|
Functions | |
void | test_simple_patch () |
void | test_patch_padding_valid () |
void | test_patch_padding_valid_same_value () |
void | test_patch_padding_same () |
void | test_patch_padding_same_negative_padding_clip_to_zero () |
void | test_patch_no_extra_dim () |
void | test_imagenet_patches () |
EIGEN_DECLARE_TEST (cxx11_tensor_image_patch) | |
EIGEN_DECLARE_TEST | ( | cxx11_tensor_image_patch | ) |
References CALL_SUBTEST_1, CALL_SUBTEST_2, CALL_SUBTEST_3, CALL_SUBTEST_4, CALL_SUBTEST_5, CALL_SUBTEST_6, CALL_SUBTEST_7, test_imagenet_patches(), test_patch_no_extra_dim(), test_patch_padding_same(), test_patch_padding_same_negative_padding_clip_to_zero(), test_patch_padding_valid(), test_patch_padding_valid_same_value(), and test_simple_patch().
void test_imagenet_patches | ( | ) |
References b, calibrate::c, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, UniformPSDSelfTest::r, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::resize(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void test_patch_no_extra_dim | ( | ) |
References calibrate::c, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, UniformPSDSelfTest::r, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void test_patch_padding_same | ( | ) |
References b, calibrate::c, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, Eigen::PADDING_SAME, UniformPSDSelfTest::r, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void test_patch_padding_same_negative_padding_clip_to_zero | ( | ) |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeff(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, Eigen::PADDING_SAME, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void test_patch_padding_valid | ( | ) |
References b, calibrate::c, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, Eigen::PADDING_VALID, UniformPSDSelfTest::r, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void test_patch_padding_valid_same_value | ( | ) |
References b, calibrate::c, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, Eigen::PADDING_VALID, UniformPSDSelfTest::r, Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void test_simple_patch | ( | ) |
References b, calibrate::c, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimension(), i, j, UniformPSDSelfTest::r, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::TensorBase< Derived, AccessLevel >::swap_layout(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().