Update src/mlpack/methods/ann/layer/leaky_relu.hpp

Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
Adam Kropp
2023-11-01 17:57:16 -04:00
committed by GitHub
co-authored by Ryan Curtin
parent b2b05900d5
commit 5cc5e9baa6
+1 -1
View File
@@ -84,7 +84,7 @@ class LeakyReLUType : public Layer<MatType>
* @param g The calculated gradient.
*/
void Backward(const MatType& input,
const MatType& output,
const MatType& /* output */,
const MatType& gy,
MatType& g);