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);
56 template<
int DataLayout>
68 for (
int j = 0;
j < 3; ++
j) {
69 for (
int i = 0;
i < 2; ++
i) {
72 for (
int i = 2;
i < 4; ++
i) {
81 for (
int i = 0;
i < 2; ++
i) {
82 for (
int j = 0;
j < 3; ++
j) {
85 for (
int j = 3;
j < 6; ++
j) {
94 for (
int i = 0;
i < 2; ++
i) {
95 for (
int j = 0;
j < 3; ++
j) {
117 for (
int i = 0;
i < 2; ++
i) {
118 for (
int j = 0;
j < 3; ++
j) {
130 CALL_SUBTEST(test_static_dimension_failure<ColMajor>());
131 CALL_SUBTEST(test_static_dimension_failure<RowMajor>());
#define VERIFY_RAISES_ASSERT(a)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index dimension(std::size_t n) const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor< Scalar_, NumIndices_, Options_, IndexType_ > & setRandom()
static void test_simple_concatenation()
#define VERIFY_IS_EQUAL(a, b)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const Tensor< Scalar_, NumIndices_, Options_, IndexType_ > > reshape(const NewDimensions &newDimensions) const
static void test_concatenation_as_lvalue()
void test_cxx11_tensor_concatenation()
static void test_static_dimension_failure()
static void test_dimension_failures()
#define CALL_SUBTEST(FUNC)
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