TR-mbed 1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > Class Template Reference

#include <TensorContraction.h>

Inheritance diagram for Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >:
Eigen::TensorBase< Derived, AccessLevel >

Public Types

typedef Eigen::internal::traits< TensorContractionOp >::Scalar Scalar
 
typedef internal::gebp_traits< typenameLhsXprType::CoeffReturnType, typenameRhsXprType::CoeffReturnType >::ResScalar CoeffReturnType
 
typedef Eigen::internal::nested< TensorContractionOp >::type Nested
 
typedef Eigen::internal::traits< TensorContractionOp >::StorageKind StorageKind
 
typedef Eigen::internal::traits< TensorContractionOp >::Index Index
 
- Public Types inherited from Eigen::TensorBase< Derived, AccessLevel >
typedef TensorBase< Derived, ReadOnlyAccessorsBase
 
typedef internal::traits< Derived > DerivedTraits
 
typedef DerivedTraits::Scalar Scalar
 
typedef DerivedTraits::Index Index
 
typedef Scalar CoeffReturnType
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp (const LhsXprType &lhs, const RhsXprType &rhs, const Indices &dims, const OutputKernelType &output_kernel=OutputKernelType())
 
EIGEN_DEVICE_FUNC const Indices & indices () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typenameLhsXprType::Nested >::type & lhsExpression () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typenameRhsXprType::Nested >::type & rhsExpression () const
 
EIGEN_DEVICE_FUNC const OutputKernelType & outputKernel () const
 
- Public Member Functions inherited from Eigen::TensorBase< Derived, AccessLevel >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & setRandom ()
 
template<typename RandomGenerator >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & setRandom ()
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator+= (const OtherDerived &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator-= (const OtherDerived &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator*= (const OtherDerived &other)
 
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const Derived > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< Derived > swap_layout ()
 
template<typename Axis , typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const Derived, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
template<typename Axis , typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, Derived, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
template<typename NewDimensions >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const Derived > reshape (const NewDimensions &newDimensions) const
 
template<typename NewDimensions >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, Derived > reshape (const NewDimensions &newDimensions)
 
template<typename StartIndices , typename Sizes >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const Derived > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
template<typename StartIndices , typename Sizes >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, Derived > slice (const StartIndices &startIndices, const Sizes &sizes)
 
template<typename StartIndices , typename StopIndices , typename Strides >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const Derived > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const
 
template<typename StartIndices , typename StopIndices , typename Strides >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, Derived > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
template<DenseIndex DimId>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const Derived > chip (const Index offset) const
 
template<Index DimId>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, Derived > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const Derived > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, Derived > chip (const Index offset, const Index dim)
 
template<typename ReverseDimensions >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const Derived > reverse (const ReverseDimensions &rev) const
 
template<typename ReverseDimensions >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, Derived > reverse (const ReverseDimensions &rev)
 
template<typename Shuffle >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const Derived > shuffle (const Shuffle &shfl) const
 
template<typename Shuffle >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, Derived > shuffle (const Shuffle &shfl)
 
template<typename Strides >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const Derived > stride (const Strides &strides) const
 
template<typename Strides >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, Derived > stride (const Strides &strides)
 
template<typename DeviceType >
TensorDevice< Derived, DeviceType > device (const DeviceType &dev)
 
template<typename DeviceType , typename DoneCallback >
TensorAsyncDevice< Derived, DeviceType, DoneCallback > device (const DeviceType &dev, DoneCallback done)
 

Protected Attributes

LhsXprType::Nested m_lhs_xpr
 
RhsXprType::Nested m_rhs_xpr
 
const Indices m_indices
 
const OutputKernelType m_output_kernel
 

Additional Inherited Members

- Static Public Attributes inherited from Eigen::TensorBase< Derived, AccessLevel >
static const int NumDimensions = DerivedTraits::NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< Derived, AccessLevel >
template<typename OtherDerived >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Derived & derived () const
 

Member Typedef Documentation

◆ CoeffReturnType

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef internal::gebp_traits<typenameLhsXprType::CoeffReturnType,typenameRhsXprType::CoeffReturnType>::ResScalar Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::CoeffReturnType

◆ Index

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::traits<TensorContractionOp>::Index Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::Index

◆ Nested

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::nested<TensorContractionOp>::type Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::Nested

◆ Scalar

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::traits<TensorContractionOp>::Scalar Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::Scalar

◆ StorageKind

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::traits<TensorContractionOp>::StorageKind Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::StorageKind

Constructor & Destructor Documentation

◆ TensorContractionOp()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::TensorContractionOp ( const LhsXprType &  lhs,
const RhsXprType &  rhs,
const Indices &  dims,
const OutputKernelType &  output_kernel = OutputKernelType() 
)
inline

Member Function Documentation

◆ indices()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const Indices & Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::indices ( ) const
inline

◆ lhsExpression()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const internal::remove_all< typenameLhsXprType::Nested >::type & Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::lhsExpression ( ) const
inline
Returns
the nested expressions

◆ outputKernel()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const OutputKernelType & Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::outputKernel ( ) const
inline

◆ rhsExpression()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const internal::remove_all< typenameRhsXprType::Nested >::type & Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::rhsExpression ( ) const
inline

Member Data Documentation

◆ m_indices

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
const Indices Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_indices
protected

◆ m_lhs_xpr

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
LhsXprType::Nested Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_lhs_xpr
protected

◆ m_output_kernel

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
const OutputKernelType Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_output_kernel
protected

◆ m_rhs_xpr

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
RhsXprType::Nested Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_rhs_xpr
protected

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