bp: cleaning code
This commit is contained in:
1 parent
77b38dec65
commit
913a5cc41f
1 file changed
+3
-1
@@ -19,7 +19,9 @@ namespace Learning {
|
|||||||
BackPropagation(const BackPropagation&)=delete;
|
BackPropagation(const BackPropagation&)=delete;
|
||||||
BackPropagation& operator=(const NeuralNetwork::Learning::BackPropagation&) = delete;
|
BackPropagation& operator=(const NeuralNetwork::Learning::BackPropagation&) = delete;
|
||||||
|
|
||||||
inline virtual void setLearningCoefficient (const float& coefficient) { learningCoefficient=coefficient; }
|
void setLearningCoefficient (const float& coefficient) {
|
||||||
|
learningCoefficient=coefficient;
|
||||||
|
}
|
||||||
|
|
||||||
float getMomentumWeight() const {
|
float getMomentumWeight() const {
|
||||||
return momentumWeight;
|
return momentumWeight;
|
||||||
|
|||||||
Reference in new issue
Block a user