code: def parse_qualname(qualname: str) -> typing.Tuple[str, str]:
      names = qualname.split("::", 1)
      if len(names) != 2:
          raise ValueError(
              f"Expected there to be a namespace in {qualname}, i.e. The "
              f"operator name should look something like ns::foo"
          )
      if "." in names[1]:
          raise ValueError(
              f"The torch.custom_ops APIs do not handle overloads, "
              f"i.e. operator names with '.' in them. "
              f"Please name your operator something like ns::foo. "
              f"Got: {qualname}"
          )
      return names[0], names[1]
  
imports: import dataclasses
  import functools
  import inspect
  import sys
  import typing
  import weakref
  from torchgen.model import FunctionSchema, OperatorName, SchemaKind, BaseType, ListType, BaseTy
  import torch
  import torch._C
  import torch.library
  from torch._library.abstract_impl import AbstractImplCtx
  from torch.library import get_ctx
  from .autograd import autograd_kernel_indirection, construct_autograd_kernel
label_desc: Use image node_id 5 for calling a global function with example usage: parse_qualname(qualname) and returns: names,  names