mxnet.ndarray.contrib.BilinearResize2D¶
-
mxnet.ndarray.contrib.
BilinearResize2D
(data=None, height=_Null, width=_Null, out=None, name=None, **kwargs)¶ Perform 2D resizing (upsampling or downsampling) for 4D input using bilinear interpolation.
Expected input is a 4 dimensional NDArray (NCHW) and the output with the shape of (N x C x height x width). The key idea of bilinear interpolation is to perform linear interpolation first in one direction, and then again in the other direction. See the wikipedia of Bilinear interpolation for more details.
Defined in src/operator/contrib/bilinear_resize.cc:L175