delete &GetWeights()

This commit is contained in:
Hieu Hoang 2013-03-06 16:12:05 +00:00
parent 881787de3f
commit b18ebf2e09
2 changed files with 0 additions and 6 deletions

View File

@ -336,11 +336,6 @@ std::vector<float> &Parameter::GetWeights(const std::string &name)
return ret;
}
std::vector<float> &Parameter::GetWeights(const std::string &name, size_t ind)
{
return GetWeights(name + SPrint(ind));
}
void Parameter::SetWeight(const std::string &name, size_t ind, float weight)
{
PARAM_VEC &newWeights = m_setting["weight"];

View File

@ -114,7 +114,6 @@ public:
}
std::vector<float> &GetWeights(const std::string &name);
std::vector<float> &GetWeights(const std::string &name, size_t ind);
std::set<std::string> GetWeightNames() const;
const PARAM_MAP &GetParams() const