code: def __torch_function__(cls, func, types, args=(), kwargs=None):
      if kwargs is None:
          kwargs = {}
  
      from .ops import jagged_torch_function
  
      try:
          return jagged_torch_function(func, *args, **kwargs)
      except NotImplementedError:
          pass
      with torch._C.DisableTorchFunctionSubclass():
          return func(*args, **kwargs)
  
imports: from typing import Tuple
  import torch
  from torch._C import DispatchKey, DispatchKeySet
  from torch._prims_common import is_expandable_to
  from torch.fx.experimental.symbolic_shapes import has_free_symbols
  from torch.utils.weak import WeakTensorKeyDictionary
  from typing import *
label_desc: Use image node_id 13 for calling the NestedTensor obj's underlying member method code with example usage: obj.__torch_function__(cls, func, types, args, kwargs) and returns: jagged_torch_function, func