25 const Eigen::MatrixXd &weightsGrad) = 0;
38 const Eigen::MatrixXd &biasesGrad) = 0;
Definition Network.hpp:29
Definition Optimizer.hpp:6
virtual void updateBiases(Eigen::MatrixXd &biases, const Eigen::MatrixXd &biasesGrad)=0
This function updates the biases passed based based on the Optimizer and the biases gradients.
virtual void insiderInit(size_t size)=0
This function's purpose is to provide an interface to perform updates for the Optimizers from within ...
virtual void updateWeights(Eigen::MatrixXd &weights, const Eigen::MatrixXd &weightsGrad)=0
This function updates the weights passed based on the selected Optimizer and the weights gradients.