code: def test_get_function_overloads_gives_overload_fall_back_default(
      self,
  ):
      # Test fall back to default op name
      node_overload = torch.fx.Node(
          graph=torch.fx.Graph(),
          name="aten::add.Tensor",
          op="call_function",
          target=torch.ops.aten.add.Tensor,  # type: ignore[attr-defined]
          args=(torch.tensor(3), torch.tensor(4)),
          kwargs={},
      )
      node_overloadpacket = torch.fx.Node(
          graph=torch.fx.Graph(),
          name="aten::add",
          op="call_function",
          target=torch.ops.aten.add.Tensor,  # type: ignore[attr-defined]
          args=(),
          kwargs={},
      )
  
      self.assertEqual(
          self.dispatcher.get_function_overloads(
              node_overload, self.diagnostic_context
          ),
          self.dispatcher.get_function_overloads(
              node_overloadpacket,
              self.diagnostic_context,
          ),
      )
  
      # Non-registered op
      unsupported_op_node = torch.fx.Node(
          graph=torch.fx.Graph(),
          name="aten::made_up_node",
          op="call_function",
          target=lambda: None,
          args=(),
          kwargs={},
      )
      with self.assertRaises(RuntimeError):
          self.dispatcher.get_function_overloads(
              unsupported_op_node,
              self.diagnostic_context,
          )
  
imports: from __future__ import annotations
  import logging
  import operator
  from typing import TypeVar, Union
  import onnxscript
  import torch
  import torch.fx
  from onnxscript import BFLOAT16, DOUBLE, FLOAT, FLOAT16
  from onnxscript.function_libs.torch_lib import ops
  from onnxscript.onnx_opset import opset15
  from torch.onnx._internal.diagnostics import infra
  from torch.onnx._internal.fx import analysis, diagnostics, onnxfunction_dispatcher, registration
  from torch.testing._internal import common_utils
label_desc: Use image node_id 4 for calling the TestDispatcher obj's underlying member method code with example usage: obj.test_get_function_overloads_gives_overload_fall_back_default() without return types