code: def generate_ids(city, num=2):
      """Generates image ids following the format of the cityscapes dataset.
  
      Args:
        city (str): The city/scene the ids belong to, used as a prefix to the id.
        num (int): Number of random ids to generate.
  
      Yields:
        Generator for id strings.
      """
      for _ in range(num):
          yield "{}_{:06d}_{:06d}".format(
              city, random.randint(0, 999999), random.randint(0, 999999)
          )
  
imports: import os
  import random
  import re
  import zipfile
  from tensorflow_datasets.testing.fake_data_utils import get_random_png
label_desc: Use image node_id 1 for calling a global function with example usage: generate_ids(city, num) without return types