TR-mbed 1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Eigen::TensorEvaluator< const Derived, Device > Struct Template Reference

#include <TensorEvaluator.h>

Public Types

enum  {
  IsAligned = Derived::IsAligned , PacketAccess = (PacketType<CoeffReturnType, Device>::size > 1) , BlockAccess = internal::is_arithmetic<ScalarNoConst>::value , PreferBlockAccess = false ,
  Layout = Derived::Layout
}
 
typedef Derived::Index Index
 
typedef Derived::Scalar Scalar
 
typedef Derived::Scalar CoeffReturnType
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef Derived::Dimensions Dimensions
 
typedef const Derived XprType
 
typedef internal::traits< Derived >::template MakePointer< constScalar >::Type TensorPointerType
 
typedef StorageMemory< const Scalar, Device > Storage
 
typedef Storage::Type EvaluatorPointerType
 
typedef internal::remove_const< Scalar >::type ScalarNoConst
 
typedef internal::TensorBlockDescriptor< NumCoords, IndexTensorBlockDesc
 
typedef internal::TensorBlockScratchAllocator< Device > TensorBlockScratch
 
typedef internal::TensorMaterializedBlock< ScalarNoConst, NumCoords, Layout, IndexTensorBlock
 

Public Member Functions

EIGEN_STRONG_INLINE TensorEvaluator (const Derived &m, const Device &device)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensionsdimensions () const
 
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded (EvaluatorPointerType data)
 
EIGEN_STRONG_INLINE void cleanup ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff (Index index) const
 
template<int LoadMode>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet (Index index) const
 
template<typename PacketReturnTypeT >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::enable_if< internal::unpacket_traits< PacketReturnTypeT >::masked_load_available, PacketReturnTypeT >::type partialPacket (Index index, typename internal::unpacket_traits< PacketReturnTypeT >::mask_t umask) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff (const array< DenseIndex, NumCoords > &coords) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff (bool vectorized) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::TensorBlockResourceRequirements getResourceRequirements () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorBlock block (TensorBlockDesc &desc, TensorBlockScratch &scratch, bool=false) const
 
EIGEN_DEVICE_FUNC EvaluatorPointerType data () const
 

Static Public Attributes

static const int NumCoords
 
static const int PacketSize = PacketType<CoeffReturnType, Device>::size
 

Protected Attributes

EvaluatorPointerType m_data
 
Dimensions m_dims
 
const Device EIGEN_DEVICE_REF m_device
 

Member Typedef Documentation

◆ CoeffReturnType

template<typename Derived , typename Device >
typedef Derived::Scalar Eigen::TensorEvaluator< const Derived, Device >::CoeffReturnType

◆ Dimensions

template<typename Derived , typename Device >
typedef Derived::Dimensions Eigen::TensorEvaluator< const Derived, Device >::Dimensions

◆ EvaluatorPointerType

template<typename Derived , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const Derived, Device >::EvaluatorPointerType

◆ Index

template<typename Derived , typename Device >
typedef Derived::Index Eigen::TensorEvaluator< const Derived, Device >::Index

◆ PacketReturnType

template<typename Derived , typename Device >
typedef PacketType<CoeffReturnType,Device>::type Eigen::TensorEvaluator< const Derived, Device >::PacketReturnType

◆ Scalar

template<typename Derived , typename Device >
typedef Derived::Scalar Eigen::TensorEvaluator< const Derived, Device >::Scalar

◆ ScalarNoConst

template<typename Derived , typename Device >
typedef internal::remove_const<Scalar>::type Eigen::TensorEvaluator< const Derived, Device >::ScalarNoConst

◆ Storage

template<typename Derived , typename Device >
typedef StorageMemory<const Scalar, Device> Eigen::TensorEvaluator< const Derived, Device >::Storage

◆ TensorBlock

template<typename Derived , typename Device >
typedef internal::TensorMaterializedBlock<ScalarNoConst, NumCoords, Layout, Index> Eigen::TensorEvaluator< const Derived, Device >::TensorBlock

◆ TensorBlockDesc

template<typename Derived , typename Device >
typedef internal::TensorBlockDescriptor<NumCoords, Index> Eigen::TensorEvaluator< const Derived, Device >::TensorBlockDesc

◆ TensorBlockScratch

template<typename Derived , typename Device >
typedef internal::TensorBlockScratchAllocator<Device> Eigen::TensorEvaluator< const Derived, Device >::TensorBlockScratch

◆ TensorPointerType

template<typename Derived , typename Device >
typedef internal::traits<Derived>::template MakePointer<constScalar>::Type Eigen::TensorEvaluator< const Derived, Device >::TensorPointerType

◆ XprType

template<typename Derived , typename Device >
typedef const Derived Eigen::TensorEvaluator< const Derived, Device >::XprType

Member Enumeration Documentation

◆ anonymous enum

template<typename Derived , typename Device >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename Derived , typename Device >
EIGEN_STRONG_INLINE Eigen::TensorEvaluator< const Derived, Device >::TensorEvaluator ( const Derived &  m,
const Device &  device 
)
inline

Member Function Documentation

◆ block()

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

◆ cleanup()

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

◆ coeff() [1/2]

template<typename Derived , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType Eigen::TensorEvaluator< const Derived, Device >::coeff ( const array< DenseIndex, NumCoords > &  coords) const
inline

◆ coeff() [2/2]

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

◆ costPerCoeff()

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

◆ data()

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

◆ dimensions()

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

◆ evalSubExprsIfNeeded()

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

◆ getResourceRequirements()

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

◆ packet()

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

◆ partialPacket()

template<typename Derived , typename Device >
template<typename PacketReturnTypeT >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::enable_if< internal::unpacket_traits< PacketReturnTypeT >::masked_load_available, PacketReturnTypeT >::type Eigen::TensorEvaluator< const Derived, Device >::partialPacket ( Index  index,
typename internal::unpacket_traits< PacketReturnTypeT >::mask_t  umask 
) const
inline

Member Data Documentation

◆ m_data

template<typename Derived , typename Device >
EvaluatorPointerType Eigen::TensorEvaluator< const Derived, Device >::m_data
protected

◆ m_device

template<typename Derived , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const Derived, Device >::m_device
protected

◆ m_dims

template<typename Derived , typename Device >
Dimensions Eigen::TensorEvaluator< const Derived, Device >::m_dims
protected

◆ NumCoords

template<typename Derived , typename Device >
const int Eigen::TensorEvaluator< const Derived, Device >::NumCoords
static
Initial value:
= internal::traits<Derived>::NumDimensions > 0 ?
internal::traits<Derived>::NumDimensions : 0

◆ PacketSize

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

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