h, w = x.size(2), x.size(3)
y = F.upsample(y, size=(h, w), mode='bilinear')
to upsample and make the layer y have the same shape with layer x. How to implement this function in mxnet symbol api? BilinearResize2D needs to be provided the output size and cannot dynamically change the size after upsamle. So I am confused how to to.