code: def __init__(
      self,
      shape,
      seeds,
      subseeds=None,
      subseed_strength=0.0,
      seed_resize_from_h=0,
      seed_resize_from_w=0,
  ):
      self.shape = tuple(map(int, shape))
      self.seeds = seeds
      self.subseeds = subseeds
      self.subseed_strength = subseed_strength
      self.seed_resize_from_h = seed_resize_from_h
      self.seed_resize_from_w = seed_resize_from_w
  
      self.generators = [create_generator(seed) for seed in seeds]
  
      self.is_first = True
  
file_path: stable-diffusion-webui/modules/rng.py
imports: import torch
  from modules import devices, rng_philox, shared
label_desc: Use image node_id 1 to create a new ImageRNG object  with example: obj = ImageRNG(shape, seeds, subseeds, subseed_strength, seed_resize_from_h, seed_resize_from_w)