Clarify that tf.contrib.image.rotate angles are counterclockwise.
authorDan Ringwalt <ringwalt@google.com>
Mon, 5 Feb 2018 17:49:01 +0000 (09:49 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 5 Feb 2018 17:52:48 +0000 (09:52 -0800)
PiperOrigin-RevId: 184541776

tensorflow/contrib/image/python/ops/image_ops.py

index 63377ae..6122ee5 100644 (file)
@@ -40,7 +40,7 @@ ops.RegisterShape("ImageProjectiveTransform")(common_shapes.call_cpp_shape_fn)
 
 
 def rotate(images, angles, interpolation="NEAREST", name=None):
-  """Rotate image(s) by the passed angle(s) in radians.
+  """Rotate image(s) counterclockwise by the passed angle(s) in radians.
 
   Args:
     images: A tensor of shape (num_images, num_rows, num_columns, num_channels)