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 __init__(self, long_size: Union[List[int], int]):
      self.long_size = long_size
  
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 1 to create a new ResizeByLong object  with example: obj = ResizeByLong(long_size)