Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device > Struct Template Reference

#include <TensorEvaluator.h>

Public Types

enum  {
  IsAligned, PacketAccess, BlockAccess, PreferBlockAccess,
  Layout = TensorEvaluator<LeftArgType, Device>::Layout, CoordAccess = false, RawAccess = false
}
 
typedef internal::traits< XprType >::Scalar CoeffReturnType
 
typedef TensorEvaluator< LeftArgType, Device >::Dimensions Dimensions
 
typedef Storage::Type EvaluatorPointerType
 
typedef XprType::Index Index
 
typedef TensorEvaluator< const LeftArgType, Device >::TensorBlock LeftTensorBlock
 
typedef PacketType< CoeffReturnType, Device >::type PacketReturnType
 
typedef TensorEvaluator< const RightArgType, Device >::TensorBlock RightTensorBlock
 
typedef XprType::Scalar Scalar
 
typedef StorageMemory< CoeffReturnType, Device > Storage
 
typedef internal::TensorCwiseBinaryBlock< BinaryOp, LeftTensorBlock, RightTensorBlockTensorBlock
 
typedef internal::TensorBlockDescriptor< NumDims, IndexTensorBlockDesc
 
typedef internal::TensorBlockScratchAllocator< Device > TensorBlockScratch
 
typedef TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType > 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
 
static const int PacketSize = PacketType<CoeffReturnType, Device>::size
 

Private Attributes

const Device EIGEN_DEVICE_REF m_device
 
const BinaryOp m_functor
 
TensorEvaluator< LeftArgType, Device > m_leftImpl
 
TensorEvaluator< RightArgType, Device > m_rightImpl
 

Detailed Description

template<typename BinaryOp, typename LeftArgType, typename RightArgType, typename Device>
struct Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >

Definition at line 554 of file TensorEvaluator.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef internal::traits<XprType>::Scalar Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::CoeffReturnType

Definition at line 585 of file TensorEvaluator.h.

◆ Dimensions

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef TensorEvaluator<LeftArgType, Device>::Dimensions Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::Dimensions

Definition at line 588 of file TensorEvaluator.h.

◆ EvaluatorPointerType

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::EvaluatorPointerType

Definition at line 590 of file TensorEvaluator.h.

◆ Index

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef XprType::Index Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::Index

Definition at line 583 of file TensorEvaluator.h.

◆ LeftTensorBlock

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef TensorEvaluator<const LeftArgType, Device>::TensorBlock Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::LeftTensorBlock

Definition at line 600 of file TensorEvaluator.h.

◆ PacketReturnType

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::PacketReturnType

Definition at line 586 of file TensorEvaluator.h.

◆ RightTensorBlock

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef TensorEvaluator<const RightArgType, Device>::TensorBlock Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::RightTensorBlock

Definition at line 602 of file TensorEvaluator.h.

◆ Scalar

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::Scalar

Definition at line 584 of file TensorEvaluator.h.

◆ Storage

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::Storage

Definition at line 589 of file TensorEvaluator.h.

◆ TensorBlock

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef internal::TensorCwiseBinaryBlock<BinaryOp, LeftTensorBlock, RightTensorBlock> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::TensorBlock

Definition at line 606 of file TensorEvaluator.h.

◆ TensorBlockDesc

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef internal::TensorBlockDescriptor<NumDims, Index> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::TensorBlockDesc

Definition at line 596 of file TensorEvaluator.h.

◆ TensorBlockScratch

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef internal::TensorBlockScratchAllocator<Device> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::TensorBlockScratch

Definition at line 597 of file TensorEvaluator.h.

◆ XprType

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
typedef TensorCwiseBinaryOp<BinaryOp, LeftArgType, RightArgType> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::XprType

Definition at line 556 of file TensorEvaluator.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 
CoordAccess 
RawAccess 

Definition at line 558 of file TensorEvaluator.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::TensorEvaluator ( const XprType op,
const Device &  device 
)
inline

Definition at line 573 of file TensorEvaluator.h.

Member Function Documentation

◆ block()

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

Definition at line 666 of file TensorEvaluator.h.

◆ cleanup()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::cleanup ( )
inline

Definition at line 633 of file TensorEvaluator.h.

◆ coeff()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
EIGEN_DEVICE_FUNC CoeffReturnType Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::coeff ( Index  index) const
inline

Definition at line 638 of file TensorEvaluator.h.

◆ costPerCoeff()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::costPerCoeff ( bool  vectorized) const
inline

Definition at line 649 of file TensorEvaluator.h.

◆ data()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
EIGEN_DEVICE_FUNC EvaluatorPointerType Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::data ( ) const
inline

Definition at line 673 of file TensorEvaluator.h.

◆ dimensions()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
const EIGEN_DEVICE_FUNC Dimensions& Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::dimensions ( ) const
inline

Definition at line 609 of file TensorEvaluator.h.

◆ evalSubExprsIfNeeded()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::evalSubExprsIfNeeded ( EvaluatorPointerType  )
inline

Definition at line 615 of file TensorEvaluator.h.

◆ getResourceRequirements()

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::TensorBlockResourceRequirements Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::getResourceRequirements ( ) const
inline

Definition at line 657 of file TensorEvaluator.h.

◆ packet()

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

Definition at line 643 of file TensorEvaluator.h.

Member Data Documentation

◆ m_device

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::m_device
private

Definition at line 683 of file TensorEvaluator.h.

◆ m_functor

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
const BinaryOp Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::m_functor
private

Definition at line 684 of file TensorEvaluator.h.

◆ m_leftImpl

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
TensorEvaluator<LeftArgType, Device> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::m_leftImpl
private

Definition at line 685 of file TensorEvaluator.h.

◆ m_rightImpl

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
TensorEvaluator<RightArgType, Device> Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::m_rightImpl
private

Definition at line 686 of file TensorEvaluator.h.

◆ NumDims

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::NumDims
static
Initial value:

Definition at line 592 of file TensorEvaluator.h.

◆ PacketSize

template<typename BinaryOp , typename LeftArgType , typename RightArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorCwiseBinaryOp< BinaryOp, LeftArgType, RightArgType >, Device >::PacketSize = PacketType<CoeffReturnType, Device>::size
static

Definition at line 587 of file TensorEvaluator.h.


The documentation for this struct was generated from the following file:
test_callbacks.value
value
Definition: test_callbacks.py:158
Eigen::TensorEvaluator< LeftArgType, Device >::Dimensions
LeftArgType ::Dimensions Dimensions
Definition: TensorEvaluator.h:34


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