Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LBANN/lbann
/ swap_objective_function
Method
swap_objective_function
src/models/model.cpp:607–610 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
605
}
606
607
void model::swap_objective_function(model& other)
608
{
609
std::swap(m_objective_function, other.m_objective_function);
610
}
611
612
void model::reorder_layers(const std::vector<El::Int>& gather_indices)
613
{
Callers
1
on_batch_begin
Method · 0.80
Calls
1
swap
Function · 0.50
Tested by
no test coverage detected