- refactored
- constify
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user