code: def __call__(self, iterable: Iterable[int]) -> frozenset[int]:
      result = itertools.chain.from_iterable(
          self.replacements[k]
          for k in iterable
          if k in self.replacements
      )
      return frozenset(result)
  
imports: from __future__ import annotations
  import collections
  import functools
  import itertools
  import logging
  import math
  import random
  from abc import ABC
  from typing import TYPE_CHECKING, overload
  from warnings import warn
  from .None import blocking, branch_and_bound
label_desc: Use image node_id 2 for calling the Resampler obj's underlying member method code with example usage: obj.__call__(iterable) and returns: frozenset