Macros | Functions
cxx11_tensor_morphing.cpp File Reference
#include "main.h"
#include <Eigen/CXX11/Tensor>
Include dependency graph for cxx11_tensor_morphing.cpp:

Go to the source code of this file.

Macros

#define CALL_SUBTEST_PART(PART)   CALL_SUBTEST_##PART
 
#define CALL_SUBTESTS_TYPES_LAYOUTS(PART, NAME)
 

Functions

 EIGEN_DECLARE_TEST (cxx11_tensor_morphing)
 
template<typename T , int DataLayout>
static void test_composition ()
 
template<typename T >
static void test_const_slice ()
 
template<typename T , int DataLayout>
static void test_empty_slice ()
 
template<typename >
static void test_reshape_as_lvalue ()
 
template<typename >
static void test_reshape_in_expr ()
 
template<typename >
static void test_simple_reshape ()
 
template<typename T , int DataLayout>
static void test_simple_slice ()
 
template<typename T , int DataLayout>
static void test_slice_as_lvalue ()
 
template<typename T , int DataLayout>
static void test_slice_in_expr ()
 
template<typename T , int DataLayout>
static void test_slice_raw_data ()
 
template<typename >
static void test_static_reshape ()
 
template<typename T , int DataLayout>
static void test_strided_slice ()
 
template<typename T , int DataLayout>
static void test_strided_slice_write ()
 

Macro Definition Documentation

◆ CALL_SUBTEST_PART

#define CALL_SUBTEST_PART (   PART)    CALL_SUBTEST_##PART

Definition at line 542 of file cxx11_tensor_morphing.cpp.

◆ CALL_SUBTESTS_TYPES_LAYOUTS

#define CALL_SUBTESTS_TYPES_LAYOUTS (   PART,
  NAME 
)
Value:
CALL_SUBTEST_PART(PART)((NAME<float, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<float, RowMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, ColMajor>())); \
CALL_SUBTEST_PART(PART)((NAME<bool, RowMajor>()))
#define CALL_SUBTEST_PART(PART)

Definition at line 545 of file cxx11_tensor_morphing.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_morphing  )

Definition at line 551 of file cxx11_tensor_morphing.cpp.

◆ test_composition()

template<typename T , int DataLayout>
static void test_composition ( )
static

Definition at line 464 of file cxx11_tensor_morphing.cpp.

◆ test_const_slice()

template<typename T >
static void test_const_slice ( )
static

Definition at line 141 of file cxx11_tensor_morphing.cpp.

◆ test_empty_slice()

template<typename T , int DataLayout>
static void test_empty_slice ( )
static

Definition at line 483 of file cxx11_tensor_morphing.cpp.

◆ test_reshape_as_lvalue()

template<typename >
static void test_reshape_as_lvalue ( )
static

Definition at line 92 of file cxx11_tensor_morphing.cpp.

◆ test_reshape_in_expr()

template<typename >
static void test_reshape_in_expr ( )
static

Definition at line 67 of file cxx11_tensor_morphing.cpp.

◆ test_simple_reshape()

template<typename >
static void test_simple_reshape ( )
static

Definition at line 17 of file cxx11_tensor_morphing.cpp.

◆ test_simple_slice()

template<typename T , int DataLayout>
static void test_simple_slice ( )
static

Definition at line 116 of file cxx11_tensor_morphing.cpp.

◆ test_slice_as_lvalue()

template<typename T , int DataLayout>
static void test_slice_as_lvalue ( )
static

Definition at line 189 of file cxx11_tensor_morphing.cpp.

◆ test_slice_in_expr()

template<typename T , int DataLayout>
static void test_slice_in_expr ( )
static

Definition at line 152 of file cxx11_tensor_morphing.cpp.

◆ test_slice_raw_data()

template<typename T , int DataLayout>
static void test_slice_raw_data ( )
static

Definition at line 249 of file cxx11_tensor_morphing.cpp.

◆ test_static_reshape()

template<typename >
static void test_static_reshape ( )
static

Definition at line 45 of file cxx11_tensor_morphing.cpp.

◆ test_strided_slice()

template<typename T , int DataLayout>
static void test_strided_slice ( )
static

Definition at line 344 of file cxx11_tensor_morphing.cpp.

◆ test_strided_slice_write()

template<typename T , int DataLayout>
static void test_strided_slice_write ( )
static

Definition at line 438 of file cxx11_tensor_morphing.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:48