12 #include <Eigen/CXX11/Tensor> 16 template<
int DataLayout>
36 template<
int DataLayout>
42 #ifdef CXX11_TENSOR_CONCATENATION_STATIC_DIMENSION_FAILURE 51 .concatenate(right, 0);
62 template<
int DataLayout>
74 for (
int j = 0;
j < 3; ++
j) {
75 for (
int i = 0;
i < 2; ++
i) {
78 for (
int i = 2;
i < 4; ++
i) {
87 for (
int i = 0;
i < 2; ++
i) {
88 for (
int j = 0;
j < 3; ++
j) {
91 for (
int j = 3;
j < 6; ++
j) {
100 for (
int i = 0;
i < 2; ++
i) {
101 for (
int j = 0;
j < 3; ++
j) {
123 for (
int i = 0;
i < 2; ++
i) {
124 for (
int j = 0;
j < 3; ++
j) {
136 CALL_SUBTEST(test_static_dimension_failure<ColMajor>());
137 CALL_SUBTEST(test_static_dimension_failure<RowMajor>());
#define VERIFY_RAISES_ASSERT(a)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ >, const OtherDerived > concatenate(const OtherDerived &other, const Axis &axis) const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & setRandom()
static void test_simple_concatenation()
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > reshape(const NewDimensions &newDimensions) const
#define VERIFY_IS_EQUAL(a, b)
static void test_concatenation_as_lvalue()
static void test_static_dimension_failure()
static void test_dimension_failures()
#define CALL_SUBTEST(FUNC)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index dimension(std::size_t n) const
EIGEN_DECLARE_TEST(cxx11_tensor_concatenation)