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

Method param_names

include/singa/model/layer.h:203–207  ·  view source on GitHub ↗

Return names of all parmaeters.

Source from the content-addressed store, hash-verified

201
202 /// Return names of all parmaeters.
203 const vector<string> param_names() {
204 vector<string> pname;
205 for (const auto& spec : param_specs_) pname.push_back(spec.name());
206 return pname;
207 }
208
209 /// Return the 'i'-th parameter name.
210 const string& param_name(size_t i) {

Callers 1

GetParamNamesMethod · 0.80

Calls 1

nameMethod · 0.80

Tested by

no test coverage detected