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

Method get_terms

src/objective_functions/objective_function.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69std::vector<objective_function_term*> objective_function::get_terms()
70{
71 std::vector<objective_function_term*> ptrs;
72 for (const auto& ptr : m_terms) {
73 ptrs.push_back(ptr.get());
74 }
75 return ptrs;
76}
77
78void objective_function::setup(model& m)
79{

Calls 1

getMethod · 0.45

Tested by

no test coverage detected