mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-26 19:37:58 +03:00
delete &GetWeights()
This commit is contained in:
parent
881787de3f
commit
b18ebf2e09
@ -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"];
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user