code: def _get_add_time_ids(
      self,
      original_size,
      crops_coords_top_left,
      target_size,
      aesthetic_score,
      negative_aesthetic_score,
      dtype,
  ):
      if self.config.get("requires_aesthetics_score"):
          add_time_ids = (
              original_size
              + crops_coords_top_left
              + (aesthetic_score,),
          )
          add_neg_time_ids = (
              original_size
              + crops_coords_top_left
              + (negative_aesthetic_score,),
          )
      else:
          add_time_ids = (
              original_size + crops_coords_top_left + target_size,
          )
          add_neg_time_ids = (
              original_size + crops_coords_top_left + target_size,
          )
  
      add_time_ids = np.array(add_time_ids, dtype=dtype)
      add_neg_time_ids = np.array(add_neg_time_ids, dtype=dtype)
  
      return add_time_ids, add_neg_time_ids
  
file_path: optimum/optimum/pipelines/diffusers/pipeline_stable_diffusion_xl_img2img.py
imports: import inspect
  import logging
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import numpy
  import PIL
  import torch
  from diffusers.pipelines.stable_diffusion_xl import StableDiffusionXLPipelineOutput
  from .pipeline_utils import DiffusionPipelineMixin, rescale_noise_cfg
label_desc: Use image node_id 5 for calling the StableDiffusionXLImg2ImgPipelineMixin obj's underlying member method code with example usage: obj._get_add_time_ids(original_size, crops_coords_top_left, target_size, aesthetic_score, negative_aesthetic_score, dtype) and returns: add_time_ids,  add_neg_time_ids