diff options
Diffstat (limited to 'tensorflow/python/ops/image_ops_test.py')
-rw-r--r-- | tensorflow/python/ops/image_ops_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/ops/image_ops_test.py b/tensorflow/python/ops/image_ops_test.py index 7275b674d0..e568cff352 100644 --- a/tensorflow/python/ops/image_ops_test.py +++ b/tensorflow/python/ops/image_ops_test.py @@ -371,7 +371,7 @@ class AdjustHueBenchmark(test.Benchmark): delta = tf.constant(0.1, dtype=tf.float32) outputs = image_ops.adjust_hue(inputs, delta) run_op = tf.group(outputs) - sess.run(tf.initialize_all_variables()) + sess.run(tf.global_variables_initializer()) for i in xrange(warmup_rounds + benchmark_rounds): if i == warmup_rounds: start = time.time() |