Skip to content

Commit 8129a37

Browse files
committed
Updated unit test for keras exporter
1 parent 527301d commit 8129a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nyoka/tests/keras_to_pmml_UnitTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_keras_02(self):
4848
pmmlObj.export(open('sequentialModel.pmml','w'),0)
4949
reconPmmlObj=ny.parse('sequentialModel.pmml',True)
5050
self.assertEqual(os.path.isfile("sequentialModel.pmml"),True)
51-
self.assertEqual(len(model.layers), len(reconPmmlObj.DeepNetwork[0].NetworkLayer))
51+
self.assertEqual(len(model.layers), len(reconPmmlObj.DeepNetwork[0].NetworkLayer)-1)
5252

5353

5454
if __name__=='__main__':

0 commit comments

Comments
 (0)