LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann::lbann Namespace Reference

Functions

template<typename T >
std::unique_ptr< T > to_unique_ptr (T *ptr)
 Convert the raw pointer to a unique_ptr. More...
 

Function Documentation

◆ to_unique_ptr()

template<typename T >
std::unique_ptr<T> lbann::lbann::to_unique_ptr ( T *  ptr)

Convert the raw pointer to a unique_ptr.

Definition at line 39 of file hydrogen_utils.hpp.