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

Tensor conversion class. This class makes it possible to vectorize type casting operations when the number of scalars per packet in the source and the destination type differ. More...

#include <TensorConversion.h>

Inheritance diagram for Eigen::TensorConversionOp< TargetType, XprType >:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

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

Protected Attributes

XprType::Nested m_xpr
 

Additional Inherited Members

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

Detailed Description

template<typename TargetType, typename XprType>
class Eigen::TensorConversionOp< TargetType, XprType >

Tensor conversion class. This class makes it possible to vectorize type casting operations when the number of scalars per packet in the source and the destination type differ.

Definition at line 176 of file TensorConversion.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename TargetType , typename XprType >
typedef Scalar Eigen::TensorConversionOp< TargetType, XprType >::CoeffReturnType

Definition at line 183 of file TensorConversion.h.

◆ Index

template<typename TargetType , typename XprType >
typedef internal::traits<TensorConversionOp>::Index Eigen::TensorConversionOp< TargetType, XprType >::Index

Definition at line 181 of file TensorConversion.h.

◆ Nested

template<typename TargetType , typename XprType >
typedef internal::nested<TensorConversionOp>::type Eigen::TensorConversionOp< TargetType, XprType >::Nested

Definition at line 182 of file TensorConversion.h.

◆ RealScalar

template<typename TargetType , typename XprType >
typedef NumTraits<Scalar>::Real Eigen::TensorConversionOp< TargetType, XprType >::RealScalar

Definition at line 184 of file TensorConversion.h.

◆ Scalar

template<typename TargetType , typename XprType >
typedef internal::traits<TensorConversionOp>::Scalar Eigen::TensorConversionOp< TargetType, XprType >::Scalar

Definition at line 179 of file TensorConversion.h.

◆ StorageKind

template<typename TargetType , typename XprType >
typedef internal::traits<TensorConversionOp>::StorageKind Eigen::TensorConversionOp< TargetType, XprType >::StorageKind

Definition at line 180 of file TensorConversion.h.

Constructor & Destructor Documentation

◆ TensorConversionOp()

template<typename TargetType , typename XprType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorConversionOp< TargetType, XprType >::TensorConversionOp ( const XprType xpr)
inline

Definition at line 186 of file TensorConversion.h.

Member Function Documentation

◆ expression()

template<typename TargetType , typename XprType >
const EIGEN_DEVICE_FUNC internal::remove_all<typename XprType::Nested>::type& Eigen::TensorConversionOp< TargetType, XprType >::expression ( ) const
inline

Definition at line 191 of file TensorConversion.h.

Member Data Documentation

◆ m_xpr

template<typename TargetType , typename XprType >
XprType::Nested Eigen::TensorConversionOp< TargetType, XprType >::m_xpr
protected

Definition at line 194 of file TensorConversion.h.


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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:20:55