code: def process_firstpass(
      self,
      pp: scripts_postprocessing.PostprocessedImage,
      upscale_by=2.0,
      upscaler_name=None,
  ):
      pp.shared.target_width = int(pp.image.width * upscale_by)
      pp.shared.target_height = int(pp.image.height * upscale_by)
  
file_path: stable-diffusion-webui/scripts/postprocessing_upscale.py
imports: from PIL import Image
  import numpy
  from modules import scripts_postprocessing, shared
  import gradio
  from modules.ui_components import FormRow, ToolButton
  from modules.ui import switch_values_symbol
label_desc: Use image node_id 2 for calling the ScriptPostprocessingUpscaleSimple obj's underlying member method code with example usage: obj.process_firstpass(pp, upscale_by, upscaler_name) without return types