TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations | Functions
TensorBlock.h File Reference

Go to the source code of this file.

Classes

struct  Eigen::internal::TensorBlockResourceRequirements
 
class  Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >
 
class  Eigen::internal::TensorBlockDescriptor< NumDims, IndexType >::DestinationBuffer
 
class  Eigen::internal::TensorBlockMapper< NumDims, Layout, IndexType >
 
class  Eigen::internal::TensorBlockScratchAllocator< Device >
 
class  Eigen::internal::TensorBlockNotImplemented
 
struct  Eigen::internal::XprScalar< XprType >
 
struct  Eigen::internal::XprScalar< void >
 
class  Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >
 
class  Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::Storage
 
class  Eigen::internal::TensorCwiseUnaryBlock< UnaryOp, ArgTensorBlock >
 
class  Eigen::internal::TensorCwiseBinaryBlock< BinaryOp, LhsTensorBlock, RhsTensorBlock >
 
class  Eigen::internal::TensorUnaryExprBlock< BlockFactory, ArgTensorBlock >
 
class  Eigen::internal::TensorTernaryExprBlock< BlockFactory, Arg1TensorBlock, Arg2TensorBlock, Arg3TensorBlock >
 
class  Eigen::internal::StridedLinearBufferCopy< Scalar, IndexType >
 
struct  Eigen::internal::StridedLinearBufferCopy< Scalar, IndexType >::Dst
 
struct  Eigen::internal::StridedLinearBufferCopy< Scalar, IndexType >::Src
 
class  Eigen::internal::TensorBlockIO< Scalar, IndexType, NumDims, Layout >
 
struct  Eigen::internal::TensorBlockIO< Scalar, IndexType, NumDims, Layout >::Dst
 
struct  Eigen::internal::TensorBlockIO< Scalar, IndexType, NumDims, Layout >::Src
 
class  Eigen::internal::TensorBlockAssignment< Scalar, NumDims, TensorBlockExpr, IndexType >
 
struct  Eigen::internal::TensorBlockAssignment< Scalar, NumDims, TensorBlockExpr, IndexType >::Target
 

Namespaces

namespace  Eigen
 Namespace containing all symbols from the Eigen library.
 
namespace  Eigen::internal
 

Macros

#define COPY_INNER_DIM(KIND)
 

Enumerations

enum class  Eigen::internal::TensorBlockShapeType { Eigen::internal::kUniformAllDims , Eigen::internal::kSkewedInnerDims }
 
enum  Eigen::internal::TensorBlockKind { Eigen::internal::kExpr , Eigen::internal::kView , Eigen::internal::kMaterializedInScratch , Eigen::internal::kMaterializedInOutput }
 

Functions

template<int Layout, typename IndexType , int NumDims>
EIGEN_ALWAYS_INLINE DSizes< IndexType, NumDims > Eigen::internal::strides (const DSizes< IndexType, NumDims > &dimensions)
 
template<int Layout, typename IndexType , size_t NumDims>
EIGEN_ALWAYS_INLINE DSizes< IndexType, NumDims > Eigen::internal::strides (const Eigen::array< IndexType, NumDims > &dimensions)
 
template<int Layout, std::ptrdiff_t... Indices>
EIGEN_STRONG_INLINE DSizes< std::ptrdiff_t, sizeof...(Indices)> Eigen::internal::strides (const Sizes< Indices... > &sizes)
 

Macro Definition Documentation

◆ COPY_INNER_DIM

#define COPY_INNER_DIM (   KIND)
Value:
IndexType num_copied = 0; \
for (num_copied = 0; num_copied < block_total_size; \
num_copied += dst_inner_dim_size) { \
LinCopy::template Run<KIND>( \
typename LinCopy::Dst(output_offset, output_stride, dst.data), \
typename LinCopy::Src(input_offset, input_stride, src.data), \
dst_inner_dim_size); \
\
for (int j = 0; j < idx; ++j) { \
if (++it[j].count < it[j].size) { \
input_offset += it[j].input_stride; \
output_offset += it[j].output_stride; \
break; \
} \
it[j].count = 0; \
input_offset -= it[j].input_span; \
output_offset -= it[j].output_span; \
} \
} \
return num_copied;
Scalar Scalar int size
Definition benchVecAdd.cpp:17
uint8_t count
Definition ref_serial.h:256
std::ptrdiff_t j
Definition tut_arithmetic_redux_minmax.cpp:2