LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann::utils::ConstTensorView< T, D > Class Template Reference

#include <tensor.hpp>

Inheritance diagram for lbann::utils::ConstTensorView< T, D >:
[legend]
Collaboration diagram for lbann::utils::ConstTensorView< T, D >:
[legend]

Public Member Functions

template<typename MatT >
 ConstTensorView (MatT &&mat)
 
template<typename MatT >
 ConstTensorView (MatT &&mat, std::vector< size_t > const &dims)
 
- Public Member Functions inherited from lbann::utils::details::MatrixAsTensorView< El::Matrix< T, D > const >
 MatrixAsTensorView (MatT &&mat, std::vector< size_t > const &dims)
 
- Public Member Functions inherited from lbann::utils::details::MatrixReferenceWrapper< El::Matrix< T, D > const >
 MatrixReferenceWrapper (MatT &&x)
 
 operator matrix_type & () const noexcept
 
matrix_typedata () const noexcept
 

Private Types

using base_type = details::MatrixAsTensorView< El::Matrix< T, D > const >
 

Additional Inherited Members

- Public Types inherited from lbann::utils::details::MatrixReferenceWrapper< El::Matrix< T, D > const >
using matrix_type = El::Matrix< T, D > const
 
- Public Attributes inherited from lbann::utils::details::MatrixAsTensorView< El::Matrix< T, D > const >
 m_dims
 

Detailed Description

template<typename T, El::Device D>
class lbann::utils::ConstTensorView< T, D >

Definition at line 204 of file tensor.hpp.

Member Typedef Documentation

◆ base_type

template<typename T, El::Device D>
using lbann::utils::ConstTensorView< T, D >::base_type = details::MatrixAsTensorView<El::Matrix<T, D> const>
private

Definition at line 207 of file tensor.hpp.

Constructor & Destructor Documentation

◆ ConstTensorView() [1/2]

template<typename T, El::Device D>
template<typename MatT >
lbann::utils::ConstTensorView< T, D >::ConstTensorView ( MatT &&  mat)
inline

Definition at line 211 of file tensor.hpp.

Here is the call graph for this function:

◆ ConstTensorView() [2/2]

template<typename T, El::Device D>
template<typename MatT >
lbann::utils::ConstTensorView< T, D >::ConstTensorView ( MatT &&  mat,
std::vector< size_t > const &  dims 
)
inline

Definition at line 215 of file tensor.hpp.


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