Skip to content

Commit b54351e

Browse files
committed
update
1 parent ce495ab commit b54351e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

examples/mnist/expected_values.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.693555e-06, 3.5453503e-08, 8.619008e-05, 0.000236661, 1.5483033e-07, 7.4597015e-06, 7.556525e-09, 0.9995622, 2.1989117e-06, 9.543356e-05
1+
1.8487935e-05, 5.188386e-08, 0.0003525585, 0.0014435184, 3.3050244e-07, 3.180701e-05, 2.4361995e-08, 0.9980293, 1.7698758e-05, 0.00010610428

examples/mnist/mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def probability_model(x):
4444

4545

4646
# convert keras model to TF2 function to get a computation graph
47-
x = tf.TensorSpec((None, 28, 28), tf.float32)
47+
x = tf.TensorSpec((None, 28, 28), tf.float32, name="x")
4848
tf_model = probability_model.get_concrete_function(x=x)
4949

5050
# now all variables are converted to constants.

examples/mnist/model.pb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)