|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
#include <execution_context.hpp>
Public Member Functions | |
| LTFBExecutionContext ()=default | |
| ~LTFBExecutionContext ()=default | |
| std::unique_ptr< lbann::ExecutionContext > | get_new () const override |
| std::string | get_type () const override |
| Get a string identifying the type of execution context. More... | |
| std::string | get_state_string () const noexcept override |
| Return the state of the execution context as a string. More... | |
Checkpointing and Serialization | |
| template<class Archive > | |
| void | serialize (Archive &ar) |
| void | save_to_checkpoint_shared (persist &p) override |
| Checkpoint exection_context to a shared checkpoint. More... | |
| void | load_from_checkpoint_shared (persist &p) override |
| Restore execution_context from a shared checkpoint. More... | |
| void | save_to_checkpoint_distributed (persist &p) override |
| Checkpoint exection_context to a distributed checkpoint. More... | |
| void | load_from_checkpoint_distributed (persist &p) override |
| Restore execution_context from a distributed checkpoint. More... | |
Public Member Functions inherited from lbann::ExecutionContext | |
| ExecutionContext () | |
| virtual | ~ExecutionContext ()=default |
| virtual execution_mode | get_execution_mode () const noexcept |
| size_t | get_step () const noexcept |
| Current step in the training algorithm. More... | |
| void | inc_step () noexcept |
| Increment the current step in the training algorithm. More... | |
| template<class Archive > | |
| void | serialize (Archive &ar) |
Additional Inherited Members | |
Protected Member Functions inherited from lbann::ExecutionContext | |
| ExecutionContext (const ExecutionContext &other)=delete | |
| ExecutionContext & | operator= (const ExecutionContext &other)=delete |
| ExecutionContext (ExecutionContext &&other)=default | |
| ExecutionContext & | operator= (ExecutionContext &&other)=default |
Definition at line 47 of file ltfb/execution_context.hpp.
|
default |
|
default |
|
inlineoverridevirtual |
Get a "clean" execution_context of the same type.
Implements lbann::ExecutionContext.
Definition at line 54 of file ltfb/execution_context.hpp.
|
inlineoverridevirtualnoexcept |
Return the state of the execution context as a string.
Implements lbann::ExecutionContext.
Definition at line 66 of file ltfb/execution_context.hpp.
|
inlineoverridevirtual |
Get a string identifying the type of execution context.
Should match the training algorithm.
get_state_string(). Implements lbann::ExecutionContext.
Definition at line 63 of file ltfb/execution_context.hpp.
|
inlineoverridevirtual |
Restore execution_context from a distributed checkpoint.
Implements lbann::ExecutionContext.
Definition at line 94 of file ltfb/execution_context.hpp.
|
inlineoverridevirtual |
Restore execution_context from a shared checkpoint.
Implements lbann::ExecutionContext.
Definition at line 84 of file ltfb/execution_context.hpp.
|
inlineoverridevirtual |
Checkpoint exection_context to a distributed checkpoint.
Implements lbann::ExecutionContext.
Definition at line 89 of file ltfb/execution_context.hpp.
|
inlineoverridevirtual |
Checkpoint exection_context to a shared checkpoint.
Implements lbann::ExecutionContext.
Definition at line 79 of file ltfb/execution_context.hpp.
| void lbann::ltfb::LTFBExecutionContext::serialize | ( | Archive & | ar | ) |
Archive for checkpoint and restart