Skip to content

Commit

Permalink
added fill to __repr__ of RandomRotation (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg-de authored Jun 23, 2020
1 parent b6f55ed commit f554f2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torchvision/transforms/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,8 @@ def __repr__(self):
format_string += ', expand={0}'.format(self.expand)
if self.center is not None:
format_string += ', center={0}'.format(self.center)
if self.fill is not None:
format_string += ', fill={0}'.format(self.fill)
format_string += ')'
return format_string

Expand Down

0 comments on commit f554f2d

Please sign in to comment.