LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann::ViewIfPossibleOrCopy< TensorDataType, EvalDataType > Struct Template Reference

#include <hydrogen_utils.hpp>

Static Public Member Functions

static std::unique_ptr< El::AbstractMatrix< EvalDataType > > get (El::AbstractMatrix< TensorDataType > const &x)
 
template<El::Device D>
static std::unique_ptr< El::Matrix< EvalDataType, D > > get (El::Matrix< TensorDataType, D > const &x)
 

Detailed Description

template<typename TensorDataType, typename EvalDataType>
struct lbann::ViewIfPossibleOrCopy< TensorDataType, EvalDataType >

Definition at line 33 of file hydrogen_utils.hpp.

Member Function Documentation

◆ get() [1/2]

template<typename TensorDataType , typename EvalDataType >
static std::unique_ptr<El::AbstractMatrix<EvalDataType> > lbann::ViewIfPossibleOrCopy< TensorDataType, EvalDataType >::get ( El::AbstractMatrix< TensorDataType > const &  x)
inlinestatic

Definition at line 36 of file hydrogen_utils.hpp.

◆ get() [2/2]

template<typename TensorDataType , typename EvalDataType >
template<El::Device D>
static std::unique_ptr<El::Matrix<EvalDataType, D> > lbann::ViewIfPossibleOrCopy< TensorDataType, EvalDataType >::get ( El::Matrix< TensorDataType, D > const &  x)
inlinestatic

Definition at line 53 of file hydrogen_utils.hpp.


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