Go to the documentation of this file.
10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_LAYOUT_SWAP_H
11 #define EIGEN_CXX11_TENSOR_TENSOR_LAYOUT_SWAP_H
38 template<
typename XprType>
45 typedef typename XprType::Nested
Nested;
52 template<
typename XprType>
58 template<
typename XprType>
68 template<
typename XprType>
94 template<
typename ArgType,
typename Device>
117 : m_impl(op.expression(), device)
119 for(
int i = 0;
i < NumDims; ++
i) {
120 m_dimensions[
i] = m_impl.dimensions()[NumDims-1-
i];
124 #ifdef EIGEN_USE_SYCL
140 return m_impl.evalSubExprsIfNeeded(
data);
148 return m_impl.coeff(index);
151 template<
int LoadMode>
154 return m_impl.template packet<LoadMode>(index);
158 return m_impl.costPerCoeff(vectorized);
174 template<
typename ArgType,
typename Device>
205 return this->m_impl.coeffRef(index);
210 this->m_impl.template writePacket<StoreMode>(index,
x);
216 #endif // EIGEN_CXX11_TENSOR_TENSOR_LAYOUT_SWAP_H
TensorLayoutSwapOp< ArgType > XprType
TensorEvaluator< const TensorLayoutSwapOp< ArgType >, Device > Base
#define EIGEN_DEVICE_FUNC
Storage::Type EvaluatorPointerType
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp(const XprType &expr)
Generic expression where a coefficient-wise binary operator is applied to two expressions.
Eigen::NumTraits< Scalar >::Real RealScalar
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
const TensorEvaluator< ArgType, Device > & impl() const
TensorLayoutSwapOp< XprType > type
TensorEvaluator< ArgType, Device > m_impl
PacketType< CoeffReturnType, Device >::type PacketReturnType
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
PacketType< CoeffReturnType, Device >::type PacketReturnType
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType data)
Eigen::internal::traits< TensorLayoutSwapOp >::StorageKind StorageKind
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void writePacket(Index index, const PacketReturnType &x)
remove_reference< Nested >::type _Nested
traits< XprType > XprTraits
EIGEN_DEVICE_FUNC EvaluatorPointerType data() const
EIGEN_STRONG_INLINE TensorEvaluator(const XprType &op, const Device &device)
StorageMemory< CoeffReturnType, Device > Storage
#define EIGEN_STRONG_INLINE
XprTraits::StorageKind StorageKind
EIGEN_DEVICE_FUNC Storage::Type data() const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensions & dimensions() const
TensorLayoutSwapOp< ArgType > XprType
XprType::CoeffReturnType CoeffReturnType
Eigen::internal::nested< TensorLayoutSwapOp >::type Nested
#define EIGEN_TENSOR_INHERIT_ASSIGNMENT_OPERATORS(Derived)
EIGEN_STRONG_INLINE void cleanup()
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType & coeffRef(Index index)
const EIGEN_DEVICE_FUNC internal::remove_all< typename XprType::Nested >::type & expression() const
internal::TensorBlockNotImplemented TensorBlock
internal::remove_const< typename XprType::CoeffReturnType >::type CoeffReturnType
XprType::CoeffReturnType CoeffReturnType
A cost model used to limit the number of threads used for evaluating tensor expression.
EIGEN_STRONG_INLINE TensorEvaluator(const XprType &op, const Device &device)
XprTraits::PointerType PointerType
const typedef TensorLayoutSwapOp< XprType > & type
Eigen::internal::traits< TensorLayoutSwapOp >::Scalar Scalar
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T * constCast(const T *data)
Eigen::internal::traits< TensorLayoutSwapOp >::Index Index
internal::TensorBlockNotImplemented TensorBlock
DSizes< Index, NumDims > Dimensions
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
TensorBase< TensorLayoutSwapOp< XprType >, WriteAccessors > Base
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:06:11