code: def _find_operator_overloads_in_onnx_registry_disagnostic_message_formatter(
      fn: Callable,
      self,
      node: torch.fx.Node,
      *args,
      **kwargs,
  ) -> str:
      """Format the diagnostic message for the nearest match warning."""
      return f"Searching operator overload: '{node.target}' in onnx registry...\n"
  
imports: from __future__ import annotations
  import logging
  import operator
  import types
  from typing import Any, Callable, Dict, List, Optional, Sequence, Set, Tuple, TYPE_CHECKING, Union
  import torch
  import torch._ops
  import torch.fx
  from torch.onnx._internal import _beartype
  from torch.onnx._internal.fx import diagnostics, registration, type_utils
  from onnxscript.function_libs.torch_lib import graph_building
label_desc: Use image node_id 2 for calling a global function with example usage: _find_operator_overloads_in_onnx_registry_disagnostic_message_formatter(fn, node) and returns: str, node, str