Skip to content

Commit 3165ada

Browse files
committed
グラフが書き出されない問題を修正
1 parent 54a7ea8 commit 3165ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mnist_savedmodel/mnist_savedmodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
logdir = "logs/mnist_savedmodel"
5050
writer = tf.summary.create_file_writer(logdir)
5151
tf.summary.trace_on()
52-
values = probability_model(x_test[:1, :, :])
52+
values = probability_model.predict(x_test[:1, :, :])
5353
with writer.as_default():
5454
tf.summary.trace_export("Default", step=0)

0 commit comments

Comments
 (0)