From 19a6b3931d01e67f4c050c539676df163a56a327 Mon Sep 17 00:00:00 2001 From: Sebastian Nickels Date: Sat, 17 Aug 2019 22:18:24 +0200 Subject: [PATCH] Updated version number and tests --- pom.xml | 2 +- .../gluon/CNNSupervisedTrainer_mnist_mnistClassifier_net.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8f6f748..60286f7 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ 0.2.10-SNAPSHOT 0.3.6-SNAPSHOT - 0.0.3-SNAPSHOT + 0.0.4-SNAPSHOT 0.2.17-SNAPSHOT 0.2.13-SNAPSHOT 0.2.8-SNAPSHOT diff --git a/src/test/resources/target_code/gluon/CNNSupervisedTrainer_mnist_mnistClassifier_net.py b/src/test/resources/target_code/gluon/CNNSupervisedTrainer_mnist_mnistClassifier_net.py index c88e708..3af2bd8 100644 --- a/src/test/resources/target_code/gluon/CNNSupervisedTrainer_mnist_mnistClassifier_net.py +++ b/src/test/resources/target_code/gluon/CNNSupervisedTrainer_mnist_mnistClassifier_net.py @@ -136,6 +136,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net: predictions_label = batch.label[0].as_in_context(mx_context) with autograd.record(): + predictions_ = mx.nd.zeros((10,), ctx=mx_context) predictions_ = self._networks[0](image_) @@ -172,6 +173,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net: ] if True: + predictions_ = mx.nd.zeros((10,), ctx=mx_context) predictions_ = self._networks[0](image_) @@ -192,6 +194,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net: ] if True: + predictions_ = mx.nd.zeros((10,), ctx=mx_context) predictions_ = self._networks[0](image_) -- GitLab