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

Commit

Permalink
fix the website building
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Apr 3, 2019
1 parent d0e509f commit d3d92ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mxnet/gluon/data/vision/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ class CropResize(HybridBlock):
r"""Crop the input image with and optionally resize it.
Makes a crop of the original image then optionally resize it to the specified size.
Parameters
----------
x : int
Expand All @@ -247,6 +248,7 @@ class CropResize(HybridBlock):
interpolation : int, optional
Interpolation method for resizing. By default uses bilinear
interpolation. See OpenCV's resize function for available choices.
https://docs.opencv.org/2.4/modules/imgproc/doc/geometric_transformations.html?highlight=resize#resize
Note that the Resize on gpu use contrib.bilinearResize2D operator
which only support bilinear interpolation(1). The result would be slightly
different on gpu compared to cpu. OpenCV tend to align center while bilinearResize2D
Expand Down

0 comments on commit d3d92ce

Please sign in to comment.