We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7915e63 commit ec4f679Copy full SHA for ec4f679
tensorflow-framework/src/test/java/org/tensorflow/framework/optimizers/AdamTest.java
@@ -105,7 +105,9 @@ public void testBasic() {
105
Op update = instance.applyGradients(gradsAndVars, "AdamTest");
106
107
/* Create and validate the shapes of the slots */
108
+ @SuppressWarnings("unchecked")
109
Variable<TFloat32>[] firstMomentSlots = new Variable[2];
110
111
Variable<TFloat32>[] secondMomentSlots = new Variable[2];
112
113
firstMomentSlots[0] = instance.getSlot(var0.asOutput(), FIRST_MOMENT).get();
0 commit comments