From 07fc52fba3ef21aed85a45df78cfe32da1a2a2b8 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Sun, 3 Apr 2022 12:51:28 -0400 Subject: [PATCH] Some clarifying comments. --- src/mlpack/methods/ann/ffn.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mlpack/methods/ann/ffn.hpp b/src/mlpack/methods/ann/ffn.hpp index 2694b099b3..2afa8a7f37 100644 --- a/src/mlpack/methods/ann/ffn.hpp +++ b/src/mlpack/methods/ann/ffn.hpp @@ -537,9 +537,12 @@ class FFN //! except during training. MatType responses; - //! The current error for the backward pass. + //! Locally-stored output of the network from a forward pass; used by the + //! backward pass. MatType networkOutput; + //! Locally-stored output of the backward pass; used by the gradient pass. MatType networkDelta; + //! Locally-stored error of the backward pass; used by the gradient pass. MatType error; //! The current evaluation mode (training or testing).