Skip to content

Commit 27c1126

Browse files
committed
Remove the test of int arguments for those classes changed to TFloating type, as they would no longer compile.
1 parent 7519436 commit 27c1126

File tree

1 file changed

+0
-15
lines changed
  • tensorflow-framework/src/test/java/org/tensorflow/framework/activations

1 file changed

+0
-15
lines changed

tensorflow-framework/src/test/java/org/tensorflow/framework/activations/SoftmaxTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@ public void setUp() {}
4545
@AfterEach
4646
public void tearDown() {}
4747

48-
/** Test of Softmax method, of class Activations. */
49-
@Test
50-
public void testIntThrowsIAE() {
51-
int[][] input = {{1, -2, 3, -4}, {-1, 2, -3, 4}};
52-
for (TestSession.Mode tfMode : tfModes)
53-
assertThrows(
54-
java.lang.IllegalArgumentException.class,
55-
() -> {
56-
try (TestSession session = TestSession.createTestSession(tfMode)) {
57-
Ops tf = session.getTF();
58-
Softmax<TInt32> instance = new Softmax<>(tf);
59-
Operand<TInt32> result = instance.call(tf.constant(input));
60-
}
61-
});
62-
}
6348

6449
/** Test of Softmax method, of class Activations. */
6550
@Test

0 commit comments

Comments
 (0)