Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device > Struct Template Reference

#include <TensorCustomOp.h>

Public Types

enum  {
  IsAligned = false, PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1), BlockAccess = false, PreferBlockAccess = false,
  Layout = TensorEvaluator<XprType, Device>::Layout, CoordAccess = false, RawAccess = false
}
 
typedef TensorCustomUnaryOp< CustomUnaryFunc, XprTypeArgType
 
typedef internal::remove_const< typename XprType::CoeffReturnType >::type CoeffReturnType
 
typedef DSizes< Index, NumDimsDimensions
 
typedef Storage::Type EvaluatorPointerType
 
typedef internal::traits< ArgType >::Index Index
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef internal::remove_const< typename ArgType::Scalar >::type Scalar
 
typedef StorageMemory< CoeffReturnType, Device > Storage
 
typedef internal::TensorBlockNotImplemented TensorBlock
 
typedef Eigen::internal::traits< XprType >::PointerType TensorPointerType
 

Public Member Functions

EIGEN_STRONG_INLINE void cleanup ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff (bool vectorized) const
 
EIGEN_DEVICE_FUNC EvaluatorPointerType data () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensionsdimensions () const
 
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded (EvaluatorPointerType data)
 
template<int LoadMode>
EIGEN_DEVICE_FUNC PacketReturnType packet (Index index) const
 
EIGEN_STRONG_INLINE TensorEvaluator (const ArgType &op, const Device &device)
 

Static Public Attributes

static const int NumDims = internal::traits<ArgType>::NumDimensions
 
static const int PacketSize = PacketType<CoeffReturnType, Device>::size
 

Protected Member Functions

void evalTo (EvaluatorPointerType data)
 

Protected Attributes

const Device EIGEN_DEVICE_REF m_device
 
Dimensions m_dimensions
 
const ArgType m_op
 
EvaluatorPointerType m_result
 

Detailed Description

template<typename CustomUnaryFunc, typename XprType, typename Device>
struct Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >

Definition at line 81 of file TensorCustomOp.h.

Member Typedef Documentation

◆ ArgType

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef TensorCustomUnaryOp<CustomUnaryFunc, XprType> Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::ArgType

Definition at line 83 of file TensorCustomOp.h.

◆ CoeffReturnType

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef internal::remove_const<typename XprType::CoeffReturnType>::type Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::CoeffReturnType

Definition at line 88 of file TensorCustomOp.h.

◆ Dimensions

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef DSizes<Index, NumDims> Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::Dimensions

Definition at line 86 of file TensorCustomOp.h.

◆ EvaluatorPointerType

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::EvaluatorPointerType

Definition at line 93 of file TensorCustomOp.h.

◆ Index

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef internal::traits<ArgType>::Index Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::Index

Definition at line 84 of file TensorCustomOp.h.

◆ PacketReturnType

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::PacketReturnType

Definition at line 89 of file TensorCustomOp.h.

◆ Scalar

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef internal::remove_const<typename ArgType::Scalar>::type Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::Scalar

Definition at line 87 of file TensorCustomOp.h.

◆ Storage

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::Storage

Definition at line 92 of file TensorCustomOp.h.

◆ TensorBlock

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef internal::TensorBlockNotImplemented Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::TensorBlock

Definition at line 106 of file TensorCustomOp.h.

◆ TensorPointerType

template<typename CustomUnaryFunc , typename XprType , typename Device >
typedef Eigen::internal::traits<XprType>::PointerType Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::TensorPointerType

Definition at line 91 of file TensorCustomOp.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename CustomUnaryFunc , typename XprType , typename Device >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 
CoordAccess 
RawAccess 

Definition at line 95 of file TensorCustomOp.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_STRONG_INLINE Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::TensorEvaluator ( const ArgType op,
const Device &  device 
)
inline

Definition at line 109 of file TensorCustomOp.h.

Member Function Documentation

◆ cleanup()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::cleanup ( )
inline

Definition at line 129 of file TensorCustomOp.h.

◆ coeff()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::coeff ( Index  index) const
inline

Definition at line 136 of file TensorCustomOp.h.

◆ costPerCoeff()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::costPerCoeff ( bool  vectorized) const
inline

Definition at line 145 of file TensorCustomOp.h.

◆ data()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_DEVICE_FUNC EvaluatorPointerType Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::data ( ) const
inline

Definition at line 150 of file TensorCustomOp.h.

◆ dimensions()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::dimensions ( ) const
inline

Definition at line 115 of file TensorCustomOp.h.

◆ evalSubExprsIfNeeded()

template<typename CustomUnaryFunc , typename XprType , typename Device >
EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::evalSubExprsIfNeeded ( EvaluatorPointerType  data)
inline

Definition at line 117 of file TensorCustomOp.h.

◆ evalTo()

template<typename CustomUnaryFunc , typename XprType , typename Device >
void Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::evalTo ( EvaluatorPointerType  data)
inlineprotected

Definition at line 160 of file TensorCustomOp.h.

◆ packet()

template<typename CustomUnaryFunc , typename XprType , typename Device >
template<int LoadMode>
EIGEN_DEVICE_FUNC PacketReturnType Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::packet ( Index  index) const
inline

Definition at line 141 of file TensorCustomOp.h.

Member Data Documentation

◆ m_device

template<typename CustomUnaryFunc , typename XprType , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::m_device
protected

Definition at line 167 of file TensorCustomOp.h.

◆ m_dimensions

template<typename CustomUnaryFunc , typename XprType , typename Device >
Dimensions Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::m_dimensions
protected

Definition at line 165 of file TensorCustomOp.h.

◆ m_op

template<typename CustomUnaryFunc , typename XprType , typename Device >
const ArgType Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::m_op
protected

Definition at line 166 of file TensorCustomOp.h.

◆ m_result

template<typename CustomUnaryFunc , typename XprType , typename Device >
EvaluatorPointerType Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::m_result
protected

Definition at line 168 of file TensorCustomOp.h.

◆ NumDims

template<typename CustomUnaryFunc , typename XprType , typename Device >
const int Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::NumDims = internal::traits<ArgType>::NumDimensions
static

Definition at line 85 of file TensorCustomOp.h.

◆ PacketSize

template<typename CustomUnaryFunc , typename XprType , typename Device >
const int Eigen::TensorEvaluator< const TensorCustomUnaryOp< CustomUnaryFunc, XprType >, Device >::PacketSize = PacketType<CoeffReturnType, Device>::size
static

Definition at line 90 of file TensorCustomOp.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:43:52