mxnet.image.ForceResizeAug¶
-
class
mxnet.image.
ForceResizeAug
(size, interp=2)[source]¶ Force resize to size regardless of aspect ratio
- Parameters
size (tuple of (int, int)) – The desired size as in (width, height)
interp (int, optional, default=2) – Interpolation method. See resize_short for details.
Methods
__init__
(size[, interp])Initialize self.
dumps
()Saves the Augmenter to string