code: def add_axis_options():
      extra_axis_options = [
          xyz_grid.AxisOption(
              "[Hypertile] Unet First pass Enabled",
              str,
              bool_applier("hypertile_enable_unet"),
              choices=xyz_grid.boolean_choice(reverse=True),
          ),
          xyz_grid.AxisOption(
              "[Hypertile] Unet Second pass Enabled",
              str,
              bool_applier("hypertile_enable_unet_secondpass"),
              choices=xyz_grid.boolean_choice(reverse=True),
          ),
          xyz_grid.AxisOption(
              "[Hypertile] Unet Max Depth",
              int,
              int_applier("hypertile_max_depth_unet", 0, 3),
              choices=lambda: [str(x) for x in range(4)],
          ),
          xyz_grid.AxisOption(
              "[Hypertile] Unet Max Tile Size",
              int,
              int_applier("hypertile_max_tile_unet", 0, 512),
          ),
          xyz_grid.AxisOption(
              "[Hypertile] Unet Swap Size",
              int,
              int_applier("hypertile_swap_size_unet", 0, 64),
          ),
          xyz_grid.AxisOption(
              "[Hypertile] VAE Enabled",
              str,
              bool_applier("hypertile_enable_vae"),
              choices=xyz_grid.boolean_choice(reverse=True),
          ),
          xyz_grid.AxisOption(
              "[Hypertile] VAE Max Depth",
              int,
              int_applier("hypertile_max_depth_vae", 0, 3),
              choices=lambda: [str(x) for x in range(4)],
          ),
          xyz_grid.AxisOption(
              "[Hypertile] VAE Max Tile Size",
              int,
              int_applier("hypertile_max_tile_vae", 0, 512),
          ),
          xyz_grid.AxisOption(
              "[Hypertile] VAE Swap Size",
              int,
              int_applier("hypertile_swap_size_vae", 0, 64),
          ),
      ]
      set_a = {opt.label for opt in xyz_grid.axis_options}
      set_b = {opt.label for opt in extra_axis_options}
      if set_a.intersection(set_b):
          return
  
      xyz_grid.axis_options.extend(extra_axis_options)
  
imports: from modules import scripts
  from modules.shared import opts
label_desc: Use image node_id 3 for calling a global function with example usage: add_axis_options() without return types