TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType > Class Template Reference

#include <TensorBlock.h>

Classes

class  Storage
 

Public Types

typedef DSizes< IndexType, NumDims > Dimensions
 
typedef TensorMap< const Tensor< Scalar, NumDims, Layout > > XprType
 
typedef internal::TensorBlockDescriptor< NumDims, IndexType > TensorBlockDesc
 

Public Member Functions

 TensorMaterializedBlock (TensorBlockKind kind, const Scalar *data, const Dimensions &dimensions, bool valid_expr=true)
 
TensorBlockKind kind () const
 
const XprTypeexpr () const
 
const Scalardata () const
 
void cleanup ()
 

Static Public Member Functions

template<typename TensorBlockScratch >
static EIGEN_STRONG_INLINE Storage prepareStorage (TensorBlockDesc &desc, TensorBlockScratch &scratch, bool allow_strided_storage=false)
 
template<typename DataDimensions , typename TensorBlockScratch >
static EIGEN_STRONG_INLINE TensorMaterializedBlock materialize (const Scalar *data, const DataDimensions &data_dims, TensorBlockDesc &desc, TensorBlockScratch &scratch)
 

Member Typedef Documentation

◆ Dimensions

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
typedef DSizes<IndexType, NumDims> Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::Dimensions

◆ TensorBlockDesc

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
typedef internal::TensorBlockDescriptor<NumDims, IndexType> Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::TensorBlockDesc

◆ XprType

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
typedef TensorMap<const Tensor<Scalar, NumDims, Layout> > Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::XprType

Constructor & Destructor Documentation

◆ TensorMaterializedBlock()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::TensorMaterializedBlock ( TensorBlockKind  kind,
const Scalar data,
const Dimensions dimensions,
bool  valid_expr = true 
)
inline

Member Function Documentation

◆ cleanup()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
void Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::cleanup ( )
inline

◆ data()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
const Scalar * Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::data ( ) const
inline

◆ expr()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
const XprType & Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::expr ( ) const
inline

◆ kind()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
TensorBlockKind Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::kind ( ) const
inline

◆ materialize()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
template<typename DataDimensions , typename TensorBlockScratch >
static EIGEN_STRONG_INLINE TensorMaterializedBlock Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::materialize ( const Scalar data,
const DataDimensions data_dims,
TensorBlockDesc desc,
TensorBlockScratch &  scratch 
)
inlinestatic

◆ prepareStorage()

template<typename Scalar , int NumDims, int Layout, typename IndexType = Eigen::Index>
template<typename TensorBlockScratch >
static EIGEN_STRONG_INLINE Storage Eigen::internal::TensorMaterializedBlock< Scalar, NumDims, Layout, IndexType >::prepareStorage ( TensorBlockDesc desc,
TensorBlockScratch &  scratch,
bool  allow_strided_storage = false 
)
inlinestatic

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