#include <objective_function_term.hpp>
Abstract class for objective function terms.
Definition at line 47 of file objective_function_term.hpp.
◆ objective_function_term() [1/2]
| lbann::objective_function_term::objective_function_term |
( |
EvalType |
scale_factor = EvalType(1) | ) |
|
◆ objective_function_term() [2/2]
◆ ~objective_function_term()
| virtual lbann::objective_function_term::~objective_function_term |
( |
| ) |
|
|
virtualdefault |
◆ compute_weight_regularization()
| virtual void lbann::objective_function_term::compute_weight_regularization |
( |
| ) |
|
|
pure virtual |
◆ copy()
◆ differentiate()
| virtual void lbann::objective_function_term::differentiate |
( |
| ) |
|
|
pure virtual |
◆ finish_evaluation()
| virtual EvalType lbann::objective_function_term::finish_evaluation |
( |
| ) |
|
|
pure virtual |
◆ get_comm()
| lbann_comm& lbann::objective_function_term::get_comm |
( |
| ) |
|
|
inlineprotected |
◆ get_layer_pointers()
| std::vector<ViewingLayerPtr> lbann::objective_function_term::get_layer_pointers |
( |
| ) |
const |
Get list of pointers to layers.
◆ get_weights_pointers()
| std::vector<ViewingWeightsPtr> lbann::objective_function_term::get_weights_pointers |
( |
| ) |
const |
Get list of pointers to weights.
◆ name()
| virtual std::string lbann::objective_function_term::name |
( |
| ) |
const |
|
pure virtual |
◆ operator=()
Copy assignment operator.
◆ serialize()
template<class Archive >
| void lbann::objective_function_term::serialize |
( |
Archive & |
ar | ) |
|
Archive for checkpoint and restart
◆ set_layer_pointers()
| void lbann::objective_function_term::set_layer_pointers |
( |
std::vector< ViewingLayerPtr > |
layers | ) |
|
Set list of pointers to layers.
◆ set_weights_pointers()
| void lbann::objective_function_term::set_weights_pointers |
( |
std::vector< ViewingWeightsPtr > |
w | ) |
|
Set list of pointers to weights.
◆ setup()
| virtual void lbann::objective_function_term::setup |
( |
model & |
m | ) |
|
|
virtual |
◆ start_evaluation()
| virtual void lbann::objective_function_term::start_evaluation |
( |
| ) |
|
|
pure virtual |
◆ write_specific_proto()
| virtual void lbann::objective_function_term::write_specific_proto |
( |
lbann_data::ObjectiveFunction & |
proto | ) |
const |
|
pure virtual |
◆ m_comm
| lbann_comm* lbann::objective_function_term::m_comm |
|
private |
◆ m_layers
◆ m_scale_factor
| EvalType lbann::objective_function_term::m_scale_factor |
|
protected |
◆ m_weights
The documentation for this class was generated from the following file: