From d58a4b45b17058ef5d5f8e71261405fadb99c835 Mon Sep 17 00:00:00 2001 From: Steven Lang Date: Tue, 17 Sep 2019 21:56:49 +0200 Subject: [PATCH] Fix Nadam updater clone missing schedule (#8243) Signed-off-by: Steven Lang --- .../src/main/java/org/nd4j/linalg/learning/config/Nadam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/config/Nadam.java b/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/config/Nadam.java index cf00ef410..781bd2d07 100644 --- a/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/config/Nadam.java +++ b/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/config/Nadam.java @@ -101,7 +101,7 @@ public class Nadam implements IUpdater { @Override public Nadam clone() { - return new Nadam(learningRate, beta1, beta2, epsilon); + return new Nadam(learningRate, learningRateSchedule, beta1, beta2, epsilon); } @Override