Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device > Struct Template Reference

#include <TensorEvaluator.h>

Public Types

enum  {
  IsAligned = TensorEvaluator<ArgType, Device>::IsAligned, PacketAccess, BlockAccess = TensorEvaluator<ArgType, Device>::BlockAccess, PreferBlockAccess = TensorEvaluator<ArgType, Device>::PreferBlockAccess,
  Layout = TensorEvaluator<ArgType, Device>::Layout, CoordAccess = false, RawAccess = false
}
 
typedef TensorEvaluator< const ArgType, Device >::TensorBlock ArgTensorBlock
 
typedef internal::traits< XprType >::Scalar CoeffReturnType
 
typedef TensorEvaluator< ArgType, Device >::Dimensions Dimensions
 
typedef Storage::Type EvaluatorPointerType
 
typedef XprType::Index Index
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef XprType::Scalar Scalar
 
typedef internal::remove_const< Scalar >::type ScalarNoConst
 
typedef StorageMemory< CoeffReturnType, Device > Storage
 
typedef internal::TensorCwiseUnaryBlock< UnaryOp, ArgTensorBlockTensorBlock
 
typedef internal::TensorBlockDescriptor< NumDims, IndexTensorBlockDesc
 
typedef internal::TensorBlockScratchAllocator< Device > TensorBlockScratch
 
typedef TensorCwiseUnaryOp< UnaryOp, 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 CoeffReturnType coeff (Index index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff (bool vectorized) const
 
EIGEN_DEVICE_FUNC EvaluatorPointerType data () const
 
const EIGEN_DEVICE_FUNC 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
 
 TensorEvaluator (const XprType &op, const Device &device)
 

Static Public Attributes

static const int NumDims = internal::array_size<Dimensions>::value
 
static const int PacketSize = PacketType<CoeffReturnType, Device>::size
 

Private Attributes

TensorEvaluator< ArgType, Device > m_argImpl
 
const Device EIGEN_DEVICE_REF m_device
 
const UnaryOp m_functor
 

Detailed Description

template<typename UnaryOp, typename ArgType, typename Device>
struct Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >

Definition at line 442 of file TensorEvaluator.h.

Member Typedef Documentation

◆ ArgTensorBlock

template<typename UnaryOp , typename ArgType , typename Device >
typedef TensorEvaluator<const ArgType, Device>::TensorBlock Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::ArgTensorBlock

Definition at line 479 of file TensorEvaluator.h.

◆ CoeffReturnType

template<typename UnaryOp , typename ArgType , typename Device >
typedef internal::traits<XprType>::Scalar Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::CoeffReturnType

Definition at line 466 of file TensorEvaluator.h.

◆ Dimensions

template<typename UnaryOp , typename ArgType , typename Device >
typedef TensorEvaluator<ArgType, Device>::Dimensions Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Dimensions

Definition at line 469 of file TensorEvaluator.h.

◆ EvaluatorPointerType

template<typename UnaryOp , typename ArgType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::EvaluatorPointerType

Definition at line 471 of file TensorEvaluator.h.

◆ Index

template<typename UnaryOp , typename ArgType , typename Device >
typedef XprType::Index Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Index

Definition at line 463 of file TensorEvaluator.h.

◆ PacketReturnType

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

Definition at line 467 of file TensorEvaluator.h.

◆ Scalar

template<typename UnaryOp , typename ArgType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Scalar

Definition at line 464 of file TensorEvaluator.h.

◆ ScalarNoConst

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

Definition at line 465 of file TensorEvaluator.h.

◆ Storage

template<typename UnaryOp , typename ArgType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::Storage

Definition at line 470 of file TensorEvaluator.h.

◆ TensorBlock

template<typename UnaryOp , typename ArgType , typename Device >
typedef internal::TensorCwiseUnaryBlock<UnaryOp, ArgTensorBlock> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::TensorBlock

Definition at line 482 of file TensorEvaluator.h.

◆ TensorBlockDesc

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

Definition at line 475 of file TensorEvaluator.h.

◆ TensorBlockScratch

template<typename UnaryOp , typename ArgType , typename Device >
typedef internal::TensorBlockScratchAllocator<Device> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::TensorBlockScratch

Definition at line 476 of file TensorEvaluator.h.

◆ XprType

template<typename UnaryOp , typename ArgType , typename Device >
typedef TensorCwiseUnaryOp<UnaryOp, ArgType> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::XprType

Definition at line 444 of file TensorEvaluator.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 446 of file TensorEvaluator.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename UnaryOp , typename ArgType , typename Device >
Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::TensorEvaluator ( const XprType op,
const Device &  device 
)
inline

Definition at line 457 of file TensorEvaluator.h.

Member Function Documentation

◆ block()

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

Definition at line 529 of file TensorEvaluator.h.

◆ cleanup()

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

Definition at line 500 of file TensorEvaluator.h.

◆ coeff()

template<typename UnaryOp , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC CoeffReturnType Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::coeff ( Index  index) const
inline

Definition at line 504 of file TensorEvaluator.h.

◆ costPerCoeff()

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

Definition at line 515 of file TensorEvaluator.h.

◆ data()

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

Definition at line 534 of file TensorEvaluator.h.

◆ dimensions()

template<typename UnaryOp , typename ArgType , typename Device >
const EIGEN_DEVICE_FUNC Dimensions& Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::dimensions ( ) const
inline

Definition at line 485 of file TensorEvaluator.h.

◆ evalSubExprsIfNeeded()

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

Definition at line 487 of file TensorEvaluator.h.

◆ getResourceRequirements()

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

Definition at line 522 of file TensorEvaluator.h.

◆ packet()

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

Definition at line 510 of file TensorEvaluator.h.

Member Data Documentation

◆ m_argImpl

template<typename UnaryOp , typename ArgType , typename Device >
TensorEvaluator<ArgType, Device> Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::m_argImpl
private

Definition at line 547 of file TensorEvaluator.h.

◆ m_device

template<typename UnaryOp , typename ArgType , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::m_device
private

Definition at line 545 of file TensorEvaluator.h.

◆ m_functor

template<typename UnaryOp , typename ArgType , typename Device >
const UnaryOp Eigen::TensorEvaluator< const TensorCwiseUnaryOp< UnaryOp, ArgType >, Device >::m_functor
private

Definition at line 546 of file TensorEvaluator.h.

◆ NumDims

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

Definition at line 472 of file TensorEvaluator.h.

◆ PacketSize

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

Definition at line 468 of file TensorEvaluator.h.


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


gtsam
Author(s):
autogenerated on Wed May 15 2024 15:29:48