diff options
Diffstat (limited to 'tensorflow/python/ops/image_ops_impl.py')
-rw-r--r-- | tensorflow/python/ops/image_ops_impl.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/python/ops/image_ops_impl.py b/tensorflow/python/ops/image_ops_impl.py index 2be92fac63..e39cabde31 100644 --- a/tensorflow/python/ops/image_ops_impl.py +++ b/tensorflow/python/ops/image_ops_impl.py @@ -1566,8 +1566,7 @@ def sample_distorted_bounding_box(image_size, bounding_boxes, seed=None, Provide as input to `tf.image.draw_bounding_boxes`. """ with ops.name_scope(name, 'sample_distorted_bounding_box'): - # TODO (yongtang): Need to switch to v2 after 3 weeks. - return gen_image_ops._sample_distorted_bounding_box(image_size, + return gen_image_ops._sample_distorted_bounding_box_v2(image_size, bounding_boxes, seed=seed, seed2=seed2, min_object_covered=min_object_covered, aspect_ratio_range=aspect_ratio_range, area_range=area_range, |