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

#include <tensor.hpp>

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

Public Member Functions

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

Private Types

using base_type = details::MatrixAsTensorView< El::AbstractDistMatrix< T > const >
 

Private Attributes

ConstTensorView< T, D > m_local_data
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 258 of file tensor.hpp.

Member Typedef Documentation

◆ base_type

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

Definition at line 262 of file tensor.hpp.

Constructor & Destructor Documentation

◆ ConstDistTensorView() [1/2]

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

Definition at line 266 of file tensor.hpp.

Here is the call graph for this function:

◆ ConstDistTensorView() [2/2]

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

Definition at line 271 of file tensor.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ local_data()

template<typename T , El::Device D>
ConstTensorView<T, D> const& lbann::utils::ConstDistTensorView< T, D >::local_data ( ) const
inlinenoexcept

Definition at line 277 of file tensor.hpp.

Member Data Documentation

◆ m_local_data

template<typename T , El::Device D>
ConstTensorView<T, D> lbann::utils::ConstDistTensorView< T, D >::m_local_data
private

Definition at line 283 of file tensor.hpp.


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