Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device > Struct Template Reference

#include <TensorGenerator.h>

Classes

struct  BlockIteratorState
 

Public Types

enum  {
  IsAligned = false, PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1), BlockAccess = true, PreferBlockAccess = true,
  Layout = TensorEvaluator<ArgType, Device>::Layout, CoordAccess = false, RawAccess = false
}
 
typedef XprType::CoeffReturnType CoeffReturnType
 
typedef TensorEvaluator< ArgType, Device >::Dimensions Dimensions
 
typedef Storage::Type EvaluatorPointerType
 
typedef XprType::Index Index
 
typedef internal::TensorIntDivisor< IndexIndexDivisor
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef XprType::Scalar Scalar
 
typedef StorageMemory< CoeffReturnType, Device > Storage
 
typedef internal::TensorMaterializedBlock< CoeffReturnType, NumDims, Layout, IndexTensorBlock
 
typedef internal::TensorBlockDescriptor< NumDims, IndexTensorBlockDesc
 
typedef internal::TensorBlockScratchAllocator< Device > TensorBlockScratch
 
typedef TensorGeneratorOp< Generator, ArgType > XprType
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock block (TensorBlockDesc &desc, TensorBlockScratch &scratch, bool=false) const
 
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) const
 
EIGEN_DEVICE_FUNC EvaluatorPointerType data () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensionsdimensions () const
 
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded (EvaluatorPointerType)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::TensorBlockResourceRequirements getResourceRequirements () const
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet (Index index) const
 
EIGEN_STRONG_INLINE TensorEvaluator (const XprType &op, const Device &device)
 

Static Public Attributes

static const int NumDims = internal::array_size<Dimensions>::value
 

Protected Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void extract_coordinates (Index index, array< Index, NumDims > &coords) const
 

Protected Attributes

const Device EIGEN_DEVICE_REF m_device
 
Dimensions m_dimensions
 
array< IndexDivisor, NumDimsm_fast_strides
 
Generator m_generator
 
array< Index, NumDimsm_strides
 

Detailed Description

template<typename Generator, typename ArgType, typename Device>
struct Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >

Definition at line 82 of file TensorGenerator.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename Generator , typename ArgType , typename Device >
typedef XprType::CoeffReturnType Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::CoeffReturnType

Definition at line 89 of file TensorGenerator.h.

◆ Dimensions

template<typename Generator , typename ArgType , typename Device >
typedef TensorEvaluator<ArgType, Device>::Dimensions Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::Dimensions

Definition at line 86 of file TensorGenerator.h.

◆ EvaluatorPointerType

template<typename Generator , typename ArgType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::EvaluatorPointerType

Definition at line 92 of file TensorGenerator.h.

◆ Index

template<typename Generator , typename ArgType , typename Device >
typedef XprType::Index Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::Index

Definition at line 85 of file TensorGenerator.h.

◆ IndexDivisor

template<typename Generator , typename ArgType , typename Device >
typedef internal::TensorIntDivisor<Index> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::IndexDivisor

Definition at line 103 of file TensorGenerator.h.

◆ PacketReturnType

template<typename Generator , typename ArgType , typename Device >
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::PacketReturnType

Definition at line 90 of file TensorGenerator.h.

◆ Scalar

template<typename Generator , typename ArgType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::Scalar

Definition at line 88 of file TensorGenerator.h.

◆ Storage

template<typename Generator , typename ArgType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::Storage

Definition at line 91 of file TensorGenerator.h.

◆ TensorBlock

template<typename Generator , typename ArgType , typename Device >
typedef internal::TensorMaterializedBlock<CoeffReturnType, NumDims, Layout, Index> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::TensorBlock

Definition at line 111 of file TensorGenerator.h.

◆ TensorBlockDesc

template<typename Generator , typename ArgType , typename Device >
typedef internal::TensorBlockDescriptor<NumDims, Index> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::TensorBlockDesc

Definition at line 106 of file TensorGenerator.h.

◆ TensorBlockScratch

template<typename Generator , typename ArgType , typename Device >
typedef internal::TensorBlockScratchAllocator<Device> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::TensorBlockScratch

Definition at line 107 of file TensorGenerator.h.

◆ XprType

template<typename Generator , typename ArgType , typename Device >
typedef TensorGeneratorOp<Generator, ArgType> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::XprType

Definition at line 84 of file TensorGenerator.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 93 of file TensorGenerator.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

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

Definition at line 114 of file TensorGenerator.h.

Member Function Documentation

◆ block()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::block ( TensorBlockDesc desc,
TensorBlockScratch scratch,
bool  = false 
) const
inline

Definition at line 183 of file TensorGenerator.h.

◆ cleanup()

template<typename Generator , typename ArgType , typename Device >
EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::cleanup ( )
inline

Definition at line 142 of file TensorGenerator.h.

◆ coeff()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::coeff ( Index  index) const
inline

Definition at line 145 of file TensorGenerator.h.

◆ costPerCoeff()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::costPerCoeff ( bool  ) const
inline

Definition at line 259 of file TensorGenerator.h.

◆ data()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EvaluatorPointerType Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::data ( ) const
inline

Definition at line 266 of file TensorGenerator.h.

◆ dimensions()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::dimensions ( ) const
inline

Definition at line 137 of file TensorGenerator.h.

◆ evalSubExprsIfNeeded()

template<typename Generator , typename ArgType , typename Device >
EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::evalSubExprsIfNeeded ( EvaluatorPointerType  )
inline

Definition at line 139 of file TensorGenerator.h.

◆ extract_coordinates()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::extract_coordinates ( Index  index,
array< Index, NumDims > &  coords 
) const
inlineprotected

Definition at line 275 of file TensorGenerator.h.

◆ getResourceRequirements()

template<typename Generator , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::TensorBlockResourceRequirements Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::getResourceRequirements ( ) const
inline

Definition at line 168 of file TensorGenerator.h.

◆ packet()

template<typename Generator , typename ArgType , typename Device >
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::packet ( Index  index) const
inline

Definition at line 153 of file TensorGenerator.h.

Member Data Documentation

◆ m_device

template<typename Generator , typename ArgType , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::m_device
protected

Definition at line 293 of file TensorGenerator.h.

◆ m_dimensions

template<typename Generator , typename ArgType , typename Device >
Dimensions Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::m_dimensions
protected

Definition at line 294 of file TensorGenerator.h.

◆ m_fast_strides

template<typename Generator , typename ArgType , typename Device >
array<IndexDivisor, NumDims> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::m_fast_strides
protected

Definition at line 296 of file TensorGenerator.h.

◆ m_generator

template<typename Generator , typename ArgType , typename Device >
Generator Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::m_generator
protected

Definition at line 297 of file TensorGenerator.h.

◆ m_strides

template<typename Generator , typename ArgType , typename Device >
array<Index, NumDims> Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::m_strides
protected

Definition at line 295 of file TensorGenerator.h.

◆ NumDims

template<typename Generator , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorGeneratorOp< Generator, ArgType >, Device >::NumDims = internal::array_size<Dimensions>::value
static

Definition at line 87 of file TensorGenerator.h.


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


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