class_docstr: Resize the long side of the input image to the target size.
  
  Args:
      long_size(int|list[int]): The target size of long side.
class_docstr_tok: ["Resize","the","long","side","of","the","input","image","to","the","target","size",".","Args",":","long_size","(","int|list","[","int","]",")",":","The","target","size","of","long","side","."]
code: def __call__(self, im):
      im = F.resize_long(im, self.long_size)
      return im
  
imports: import random
  from typing import Callable, Union, List, Tuple
  import cv2
  import PIL
  import numpy
  import paddlehub.vision.functional
label_desc: Use image node_id 2 for calling the ResizeByLong obj's underlying member method code with example usage: obj.__call__(im) and returns: im