code: def onnx_name_2_pytorch_name(name):
      # Convert a layer's name from an ONNX name, to a PyTorch name
      # For example:
      #   ResNet/Sequential[layer3]/BasicBlock[0]/ReLU[relu] ==> layer3.0.relu
  
      # Split by square brackets
      name_parts = re.findall("\[.*?\]", name)
      name_parts = [part[1:-1] for part in name_parts]
  
      return ".".join(name_parts)
  
imports: from .None import distiller
  import re
  import numpy
  import collections
  import torch
  import torch.nn
  import torch.jit
  import logging
  from collections import OrderedDict, defaultdict
  from collections.abc import MutableSequence, Iterable
label_desc: Use image node_id 1 for calling a global function with example usage: onnx_name_2_pytorch_name(name) and returns: str