Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device > Struct Template Reference

#include <TensorCustomOp.h>

Public Types

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

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 XprType &op, const Device &device)
 

Static Public Attributes

static const int NumDims = internal::traits<XprType>::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 XprType m_op
 
EvaluatorPointerType m_result
 

Detailed Description

template<typename CustomBinaryFunc, typename LhsXprType, typename RhsXprType, typename Device>
struct Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >

Definition at line 253 of file TensorCustomOp.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef internal::remove_const<typename XprType::CoeffReturnType>::type Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::CoeffReturnType

Definition at line 260 of file TensorCustomOp.h.

◆ Dimensions

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef DSizes<Index, NumDims> Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::Dimensions

Definition at line 258 of file TensorCustomOp.h.

◆ EvaluatorPointerType

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::EvaluatorPointerType

Definition at line 266 of file TensorCustomOp.h.

◆ Index

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef internal::traits<XprType>::Index Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::Index

Definition at line 256 of file TensorCustomOp.h.

◆ PacketReturnType

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef PacketType<CoeffReturnType, Device>::type Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::PacketReturnType

Definition at line 261 of file TensorCustomOp.h.

◆ Scalar

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::Scalar

Definition at line 259 of file TensorCustomOp.h.

◆ Storage

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::Storage

Definition at line 265 of file TensorCustomOp.h.

◆ TensorBlock

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef internal::TensorBlockNotImplemented Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::TensorBlock

Definition at line 279 of file TensorCustomOp.h.

◆ TensorPointerType

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef Eigen::internal::traits<XprType>::PointerType Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::TensorPointerType

Definition at line 264 of file TensorCustomOp.h.

◆ XprType

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
typedef TensorCustomBinaryOp<CustomBinaryFunc, LhsXprType, RhsXprType> Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::XprType

Definition at line 255 of file TensorCustomOp.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
anonymous enum
Enumerator
IsAligned 
PacketAccess 
BlockAccess 
PreferBlockAccess 
Layout 
CoordAccess 
RawAccess 

Definition at line 268 of file TensorCustomOp.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_STRONG_INLINE Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::TensorEvaluator ( const XprType op,
const Device &  device 
)
inline

Definition at line 282 of file TensorCustomOp.h.

Member Function Documentation

◆ cleanup()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::cleanup ( )
inline

Definition at line 302 of file TensorCustomOp.h.

◆ coeff()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::coeff ( Index  index) const
inline

Definition at line 309 of file TensorCustomOp.h.

◆ costPerCoeff()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::costPerCoeff ( bool  vectorized) const
inline

Definition at line 318 of file TensorCustomOp.h.

◆ data()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_DEVICE_FUNC EvaluatorPointerType Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::data ( ) const
inline

Definition at line 323 of file TensorCustomOp.h.

◆ dimensions()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::dimensions ( ) const
inline

Definition at line 288 of file TensorCustomOp.h.

◆ evalSubExprsIfNeeded()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::evalSubExprsIfNeeded ( EvaluatorPointerType  data)
inline

Definition at line 290 of file TensorCustomOp.h.

◆ evalTo()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
void Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::evalTo ( EvaluatorPointerType  data)
inlineprotected

Definition at line 333 of file TensorCustomOp.h.

◆ packet()

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
template<int LoadMode>
EIGEN_DEVICE_FUNC PacketReturnType Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::packet ( Index  index) const
inline

Definition at line 314 of file TensorCustomOp.h.

Member Data Documentation

◆ m_device

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
const Device EIGEN_DEVICE_REF Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::m_device
protected

Definition at line 340 of file TensorCustomOp.h.

◆ m_dimensions

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
Dimensions Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::m_dimensions
protected

Definition at line 338 of file TensorCustomOp.h.

◆ m_op

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
const XprType Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::m_op
protected

Definition at line 339 of file TensorCustomOp.h.

◆ m_result

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
EvaluatorPointerType Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::m_result
protected

Definition at line 341 of file TensorCustomOp.h.

◆ NumDims

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
const int Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::NumDims = internal::traits<XprType>::NumDimensions
static

Definition at line 257 of file TensorCustomOp.h.

◆ PacketSize

template<typename CustomBinaryFunc , typename LhsXprType , typename RhsXprType , typename Device >
const int Eigen::TensorEvaluator< const TensorCustomBinaryOp< CustomBinaryFunc, LhsXprType, RhsXprType >, Device >::PacketSize = PacketType<CoeffReturnType, Device>::size
static

Definition at line 262 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