class_docstr: NanoStableDiffusionImg2ImgPipeline.
class_docstr_tok: ["NanoStableDiffusionImg2ImgPipeline","."]
docstr: Inference.
docstr_tok: ["Inference","."]
code: def __call__(self, *args, **kwargs):
      """Inference."""
      return super().__call__(*args, **kwargs)
  
imports: import os
  import functools
  import diffusers
  from huggingface_hub import snapshot_download
  from transformers import CLIPFeatureExtractor, CLIPTextModel, CLIPTokenizer
  from diffusers import DiffusionPipeline, StableDiffusionPipeline, StableDiffusionImg2ImgPipeline
  from diffusers import AutoencoderKL, UNet2DConditionModel
  from bigdl.nano.diffusion.utils.paths import *
  from bigdl.nano.pytorch import InferenceOptimizer
  from bigdl.nano.utils.common import invalidInputError
  from bigdl.nano.diffusion.common.optimize import load_optimized_unet, load_optimized_vae_decoder
label_desc: Use image node_id 3 for calling the NanoStableDiffusionImg2ImgPipeline obj's underlying member method code with example usage: obj.__call__() and returns: super