class_docstr: Short side rescale, keeping aspect ratio.
  
  Parameters
  ----------
  short_side : int
      A number that at least one side of the image has to be equal to.
  
  Inputs:
      - **data**: a list of frames with shape [H x W x C]
  
  Outputs:
      - **out**: a list of rescaled frames with shape [short_side x (W*ratio) x C]
                 or [(H*ratio) x short_side x C]. Ratio is the input's original aspect ratio.
class_docstr_tok: ["Short","side","rescale",",","keeping","aspect","ratio",".","Parameters","--","--","--","--","--","short_side",":","int","A","number","that","at","least","one","side","of","the","image","has","to","be","equal","to",".","Inputs",":","-","*","*","data","*","*",":","a","list","of","frames","with","shape","[","H","x","W","x","C","]","Outputs",":","-","*","*","out","*","*",":","a","list","of","rescaled","frames","with","shape","[","short_side","x","(","W","*","ratio",")","x","C","]","or","[","(","H","*","ratio",")","x","short_side","x","C","]",".","Ratio","is","the","input","'s","original","aspect","ratio","."]
code: def forward(self, clips):
      h, w, _ = clips[0].shape
  
      new_w = self.short_side
      new_h = self.short_side
      if w < h:
          new_h = int(math.floor((float(h) / w) * self.short_side))
      else:
          new_w = int(math.floor((float(w) / h) * self.short_side))
  
      new_clips = []
      for cur_img in clips:
          new_clips.append(self.cv2.resize(cur_img, (new_w, new_h)))
      return new_clips
  
imports: from __future__ import division
  import random
  import math
  import numbers
  import numpy
  from mxnet.gluon import Block
label_desc: Use image node_id 2 for calling the ShortSideRescale obj's underlying member method code with example usage: obj.forward(clips) and returns: new_clips