![]() |
|
Macros | |
#define | CALL_SUBTESTS(NAME) |
Functions | |
template<int NumDims> | |
static DSizes< Index, NumDims > | RandomDims (Index min, Index max) |
static internal::TensorBlockShapeType | RandomBlockShape () |
template<int NumDims> | |
static size_t | RandomTargetBlockSize (const DSizes< Index, NumDims > &dims) |
template<int Layout, int NumDims> | |
static Index | GetInputIndex (Index output_index, const array< Index, NumDims > &output_to_input_dim_map, const array< Index, NumDims > &input_strides, const array< Index, NumDims > &output_strides) |
template<typename T , int NumDims, int Layout> | |
static void | test_block_io_copy_data_from_source_to_target () |
template<typename T , int NumDims, int Layout> | |
static void | test_block_io_copy_using_reordered_dimensions () |
template<int Layout> | |
static void | test_block_io_copy_using_reordered_dimensions_do_not_squeeze () |
template<int Layout> | |
static void | test_block_io_copy_using_reordered_dimensions_squeeze () |
template<int Layout> | |
static void | test_block_io_zero_stride () |
template<int Layout> | |
static void | test_block_io_squeeze_ones () |
EIGEN_DECLARE_TEST (cxx11_tensor_block_io) | |
#define CALL_SUBTESTS | ( | NAME | ) |
EIGEN_DECLARE_TEST | ( | cxx11_tensor_block_io | ) |
References CALL_SUBTEST, CALL_SUBTESTS, test_block_io_copy_data_from_source_to_target(), and test_block_io_copy_using_reordered_dimensions().
|
static |
References Eigen::ColMajor, and i.
|
static |
|
static |
|
static |
References Eigen::DSizes< DenseIndex, NumDims >::TotalSize().
Referenced by test_block_io_copy_data_from_source_to_target(), and test_block_io_copy_using_reordered_dimensions().
|
static |
References block(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), i, output(), RandomBlockShape(), RandomTargetBlockSize(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
|
static |
References block(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::g_seed, i, j, output(), RandomBlockShape(), RandomTargetBlockSize(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::internal::shuffle(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
|
static |
|
static |
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), i, output(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::internal::strides(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_EQUAL.
|
static |