MCPcopy Create free account
hub / github.com/apache/singa / GetParamNames

Method GetParamNames

src/model/feed_forward_net.cc:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49const vector<string> FeedForwardNet::GetParamNames() const {
50 vector<string> names;
51 for (auto layer : layers_)
52 for (const auto name : layer->param_names()) names.push_back(name);
53 return names;
54}
55const vector<Tensor> FeedForwardNet::GetParamValues() const {
56 vector<Tensor> values;
57 for (auto layer : layers_)

Callers 1

CheckpointFunction · 0.80

Calls 1

param_namesMethod · 0.80

Tested by

no test coverage detected