Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType > Class Template Reference

#include <TensorArgMax.h>

+ Inheritance diagram for Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >:

Public Types

typedef Eigen::internal::traits< TensorPairReducerOp >::Scalar Scalar
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::nested< TensorPairReducerOp >::type Nested
 
typedef Eigen::internal::traits< TensorPairReducerOp >::StorageKind StorageKind
 
typedef Eigen::internal::traits< TensorPairReducerOp >::Index Index
 
typedef Index CoeffReturnType
 
- Public Types inherited from Eigen::TensorBase< TensorPairReducerOp< ReduceOp, Dims, XprType >, ReadOnlyAccessors >
typedef TensorBase< TensorPairReducerOp< ReduceOp, Dims, XprType >, ReadOnlyAccessors > Base
 
typedef internal::traits< TensorPairReducerOp< ReduceOp, Dims, XprType > > DerivedTraits
 
typedef DerivedTraits::Scalar Scalar
 
typedef DerivedTraits::Index Index
 
typedef Scalar CoeffReturnType
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp (const XprType &expr, const ReduceOp &reduce_op, const Index return_dim, const Dims &reduce_dims)
 
EIGEN_DEVICE_FUNC const internal::remove_all_t< typename XprType::Nested > & expression () const
 
EIGEN_DEVICE_FUNC const ReduceOp & reduce_op () const
 
EIGEN_DEVICE_FUNC const Dims & reduce_dims () const
 
EIGEN_DEVICE_FUNC Index return_dim () const
 
- Public Member Functions inherited from Eigen::TensorBase< TensorPairReducerOp< ReduceOp, Dims, XprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & setValues (const typename internal::Initializer< TensorPairReducerOp< ReduceOp, Dims, XprType >, NumDimensions >::InitList &vals)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const TensorPairReducerOp< ReduceOp, Dims, XprType > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorPairReducerOp< ReduceOp, Dims, XprType > > swap_layout ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorPairReducerOp< ReduceOp, Dims, XprType >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorPairReducerOp< ReduceOp, Dims, XprType >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorPairReducerOp< ReduceOp, Dims, XprType > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorPairReducerOp< ReduceOp, Dims, XprType > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorPairReducerOp< ReduceOp, Dims, XprType > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorPairReducerOp< ReduceOp, Dims, XprType > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorPairReducerOp< ReduceOp, Dims, XprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorPairReducerOp< ReduceOp, Dims, XprType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorPairReducerOp< ReduceOp, Dims, XprType > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorPairReducerOp< ReduceOp, Dims, XprType > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorPairReducerOp< ReduceOp, Dims, XprType > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorPairReducerOp< ReduceOp, Dims, XprType > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorPairReducerOp< ReduceOp, Dims, XprType > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorPairReducerOp< ReduceOp, Dims, XprType > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorRollOp< const Rolls, const TensorPairReducerOp< ReduceOp, Dims, XprType > > roll (const Rolls &roll) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRollOp< const Rolls, TensorPairReducerOp< ReduceOp, Dims, XprType > > roll (const Rolls &roll)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorPairReducerOp< ReduceOp, Dims, XprType > > shuffle (const Shuffle &shfl) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorPairReducerOp< ReduceOp, Dims, XprType > > shuffle (const Shuffle &shfl)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorPairReducerOp< ReduceOp, Dims, XprType > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorPairReducerOp< ReduceOp, Dims, XprType > > stride (const Strides &strides)
 
TensorDevice< TensorPairReducerOp< ReduceOp, Dims, XprType >, DeviceType > device (const DeviceType &dev)
 
TensorAsyncDevice< TensorPairReducerOp< ReduceOp, Dims, XprType >, DeviceType, DoneCallback > device (const DeviceType &dev, DoneCallback done)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorPairReducerOp< ReduceOp, Dims, XprType > & derived () const
 

Protected Attributes

XprType::Nested m_xpr
 
const ReduceOp m_reduce_op
 
const Index m_return_dim
 
const Dims m_reduce_dims
 

Additional Inherited Members

- Static Public Attributes inherited from Eigen::TensorBase< TensorPairReducerOp< ReduceOp, Dims, XprType >, ReadOnlyAccessors >
static constexpr int NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorPairReducerOp< ReduceOp, Dims, XprType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorPairReducerOp< ReduceOp, Dims, XprType > & operator= (const OtherDerived &other)
 

Member Typedef Documentation

◆ CoeffReturnType

template<typename ReduceOp , typename Dims , typename XprType >
typedef Index Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::CoeffReturnType

◆ Index

template<typename ReduceOp , typename Dims , typename XprType >
typedef Eigen::internal::traits<TensorPairReducerOp>::Index Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::Index

◆ Nested

template<typename ReduceOp , typename Dims , typename XprType >
typedef Eigen::internal::nested<TensorPairReducerOp>::type Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::Nested

◆ RealScalar

template<typename ReduceOp , typename Dims , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::RealScalar

◆ Scalar

template<typename ReduceOp , typename Dims , typename XprType >
typedef Eigen::internal::traits<TensorPairReducerOp>::Scalar Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::Scalar

◆ StorageKind

template<typename ReduceOp , typename Dims , typename XprType >
typedef Eigen::internal::traits<TensorPairReducerOp>::StorageKind Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::StorageKind

Constructor & Destructor Documentation

◆ TensorPairReducerOp()

template<typename ReduceOp , typename Dims , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::TensorPairReducerOp ( const XprType expr,
const ReduceOp &  reduce_op,
const Index  return_dim,
const Dims &  reduce_dims 
)
inline
EIGEN_DEVICE_FUNC Index return_dim() const
Definition: TensorArgMax.h:173
XprType::Nested m_xpr
Definition: TensorArgMax.h:176
const Dims m_reduce_dims
Definition: TensorArgMax.h:179
const Index m_return_dim
Definition: TensorArgMax.h:178
EIGEN_DEVICE_FUNC const ReduceOp & reduce_op() const
Definition: TensorArgMax.h:169
const ReduceOp m_reduce_op
Definition: TensorArgMax.h:177
EIGEN_DEVICE_FUNC const Dims & reduce_dims() const
Definition: TensorArgMax.h:171

Member Function Documentation

◆ expression()

template<typename ReduceOp , typename Dims , typename XprType >
EIGEN_DEVICE_FUNC const internal::remove_all_t<typename XprType::Nested>& Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::expression ( ) const
inline

◆ reduce_dims()

template<typename ReduceOp , typename Dims , typename XprType >
EIGEN_DEVICE_FUNC const Dims& Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::reduce_dims ( ) const
inline

◆ reduce_op()

template<typename ReduceOp , typename Dims , typename XprType >
EIGEN_DEVICE_FUNC const ReduceOp& Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::reduce_op ( ) const
inline

◆ return_dim()

template<typename ReduceOp , typename Dims , typename XprType >
EIGEN_DEVICE_FUNC Index Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::return_dim ( ) const
inline

Member Data Documentation

◆ m_reduce_dims

template<typename ReduceOp , typename Dims , typename XprType >
const Dims Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::m_reduce_dims
protected

◆ m_reduce_op

template<typename ReduceOp , typename Dims , typename XprType >
const ReduceOp Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::m_reduce_op
protected

◆ m_return_dim

template<typename ReduceOp , typename Dims , typename XprType >
const Index Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::m_return_dim
protected

◆ m_xpr

template<typename ReduceOp , typename Dims , typename XprType >
XprType::Nested Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::m_xpr
protected

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