code: def get_parent_child_name(name: str) -> _Tuple[str, str]:
      """
      Returns name of parent and child modules from a full module name.
      """
      split = name.rsplit(".", 1)
      if len(split) == 1:
          return "", split[0]
      else:
          return split[0], split[1]
  
file_path: coremltools/coremltools/optimize/torch/_utils/torch_utils.py
imports: import logging
  import operator
  import re
  from contextlib import contextmanager
  from typing import List
  from typing import Tuple
  from typing import Union
  import numpy
  import torch
label_desc: Use image node_id 5 for calling a global function with example usage: get_parent_child_name(name) and returns: str,  split, split,  split