compbio
|
Tensor conversion class. More...
#include <TensorConversion.h>
Public Types | |
typedef internal::traits< TensorConversionOp >::Scalar | Scalar |
typedef internal::traits< TensorConversionOp >::StorageKind | StorageKind |
typedef internal::traits< TensorConversionOp >::Index | Index |
typedef internal::nested< TensorConversionOp >::type | Nested |
typedef Scalar | CoeffReturnType |
typedef NumTraits< Scalar >::Real | RealScalar |
![]() | |
typedef internal::traits< TensorConversionOp< TargetType, XprType > > | DerivedTraits |
typedef DerivedTraits::Scalar | Scalar |
typedef DerivedTraits::Index | Index |
typedef Scalar | CoeffReturnType |
Public Member Functions | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | TensorConversionOp (const XprType &xpr) |
EIGEN_DEVICE_FUNC const internal::remove_all< typename XprType::Nested >::type & | expression () const |
![]() | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConversionOp< TargetType, XprType > & | setZero () |
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 > & | 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 const TensorLayoutSwapOp< const TensorConversionOp< TargetType, XprType > > | swap_layout () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorConversionOp< TargetType, XprType > > | swap_layout () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorConversionOp< TargetType, XprType >, const OtherDerived > | concatenate (const OtherDerived &other, const Axis &axis) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorConversionOp< TargetType, XprType >, OtherDerived > | concatenate (const OtherDerived &other, const Axis &axis) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorConversionOp< TargetType, XprType > > | reshape (const NewDimensions &newDimensions) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorConversionOp< TargetType, XprType > > | reshape (const NewDimensions &newDimensions) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorConversionOp< TargetType, XprType > > | slice (const StartIndices &startIndices, const Sizes &sizes) 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 EIGEN_STRONG_INLINE const 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 TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorConversionOp< TargetType, XprType > > | stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorConversionOp< TargetType, XprType > > | chip (const Index offset) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorConversionOp< TargetType, XprType > > | chip (const Index offset) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorConversionOp< TargetType, XprType > > | chip (const Index offset, const Index dim) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorConversionOp< TargetType, XprType > > | chip (const Index offset, const Index dim) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorConversionOp< TargetType, XprType > > | reverse (const ReverseDimensions &rev) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorConversionOp< TargetType, XprType > > | reverse (const ReverseDimensions &rev) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorConversionOp< TargetType, XprType > > | shuffle (const Shuffle &shuffle) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorConversionOp< TargetType, XprType > > | shuffle (const Shuffle &shuffle) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorConversionOp< TargetType, XprType > > | stride (const Strides &strides) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorConversionOp< TargetType, XprType > > | stride (const Strides &strides) |
TensorDevice< TensorConversionOp< TargetType, XprType >, DeviceType > | device (const DeviceType &device) |
Protected Attributes | |
XprType::Nested | m_xpr |
Additional Inherited Members | |
![]() | |
static const int | NumDimensions |
![]() | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConversionOp< TargetType, XprType > & | derived () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConversionOp< TargetType, XprType > & | derived () const |
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