Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Feb 26, 2019
1 parent 24226f2 commit 54e746b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/gluon/data/vision/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def hybrid_forward(self, F, x):
out = F.image.crop(x, self._x0, self._y0, self._width, self._height)
if self._size is not None:
out = F.image.resize(out, self._size, False, self._interpolation)
return out
return out

class CenterCrop(Block):
"""Crops the image `src` to the given `size` by trimming on all four
Expand Down

0 comments on commit 54e746b

Please sign in to comment.