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

Public Types

typedef Index CoeffReturnType
 
typedef Eigen::internal::traits< TensorPairReducerOp >::Index Index
 
typedef Eigen::internal::nested< TensorPairReducerOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorPairReducerOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorPairReducerOp >::StorageKind StorageKind
 

Public Member Functions

const internal::remove_all_t< typename XprType::Nested > & expression () const
 
const Dims & reduce_dims () const
 
const ReduceOp & reduce_op () const
 
Index return_dim () const
 
 TensorPairReducerOp (const XprType &expr, const ReduceOp &reduce_op, const Index return_dim, const Dims &reduce_dims)
 

Protected Attributes

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

Detailed Description

template<typename ReduceOp, typename Dims, typename XprType>
class Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >

Definition at line 172 of file TensorArgMax.h.

Member Typedef Documentation

◆ CoeffReturnType

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

Definition at line 180 of file TensorArgMax.h.

◆ Index

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

Definition at line 179 of file TensorArgMax.h.

◆ Nested

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

Definition at line 177 of file TensorArgMax.h.

◆ RealScalar

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

Definition at line 176 of file TensorArgMax.h.

◆ Scalar

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

Definition at line 175 of file TensorArgMax.h.

◆ StorageKind

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

Definition at line 178 of file TensorArgMax.h.

Constructor & Destructor Documentation

◆ TensorPairReducerOp()

template<typename ReduceOp , typename Dims , typename XprType >
Eigen::TensorPairReducerOp< ReduceOp, Dims, XprType >::TensorPairReducerOp ( const XprType &  expr,
const ReduceOp &  reduce_op,
const Index  return_dim,
const Dims &  reduce_dims 
)
inline

Definition at line 182 of file TensorArgMax.h.

Member Function Documentation

◆ expression()

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

Definition at line 190 of file TensorArgMax.h.

190 { return m_xpr; }

◆ reduce_dims()

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

Definition at line 196 of file TensorArgMax.h.

196 { return m_reduce_dims; }

◆ reduce_op()

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

Definition at line 193 of file TensorArgMax.h.

193 { return m_reduce_op; }

◆ return_dim()

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

Definition at line 199 of file TensorArgMax.h.

199 { return m_return_dim; }

Member Data Documentation

◆ m_reduce_dims

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

Definition at line 205 of file TensorArgMax.h.

◆ m_reduce_op

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

Definition at line 203 of file TensorArgMax.h.

◆ m_return_dim

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

Definition at line 204 of file TensorArgMax.h.

◆ m_xpr

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

Definition at line 202 of file TensorArgMax.h.


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