Commit 080b9543 authored by David de la Iglesia Castro's avatar David de la Iglesia Castro Committed by Alykhan Tejani
Browse files

Add RandomRotation to docs (#362)

parent 6c2ac026
......@@ -38,6 +38,8 @@ Transforms on PIL Image
.. autoclass:: ColorJitter
.. autoclass:: RandomRotation
Transforms on torch.\*Tensor
----------------------------
......
......@@ -527,7 +527,7 @@ def adjust_gamma(img, gamma, gain=1):
def rotate(img, angle, resample=False, expand=False, center=None):
"""Rotate the image by angle and then (optionally) translate it by (n_columns, n_rows)
"""Rotate the image by angle.
Args:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment