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

#include <TensorArgMax.h>

Public Types

enum  {
  IsAligned = false, PacketAccess = false, BlockAccess = false, PreferBlockAccess = TensorEvaluator<ArgType, Device>::PreferBlockAccess,
  Layout = TensorEvaluator<const TensorReductionOp<ReduceOp, Dims, const TensorIndexTupleOp<ArgType> >, Device>::Layout, CoordAccess = false, RawAccess = false
}
 
typedef XprType::CoeffReturnType CoeffReturnType
 
typedef TensorEvaluator< const TensorReductionOp< ReduceOp, Dims, const TensorIndexTupleOp< ArgType > >, Device >::Dimensions Dimensions
 
typedef Storage::Type EvaluatorPointerType
 
typedef XprType::Index Index
 
typedef TensorEvaluator< const TensorIndexTupleOp< ArgType >, Device >::Dimensions InputDimensions
 
typedef XprType::Scalar Scalar
 
typedef StorageMemory< CoeffReturnType, Device > Storage
 
typedef array< Index, NumDimsStrideDims
 
typedef internal::TensorBlockNotImplemented TensorBlock
 
typedef StorageMemory< TupleType, Device > TupleStorageMem
 
typedef TensorIndexTupleOp< ArgType >::CoeffReturnType TupleType
 
typedef TensorTupleReducerOp< ReduceOp, Dims, ArgType > 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)
 
EIGEN_STRONG_INLINE TensorEvaluator (const XprType &op, const Device &device)
 

Static Public Attributes

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

Protected Attributes

TensorEvaluator< const TensorReductionOp< ReduceOp, Dims, const TensorIndexTupleOp< ArgType > >, Device > m_impl
 
TensorEvaluator< const TensorIndexTupleOp< ArgType >, Device > m_orig_impl
 
const Index m_return_dim
 
Index m_stride_div
 
Index m_stride_mod
 
StrideDims m_strides
 

Private Member Functions

EIGEN_DEVICE_FUNC void gen_strides (const InputDimensions &dims, StrideDims &strides)
 

Detailed Description

template<typename ReduceOp, typename Dims, typename ArgType, typename Device>
struct Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >

Definition at line 214 of file TensorArgMax.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef XprType::CoeffReturnType Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::CoeffReturnType

Definition at line 219 of file TensorArgMax.h.

◆ Dimensions

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef TensorEvaluator<const TensorReductionOp<ReduceOp, Dims, const TensorIndexTupleOp<ArgType> >, Device>::Dimensions Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::Dimensions

Definition at line 221 of file TensorArgMax.h.

◆ EvaluatorPointerType

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef Storage::Type Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::EvaluatorPointerType

Definition at line 226 of file TensorArgMax.h.

◆ Index

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef XprType::Index Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::Index

Definition at line 217 of file TensorArgMax.h.

◆ InputDimensions

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef TensorEvaluator<const TensorIndexTupleOp<ArgType> , Device>::Dimensions Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::InputDimensions

Definition at line 222 of file TensorArgMax.h.

◆ Scalar

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef XprType::Scalar Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::Scalar

Definition at line 218 of file TensorArgMax.h.

◆ Storage

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef StorageMemory<CoeffReturnType, Device> Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::Storage

Definition at line 225 of file TensorArgMax.h.

◆ StrideDims

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef array<Index, NumDims> Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::StrideDims

Definition at line 224 of file TensorArgMax.h.

◆ TensorBlock

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef internal::TensorBlockNotImplemented Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::TensorBlock

Definition at line 240 of file TensorArgMax.h.

◆ TupleStorageMem

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef StorageMemory<TupleType, Device> Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::TupleStorageMem

Definition at line 227 of file TensorArgMax.h.

◆ TupleType

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef TensorIndexTupleOp<ArgType>::CoeffReturnType Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::TupleType

Definition at line 220 of file TensorArgMax.h.

◆ XprType

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
typedef TensorTupleReducerOp<ReduceOp, Dims, ArgType> Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::XprType

Definition at line 216 of file TensorArgMax.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 229 of file TensorArgMax.h.

Constructor & Destructor Documentation

◆ TensorEvaluator()

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
EIGEN_STRONG_INLINE Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::TensorEvaluator ( const XprType op,
const Device &  device 
)
inline

Definition at line 243 of file TensorArgMax.h.

Member Function Documentation

◆ cleanup()

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
EIGEN_STRONG_INLINE void Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::cleanup ( )
inline

Definition at line 270 of file TensorArgMax.h.

◆ coeff()

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

Definition at line 274 of file TensorArgMax.h.

◆ costPerCoeff()

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

Definition at line 288 of file TensorArgMax.h.

◆ data()

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EvaluatorPointerType Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::data ( ) const
inline

Definition at line 279 of file TensorArgMax.h.

◆ dimensions()

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::dimensions ( ) const
inline

Definition at line 262 of file TensorArgMax.h.

◆ evalSubExprsIfNeeded()

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
EIGEN_STRONG_INLINE bool Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::evalSubExprsIfNeeded ( EvaluatorPointerType  )
inline

Definition at line 266 of file TensorArgMax.h.

◆ gen_strides()

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
EIGEN_DEVICE_FUNC void Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::gen_strides ( const InputDimensions dims,
StrideDims strides 
)
inlineprivate

Definition at line 296 of file TensorArgMax.h.

Member Data Documentation

◆ m_impl

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
TensorEvaluator<const TensorReductionOp<ReduceOp, Dims, const TensorIndexTupleOp<ArgType> >, Device> Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::m_impl
protected

Definition at line 320 of file TensorArgMax.h.

◆ m_orig_impl

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
TensorEvaluator<const TensorIndexTupleOp<ArgType>, Device> Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::m_orig_impl
protected

Definition at line 319 of file TensorArgMax.h.

◆ m_return_dim

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
const Index Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::m_return_dim
protected

Definition at line 321 of file TensorArgMax.h.

◆ m_stride_div

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
Index Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::m_stride_div
protected

Definition at line 324 of file TensorArgMax.h.

◆ m_stride_mod

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
Index Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::m_stride_mod
protected

Definition at line 323 of file TensorArgMax.h.

◆ m_strides

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
StrideDims Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::m_strides
protected

Definition at line 322 of file TensorArgMax.h.

◆ NumDims

template<typename ReduceOp , typename Dims , typename ArgType , typename Device >
const int Eigen::TensorEvaluator< const TensorTupleReducerOp< ReduceOp, Dims, ArgType >, Device >::NumDims = internal::array_size<InputDimensions>::value
static

Definition at line 223 of file TensorArgMax.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:44:05