From 5cc5e9baa6a478c0c2d01eefa01945d54829dc71 Mon Sep 17 00:00:00 2001 From: Adam Kropp <30504149+akropp@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:57:16 -0400 Subject: [PATCH] Update src/mlpack/methods/ann/layer/leaky_relu.hpp Co-authored-by: Ryan Curtin --- src/mlpack/methods/ann/layer/leaky_relu.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/methods/ann/layer/leaky_relu.hpp b/src/mlpack/methods/ann/layer/leaky_relu.hpp index 8cb4485707..17ee992b61 100644 --- a/src/mlpack/methods/ann/layer/leaky_relu.hpp +++ b/src/mlpack/methods/ann/layer/leaky_relu.hpp @@ -84,7 +84,7 @@ class LeakyReLUType : public Layer * @param g The calculated gradient. */ void Backward(const MatType& input, - const MatType& output, + const MatType& /* output */, const MatType& gy, MatType& g);