- refactored

- constify
This commit is contained in:
2024-01-22 12:26:03 +01:00
parent d99cf5ee4c
commit 938368f1fa
14 changed files with 102 additions and 99 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ Layer* Layer::root()
return pLayer;
}
arma::mat Layer::to_h_gibbs(const arma::mat& v_probs)
arma::mat Layer::to_h_gibbs(const arma::mat& v_probs) const
{
onUpPass(v_probs);
@@ -99,7 +99,7 @@ arma::mat Layer::to_h_gibbs(const arma::mat& v_probs)
return h;
}
arma::mat Layer::to_v_gibbs(const arma::mat& h_probs)
arma::mat Layer::to_v_gibbs(const arma::mat& h_probs) const
{
onDownPass(h_probs);