You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: edu.cuny.hunter.hybridize.tests/test cases/edu/cuny/hunter/hybridize/tests/HybridizeFunctionRefactoringTest.java
+14
Original file line number
Diff line number
Diff line change
@@ -1594,4 +1594,18 @@ public void testHasLikelyTensorParameter10() throws Exception {
1594
1594
// TODO: Test arbitrary expression.
1595
1595
// TODO: Test cast/assert statements?
1596
1596
// TODO: Test tf.Tensor-like things?
1597
+
1598
+
/**
1599
+
* Test a model. No tf.function in this one.
1600
+
*/
1601
+
@Test
1602
+
publicvoidtestModel() throwsException {
1603
+
Set<Function> functions = this.getFunctions();
1604
+
assertNotNull(functions);
1605
+
1606
+
LOG.info("Found functions: " + functions.size());
1607
+
1608
+
// no hybrids.
1609
+
assertTrue(functions.stream().map(Function::isHybrid).allMatch(b -> b == false));
0 commit comments