MCPcopy Create free account
hub / github.com/LBANN/lbann / get_statistics_num_samples

Method get_statistics_num_samples

src/objective_functions/objective_function.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167int objective_function::get_statistics_num_samples(execution_mode mode) const
168{
169 if (m_statistics.count(mode) == 0) {
170 return 0;
171 }
172 else {
173 return m_statistics.at(mode).get_num_samples();
174 }
175}
176
177std::vector<ViewingLayerPtr> objective_function::get_layer_pointers() const
178{

Callers

nothing calls this directly

Calls 2

countMethod · 0.80
get_num_samplesMethod · 0.45

Tested by

no test coverage detected