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

Method weights

src/weights/weights.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65} // namespace
66
67weights::weights() : m_comm(nullptr), m_frozen(false), m_sharded(false)
68{
69
70 // Initialize weights name
71 static int num_weights = 0;
72 m_name = "weights" + std::to_string(num_weights);
73 num_weights++;
74}
75
76weights::weights(lbann_comm& comm) : weights()
77{

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected