code: def _get_unique_subgraph_name(subgraph_name):
      attrs = current_attribute()._attr
      if attrs.get("__subgraph_name__", "") != "":
          subgraph_name = "".join(
              [attrs["__subgraph_name__"], "$", subgraph_name]
          )
      AttrScope._subgraph_names[subgraph_name] += 1
      subgraph_name = subgraph_name + str(
          AttrScope._subgraph_names[subgraph_name] - 1
      )
      return subgraph_name
  
file_path: mxnet/python/mxnet/ndarray/numpy_extension/control_flow.py
imports: from .None import _api_internal
  from .._internal import NDArrayBase
  from ...util import set_module
  from ...numpy import ndarray
  from ...symbol import Symbol
  from ...base import _as_list
  from ...None import symbol, _deferred_compute, autograd
  from ...attribute import AttrScope, current
label_desc: Use image node_id 3 for calling a global function with example usage: _get_unique_subgraph_name(subgraph_name) and returns: subgraph_name