Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::TensorForcedEvalOp< XprType, MakePointer_ > Class Template Reference

Tensor reshaping class. More...

#include <TensorForcedEval.h>

Inheritance diagram for Eigen::TensorForcedEvalOp< XprType, MakePointer_ >:
Inheritance graph
[legend]

Public Types

typedef internal::remove_const< typename XprType::CoeffReturnType >::type CoeffReturnType
 
typedef Eigen::internal::traits< TensorForcedEvalOp >::Index Index
 
typedef Eigen::internal::nested< TensorForcedEvalOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorForcedEvalOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorForcedEvalOp >::StorageKind StorageKind
 
- Public Types inherited from Eigen::TensorBase< TensorForcedEvalOp< XprType, MakePointer_ >, ReadOnlyAccessors >
typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorForcedEvalOp< XprType, MakePointer_ > > DerivedTraits
 
typedef DerivedTraits::Index Index
 
typedef DerivedTraits::Scalar Scalar
 

Public Member Functions

EIGEN_DEVICE_FUNC const internal::remove_all< typename XprType::Nested >::typeexpression () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp (const XprType &expr)
 
- Public Member Functions inherited from Eigen::TensorBase< TensorForcedEvalOp< XprType, MakePointer_ >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorForcedEvalOp< XprType, MakePointer_ > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorForcedEvalOp< XprType, MakePointer_ > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorForcedEvalOp< XprType, MakePointer_ > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorForcedEvalOp< XprType, MakePointer_ > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorForcedEvalOp< XprType, MakePointer_ >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorForcedEvalOp< XprType, MakePointer_ >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
TensorDevice< TensorForcedEvalOp< XprType, MakePointer_ >, DeviceType > device (const DeviceType &device)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorForcedEvalOp< XprType, MakePointer_ > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorForcedEvalOp< XprType, MakePointer_ > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorForcedEvalOp< XprType, MakePointer_ > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorForcedEvalOp< XprType, MakePointer_ > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorForcedEvalOp< XprType, MakePointer_ > > shuffle (const Shuffle &shuffle) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorForcedEvalOp< XprType, MakePointer_ > > shuffle (const Shuffle &shuffle)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorForcedEvalOp< XprType, MakePointer_ > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorForcedEvalOp< XprType, MakePointer_ > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorForcedEvalOp< XprType, MakePointer_ > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorForcedEvalOp< XprType, MakePointer_ > > stride (const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorForcedEvalOp< 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, TensorForcedEvalOp< XprType, MakePointer_ > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const TensorForcedEvalOp< XprType, MakePointer_ > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorForcedEvalOp< XprType, MakePointer_ > > swap_layout ()
 

Protected Attributes

XprType::Nested m_xpr
 

Additional Inherited Members

- Static Public Attributes inherited from Eigen::TensorBase< TensorForcedEvalOp< XprType, MakePointer_ >, ReadOnlyAccessors >
static const int NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorForcedEvalOp< XprType, MakePointer_ >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorForcedEvalOp< XprType, MakePointer_ > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorForcedEvalOp< XprType, MakePointer_ > & derived () const
 

Detailed Description

template<typename XprType, template< class > class MakePointer_>
class Eigen::TensorForcedEvalOp< XprType, MakePointer_ >

Tensor reshaping class.

template <class> class MakePointer_ is added to convert the host pointer to the device pointer. It is added due to the fact that for our device compiler T* is not allowed. If we wanted to use the same Evaluator functions we have to convert that type to our pointer T. This is done through our MakePointer_ class. By default the Type in the MakePointer_<T> is T* . Therefore, by adding the default value, we managed to convert the type and it does not break any existing code as its default value is T*.

Definition at line 71 of file TensorForcedEval.h.

Member Typedef Documentation

template<typename XprType, template< class > class MakePointer_>
typedef internal::remove_const<typename XprType::CoeffReturnType>::type Eigen::TensorForcedEvalOp< XprType, MakePointer_ >::CoeffReturnType

Definition at line 76 of file TensorForcedEval.h.

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

Definition at line 79 of file TensorForcedEval.h.

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

Definition at line 77 of file TensorForcedEval.h.

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

Definition at line 75 of file TensorForcedEval.h.

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

Definition at line 74 of file TensorForcedEval.h.

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

Definition at line 78 of file TensorForcedEval.h.

Constructor & Destructor Documentation

template<typename XprType, template< class > class MakePointer_>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorForcedEvalOp< XprType, MakePointer_ >::TensorForcedEvalOp ( const XprType &  expr)
inline

Definition at line 81 of file TensorForcedEval.h.

Member Function Documentation

template<typename XprType, template< class > class MakePointer_>
EIGEN_DEVICE_FUNC const internal::remove_all<typename XprType::Nested>::type& Eigen::TensorForcedEvalOp< XprType, MakePointer_ >::expression ( ) const
inline

Definition at line 86 of file TensorForcedEval.h.

Member Data Documentation

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

Definition at line 89 of file TensorForcedEval.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:55:32