Eigen::TensorScanOp< Op, XprType > Class Template Reference

#include <TensorScan.h>

+ Inheritance diagram for Eigen::TensorScanOp< Op, XprType >:

Public Types

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

Public Member Functions

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

Protected Attributes

XprType::Nested m_expr
 
const Index m_axis
 
const Op m_accumulator
 
const bool m_exclusive
 

Additional Inherited Members

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

Member Typedef Documentation

◆ CoeffReturnType

template<typename Op , typename XprType >
typedef XprType::CoeffReturnType Eigen::TensorScanOp< Op, XprType >::CoeffReturnType

◆ Index

template<typename Op , typename XprType >
typedef Eigen::internal::traits<TensorScanOp>::Index Eigen::TensorScanOp< Op, XprType >::Index

◆ Nested

template<typename Op , typename XprType >
typedef Eigen::internal::nested<TensorScanOp>::type Eigen::TensorScanOp< Op, XprType >::Nested

◆ RealScalar

template<typename Op , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorScanOp< Op, XprType >::RealScalar

◆ Scalar

template<typename Op , typename XprType >
typedef Eigen::internal::traits<TensorScanOp>::Scalar Eigen::TensorScanOp< Op, XprType >::Scalar

◆ StorageKind

template<typename Op , typename XprType >
typedef Eigen::internal::traits<TensorScanOp>::StorageKind Eigen::TensorScanOp< Op, XprType >::StorageKind

Constructor & Destructor Documentation

◆ TensorScanOp()

template<typename Op , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorScanOp< Op, XprType >::TensorScanOp ( const XprType expr,
const Index axis,
bool  exclusive = false,
const Op &  op = Op() 
)
inline
const bool m_exclusive
Definition: TensorScan.h:71
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Index axis() const
Definition: TensorScan.h:62
XprType::Nested m_expr
Definition: TensorScan.h:68
const Op m_accumulator
Definition: TensorScan.h:70
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool exclusive() const
Definition: TensorScan.h:65
const Index m_axis
Definition: TensorScan.h:69
char char * op
Definition: level2_impl.h:374

Member Function Documentation

◆ accumulator()

template<typename Op , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Op Eigen::TensorScanOp< Op, XprType >::accumulator ( ) const
inline

◆ axis()

template<typename Op , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Index Eigen::TensorScanOp< Op, XprType >::axis ( ) const
inline

◆ exclusive()

template<typename Op , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool Eigen::TensorScanOp< Op, XprType >::exclusive ( ) const
inline

◆ expression()

template<typename Op , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const XprType& Eigen::TensorScanOp< Op, XprType >::expression ( ) const
inline

Member Data Documentation

◆ m_accumulator

template<typename Op , typename XprType >
const Op Eigen::TensorScanOp< Op, XprType >::m_accumulator
protected

◆ m_axis

template<typename Op , typename XprType >
const Index Eigen::TensorScanOp< Op, XprType >::m_axis
protected

◆ m_exclusive

template<typename Op , typename XprType >
const bool Eigen::TensorScanOp< Op, XprType >::m_exclusive
protected

◆ m_expr

template<typename Op , typename XprType >
XprType::Nested Eigen::TensorScanOp< Op, XprType >::m_expr
protected

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