#include <persist.hpp>
|
| | persist () |
| |
| | ~persist () |
| |
| template<class Archive > |
| void | serialize (Archive &ar) |
| |
| callback_type | get_cb_type () const |
| |
| void | set_cb_type (callback_type type) |
| |
| void | open_checkpoint_dir (const std::string &dir, bool create_dir) |
| |
| void | open_checkpoint (const std::string &dir, bool create_dir) |
| |
| void | close_checkpoint () |
| |
| void | open_restart (const std::string &dir) |
| |
| void | close_restart () |
| |
| void | set_restart_dir (const std::string &dir) |
| |
| uint64_t | get_bytes () const |
| |
| void | reset_bytes () |
| |
| template<typename TensorDataType > |
| bool | write_rank_distmat (persist_type type, const char *name, const El::AbstractDistMatrix< TensorDataType > &M) |
| |
| template<typename TensorDataType > |
| bool | read_rank_distmat (persist_type type, const char *name, El::AbstractDistMatrix< TensorDataType > &M) |
| |
| template<typename TensorDataType > |
| bool | write_distmat (persist_type type, const char *name, El::AbstractDistMatrix< TensorDataType > *M) |
| |
| template<typename TensorDataType > |
| bool | read_distmat (persist_type type, const char *name, El::AbstractDistMatrix< TensorDataType > *M) |
| |
| const std::string & | get_checkpoint_dir () const |
| |
| std::string | get_filename (persist_type type) const |
| |
Definition at line 72 of file persist.hpp.
◆ persist()
| lbann::persist::persist |
( |
| ) |
|
◆ ~persist()
| lbann::persist::~persist |
( |
| ) |
|
|
inline |
◆ close_checkpoint()
| void lbann::persist::close_checkpoint |
( |
| ) |
|
◆ close_restart()
| void lbann::persist::close_restart |
( |
| ) |
|
◆ get_bytes()
| uint64_t lbann::persist::get_bytes |
( |
| ) |
const |
|
inline |
◆ get_cb_type()
◆ get_checkpoint_dir()
| const std::string& lbann::persist::get_checkpoint_dir |
( |
| ) |
const |
|
inline |
◆ get_filename()
| std::string lbann::persist::get_filename |
( |
persist_type |
type | ) |
const |
◆ open_checkpoint()
| void lbann::persist::open_checkpoint |
( |
const std::string & |
dir, |
|
|
bool |
create_dir |
|
) |
| |
◆ open_checkpoint_dir()
| void lbann::persist::open_checkpoint_dir |
( |
const std::string & |
dir, |
|
|
bool |
create_dir |
|
) |
| |
◆ open_restart()
| void lbann::persist::open_restart |
( |
const std::string & |
dir | ) |
|
◆ read_distmat()
template<typename TensorDataType >
| bool lbann::persist::read_distmat |
( |
persist_type |
type, |
|
|
const char * |
name, |
|
|
El::AbstractDistMatrix< TensorDataType > * |
M |
|
) |
| |
◆ read_rank_distmat()
template<typename TensorDataType >
| bool lbann::persist::read_rank_distmat |
( |
persist_type |
type, |
|
|
const char * |
name, |
|
|
El::AbstractDistMatrix< TensorDataType > & |
M |
|
) |
| |
◆ reset_bytes()
| void lbann::persist::reset_bytes |
( |
| ) |
|
|
inline |
◆ serialize()
template<class Archive >
| void lbann::persist::serialize |
( |
Archive & |
ar | ) |
|
◆ set_cb_type()
◆ set_restart_dir()
| void lbann::persist::set_restart_dir |
( |
const std::string & |
dir | ) |
|
|
inline |
◆ write_distmat()
template<typename TensorDataType >
| bool lbann::persist::write_distmat |
( |
persist_type |
type, |
|
|
const char * |
name, |
|
|
El::AbstractDistMatrix< TensorDataType > * |
M |
|
) |
| |
◆ write_rank_distmat()
template<typename TensorDataType >
| bool lbann::persist::write_rank_distmat |
( |
persist_type |
type, |
|
|
const char * |
name, |
|
|
const El::AbstractDistMatrix< TensorDataType > & |
M |
|
) |
| |
◆ ckpt_type
◆ m_bytes
◆ m_checkpoint_dir
| std::string lbann::persist::m_checkpoint_dir |
◆ m_filenames
| std::map<persist_type, std::string> lbann::persist::m_filenames |
|
private |
The documentation for this class was generated from the following files: