Eigen::TensorEvalToOp< XprType, MakePointer_ > Class Template Reference

#include <TensorEvalTo.h>

+ Inheritance diagram for Eigen::TensorEvalToOp< XprType, MakePointer_ >:

Public Types

typedef Eigen::internal::traits< TensorEvalToOp >::Scalar Scalar
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef std::remove_const_t< typename XprType::CoeffReturnType > CoeffReturnType
 
typedef MakePointer_< CoeffReturnType >::Type PointerType
 
typedef Eigen::internal::nested< TensorEvalToOp >::type Nested
 
typedef Eigen::internal::traits< TensorEvalToOp >::StorageKind StorageKind
 
typedef Eigen::internal::traits< TensorEvalToOp >::Index Index
 
- Public Types inherited from Eigen::TensorBase< TensorEvalToOp< XprType, MakePointer_ >, ReadOnlyAccessors >
typedef TensorBase< TensorEvalToOp< XprType, MakePointer_ >, ReadOnlyAccessors > Base
 
typedef internal::traits< TensorEvalToOp< XprType, MakePointer_ > > DerivedTraits
 
typedef DerivedTraits::Scalar Scalar
 
typedef DerivedTraits::Index Index
 
typedef Scalar CoeffReturnType
 

Public Member Functions

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

Static Public Attributes

static constexpr int NumDims = Eigen::internal::traits<TensorEvalToOp>::NumDimensions
 
- Static Public Attributes inherited from Eigen::TensorBase< TensorEvalToOp< XprType, MakePointer_ >, ReadOnlyAccessors >
static constexpr int NumDimensions
 

Protected Attributes

XprType::Nested m_xpr
 
PointerType m_buffer
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::TensorBase< TensorEvalToOp< XprType, MakePointer_ >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvalToOp< XprType, MakePointer_ > & operator= (const OtherDerived &other)
 

Member Typedef Documentation

◆ CoeffReturnType

template<typename XprType , template< class > class MakePointer_>
typedef std::remove_const_t<typename XprType::CoeffReturnType> Eigen::TensorEvalToOp< XprType, MakePointer_ >::CoeffReturnType

◆ Index

template<typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::traits<TensorEvalToOp>::Index Eigen::TensorEvalToOp< XprType, MakePointer_ >::Index

◆ Nested

template<typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::nested<TensorEvalToOp>::type Eigen::TensorEvalToOp< XprType, MakePointer_ >::Nested

◆ PointerType

template<typename XprType , template< class > class MakePointer_>
typedef MakePointer_<CoeffReturnType>::Type Eigen::TensorEvalToOp< XprType, MakePointer_ >::PointerType

◆ RealScalar

template<typename XprType , template< class > class MakePointer_>
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorEvalToOp< XprType, MakePointer_ >::RealScalar

◆ Scalar

template<typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::traits<TensorEvalToOp>::Scalar Eigen::TensorEvalToOp< XprType, MakePointer_ >::Scalar

◆ StorageKind

template<typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::traits<TensorEvalToOp>::StorageKind Eigen::TensorEvalToOp< XprType, MakePointer_ >::StorageKind

Constructor & Destructor Documentation

◆ TensorEvalToOp()

template<typename XprType , template< class > class MakePointer_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorEvalToOp< XprType, MakePointer_ >::TensorEvalToOp ( PointerType  buffer,
const XprType expr 
)
inline
74  : m_xpr(expr), m_buffer(buffer) {}
XprType::Nested m_xpr
Definition: TensorEvalTo.h:81
PointerType m_buffer
Definition: TensorEvalTo.h:82
EIGEN_DEVICE_FUNC PointerType buffer() const
Definition: TensorEvalTo.h:78

Member Function Documentation

◆ buffer()

template<typename XprType , template< class > class MakePointer_>
EIGEN_DEVICE_FUNC PointerType Eigen::TensorEvalToOp< XprType, MakePointer_ >::buffer ( ) const
inline

◆ expression()

template<typename XprType , template< class > class MakePointer_>
EIGEN_DEVICE_FUNC const internal::remove_all_t<typename XprType::Nested>& Eigen::TensorEvalToOp< XprType, MakePointer_ >::expression ( ) const
inline

Member Data Documentation

◆ m_buffer

template<typename XprType , template< class > class MakePointer_>
PointerType Eigen::TensorEvalToOp< XprType, MakePointer_ >::m_buffer
protected

◆ m_xpr

template<typename XprType , template< class > class MakePointer_>
XprType::Nested Eigen::TensorEvalToOp< XprType, MakePointer_ >::m_xpr
protected

◆ NumDims

template<typename XprType , template< class > class MakePointer_>
constexpr int Eigen::TensorEvalToOp< XprType, MakePointer_ >::NumDims = Eigen::internal::traits<TensorEvalToOp>::NumDimensions
staticconstexpr

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