aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/speech_commands/freeze.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/examples/speech_commands/freeze.py')
-rw-r--r--tensorflow/examples/speech_commands/freeze.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/speech_commands/freeze.py b/tensorflow/examples/speech_commands/freeze.py
index 7657b23c60..89e790d4e4 100644
--- a/tensorflow/examples/speech_commands/freeze.py
+++ b/tensorflow/examples/speech_commands/freeze.py
@@ -130,7 +130,7 @@ def main(_):
FLAGS.clip_stride_ms, FLAGS.window_size_ms, FLAGS.window_stride_ms,
FLAGS.feature_bin_count, FLAGS.model_architecture, FLAGS.preprocess)
if FLAGS.quantize:
- tf.contrib.quantize.create_training_graph(quant_delay=0)
+ tf.contrib.quantize.create_eval_graph()
models.load_variables_from_checkpoint(sess, FLAGS.start_checkpoint)
# Turn all the variables into inline constants inside the graph and save it.