code: def rescale(frame, scale=None):
      return skimage.util.img_as_ubyte(
          skimage.transform.rescale(frame, float(scale))
      )
  
file_path: SerpentAI/serpent/frame_transformer.py
imports: import skimage.transform
  import skimage.color
  import skimage.util
  from PIL import Image
  import io
label_desc: Use image node_id 3 for calling the FrameTransformer obj's underlying member method code with example usage: obj.rescale(frame, scale) and returns: skimage