Classes | Functions | Variables
tensor.h File Reference
#include "../numpy.h"
#include "common.h"
#include <unsupported/Eigen/CXX11/Tensor>
Include dependency graph for tensor.h:

Go to the source code of this file.

Classes

struct  eigen_tensor_helper< T >
 
struct  eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >
 
struct  eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >
 
struct  get_storage_pointer_type< T, typename >
 
struct  get_storage_pointer_type< MapType, void_t< typename MapType::PointerArgType > >
 
struct  get_storage_pointer_type< MapType, void_t< typename MapType::StoragePointerType > >
 
struct  get_tensor_descriptor< Type, ShowDetails, NeedsWriteable >
 
struct  eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::helper< T >
 
struct  eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::helper< index_sequence< Is... > >
 
struct  type_caster< Eigen::TensorMap< Type, Options >, typename eigen_tensor_helper< remove_cv_t< Type > >::ValidType >
 
struct  type_caster< Type, typename eigen_tensor_helper< Type >::ValidType >
 

Functions

template<typename T >
constexpr int compute_array_flag_from_tensor ()
 
template<typename T , int size>
PYBIND11_WARNING_PUSH std::vector< Tconvert_dsizes_to_vector (const Eigen::DSizes< T, size > &arr)
 
template<typename StoragePointerType , bool needs_writeable, enable_if_t<!needs_writeable, bool > = true>
StoragePointerType get_array_data_for_type (array &arr)
 
template<typename T , int size>
Eigen::DSizes< T, sizeget_shape_for_array (const array &arr)
 
bool is_tensor_aligned (const void *data)
 

Variables

PYBIND11_WARNING_PUSH PYBIND11_WARNING_POP
 

Function Documentation

◆ compute_array_flag_from_tensor()

template<typename T >
constexpr int compute_array_flag_from_tensor ( )
constexpr

Definition at line 43 of file tensor.h.

◆ convert_dsizes_to_vector()

template<typename T , int size>
PYBIND11_WARNING_PUSH std::vector<T> convert_dsizes_to_vector ( const Eigen::DSizes< T, size > &  arr)

Definition at line 144 of file tensor.h.

◆ get_array_data_for_type()

template<typename StoragePointerType , bool needs_writeable, enable_if_t<!needs_writeable, bool > = true>
StoragePointerType get_array_data_for_type ( array arr)

Definition at line 334 of file tensor.h.

◆ get_shape_for_array()

template<typename T , int size>
Eigen::DSizes<T, size> get_shape_for_array ( const array arr)

Definition at line 155 of file tensor.h.

◆ is_tensor_aligned()

bool is_tensor_aligned ( const void *  data)
inline

Definition at line 38 of file tensor.h.

Variable Documentation

◆ PYBIND11_WARNING_POP

PYBIND11_WARNING_PUSH PYBIND11_WARNING_POP

Definition at line 30 of file tensor.h.



gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:08:42