code: def resolve(self, args):
      n = len(args)
      for signature in self.ordering:
          if len(signature) != n:
              continue
          s = unify(freeze(args), signature)
          if s is not False:
              result = self.funcs[signature]
              return result, s
      raise NotImplementedError(
          "No match found. \nKnown matches: "
          + str(self.ordering)
          + "\nInput: "
          + str(args)
      )
  
file_path: pytorch/torch/fx/experimental/unification/match.py
imports: from .core import unify, reify
  from .variable import isvar
  from .utils import _toposort, freeze
  from .unification_tools import groupby, first
label_desc: Use image node_id 4 for calling the Dispatcher obj's underlying member method code with example usage: obj.resolve(args) and returns: result,  s