![]() |
|
Classes | |
struct | TensorBlockParams< NumDims > |
struct | SimpleTensorGenerator< T, NumDims > |
struct | SimpleTensorGenerator< bool, NumDims > |
Macros | |
#define | CALL_SUBTEST_PART(PART) CALL_SUBTEST_##PART |
#define | CALL_SUBTESTS_DIMS_LAYOUTS_TYPES(PART, NAME) |
#define | CALL_SUBTESTS_DIMS_LAYOUTS(PART, NAME) |
#define | CALL_SUBTESTS_LAYOUTS_TYPES(PART, NAME) |
Functions | |
template<int NumDims> | |
static DSizes< Index, NumDims > | RandomDims (Index min, Index max) |
template<int Layout, int NumDims> | |
static TensorBlockParams< NumDims > | RandomBlock (DSizes< Index, NumDims > dims, Index min, Index max) |
template<int Layout, int NumDims> | |
static TensorBlockParams< NumDims > | SkewedInnerBlock (DSizes< Index, NumDims > dims) |
template<int NumDims> | |
static TensorBlockParams< NumDims > | FixedSizeBlock (DSizes< Index, NumDims > dims) |
Eigen::IndexList< Index, Eigen::type2index< 1 > > | NByOne (Index n) |
Eigen::IndexList< Eigen::type2index< 1 >, Index > | OneByM (Index m) |
template<typename T , int NumDims, int Layout, typename Expression , typename GenBlockParams > | |
static void | VerifyBlockEvaluator (Expression expr, GenBlockParams gen_block) |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_block () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_unary_expr_block () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_binary_expr_block () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_binary_with_unary_expr_block () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_broadcast () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_reshape () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_cast () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_select () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_padding () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_chipping () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_generator () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_reverse () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_slice () |
template<typename T , int NumDims, int Layout> | |
static void | test_eval_tensor_shuffle () |
template<typename T , int Layout> | |
static void | test_eval_tensor_reshape_with_bcast () |
template<typename T , int Layout> | |
static void | test_eval_tensor_forced_eval () |
template<typename T , int Layout> | |
static void | test_eval_tensor_chipping_of_bcast () |
template<typename T , int NumDims, int Layout, int NumExprDims = NumDims, typename Expression , typename GenBlockParams > | |
static void | VerifyBlockAssignment (Tensor< T, NumDims, Layout > &tensor, Expression expr, GenBlockParams gen_block) |
template<typename T , int NumDims, int Layout> | |
static void | test_assign_to_tensor () |
template<typename T , int NumDims, int Layout> | |
static void | test_assign_to_tensor_reshape () |
template<typename T , int NumDims, int Layout> | |
static void | test_assign_to_tensor_chipping () |
template<typename T , int NumDims, int Layout> | |
static void | test_assign_to_tensor_slice () |
template<typename T , int NumDims, int Layout> | |
static void | test_assign_to_tensor_shuffle () |
EIGEN_DECLARE_TEST (cxx11_tensor_block_eval) | |
#define CALL_SUBTEST_PART | ( | PART | ) | CALL_SUBTEST_##PART |
#define CALL_SUBTESTS_DIMS_LAYOUTS | ( | PART, | |
NAME | |||
) |
#define CALL_SUBTESTS_DIMS_LAYOUTS_TYPES | ( | PART, | |
NAME | |||
) |
#define CALL_SUBTESTS_LAYOUTS_TYPES | ( | PART, | |
NAME | |||
) |
EIGEN_DECLARE_TEST | ( | cxx11_tensor_block_eval | ) |
References CALL_SUBTESTS_DIMS_LAYOUTS, CALL_SUBTESTS_DIMS_LAYOUTS_TYPES, CALL_SUBTESTS_LAYOUTS_TYPES, test_assign_to_tensor(), test_assign_to_tensor_chipping(), test_assign_to_tensor_reshape(), test_assign_to_tensor_shuffle(), test_assign_to_tensor_slice(), test_eval_tensor_binary_expr_block(), test_eval_tensor_binary_with_unary_expr_block(), test_eval_tensor_block(), test_eval_tensor_broadcast(), test_eval_tensor_cast(), test_eval_tensor_chipping(), test_eval_tensor_chipping_of_bcast(), test_eval_tensor_forced_eval(), test_eval_tensor_generator(), test_eval_tensor_padding(), test_eval_tensor_reshape(), test_eval_tensor_reshape_with_bcast(), test_eval_tensor_reverse(), test_eval_tensor_select(), test_eval_tensor_shuffle(), test_eval_tensor_slice(), and test_eval_tensor_unary_expr_block().
|
static |
References i.
Referenced by test_assign_to_tensor(), test_assign_to_tensor_chipping(), and test_eval_tensor_chipping().
|
inline |
Referenced by Eigen::TensorEvaluator< const TensorReshapingOp< NewDimensions, ArgType >, Device >::block(), test_eval_tensor_forced_eval(), and test_eval_tensor_reshape_with_bcast().
|
inline |
Referenced by test_eval_tensor_forced_eval(), and test_eval_tensor_reshape_with_bcast().
|
static |
References i, max, min, Eigen::numext::mini(), sizes, and Eigen::internal::strides().
|
static |
|
static |
References block(), Eigen::ColMajor, i, sizes, Eigen::internal::strides(), and Eigen::DSizes< DenseIndex, NumDims >::TotalSize().
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), and FixedSizeBlock().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::chip(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), FixedSizeBlock(), i, and VerifyBlockAssignment().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::g_seed, Eigen::TensorBase< Derived, AccessLevel >::reshape(), and Eigen::internal::shuffle().
Referenced by EIGEN_DECLARE_TEST().
|
static |
|
static |
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References i, and Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::chip(), FixedSizeBlock(), i, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VerifyBlockEvaluator().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::chip(), Eigen::RowMajor, and Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References NByOne(), OneByM(), and Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::ColMajor, i, and Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
|
static |
References NByOne(), OneByM(), Eigen::TensorBase< Derived, AccessLevel >::reshape(), and Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References i, reverse(), Eigen::TensorBase< Derived, AccessLevel >::reverse(), and Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
|
static |
References i, Eigen::numext::mini(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and Eigen::TensorBase< Derived, AccessLevel >::slice().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References Eigen::TensorBase< Derived, AccessLevel >::setRandom().
Referenced by EIGEN_DECLARE_TEST().
|
static |
References block(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeff(), TensorBlockParams< NumDims >::desc, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::dimensions(), eval(), i, Eigen::internal::kView, TensorBlockParams< NumDims >::offsets, run(), Eigen::TensorBase< Derived, AccessLevel >::setZero(), TensorBlockParams< NumDims >::sizes, and VERIFY_IS_EQUAL.
Referenced by test_assign_to_tensor_chipping().
|
static |
References block(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::coeff(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), TensorBlockParams< NumDims >::desc, Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::dimension(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::dimensions(), Eigen::dimensions_match(), eval(), i, Eigen::internal::kMaterializedInOutput, TensorBlockParams< NumDims >::offsets, run(), Eigen::TensorBase< Derived, AccessLevel >::setZero(), TensorBlockParams< NumDims >::sizes, Eigen::TensorBase< Derived, AccessLevel >::slice(), and VERIFY_IS_EQUAL.
Referenced by test_eval_tensor_chipping().