code: def get_divisors(
      value: int, min_value: int, /, max_options: int = 1
  ) -> list[int]:
      """
      Returns divisors of value that
          x * min_value <= value
      in big -> small order, amount of divisors is limited by max_options
      """
      max_options = max(
          1, max_options
      )  # at least 1 option should be returned
      min_value = min(min_value, value)
      divisors = [
          i for i in range(min_value, value + 1) if value % i == 0
      ]  # divisors in small -> big order
      ns = [
          value // i for i in divisors[:max_options]
      ]  # has at least 1 element # big -> small order
      return ns
  
file_path: stable-diffusion-webui/extensions-builtin/hypertile/hypertile.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Callable
  from functools import wraps, cache
  import math
  import torch.nn
  import random
  from einops import rearrange
label_desc: Use image node_id 1 for calling a global function with example usage: get_divisors(max_options) and returns: ns