class_docstr: NameManager to do automatic naming.
  
  Developers can also inherit from this class to change naming behavior.
docstr: Get the canonical name for a symbol.
  
  This is the default implementation.
  If the user specifies a name,
  the user-specified name will be used.
  
  When user does not specify a name, we automatically generate a
  name based on the hint string.
  
  Parameters
  ----------
  name : str or None
      The name specified by the user.
  
  hint : str
      A hint string, which can be used to generate name.
  
  Returns
  -------
  full_name : str
      A canonical name for the symbol.
docstr_tok: ["Get","the","canonical","name","for","a","symbol",".","This","is","the","default","implementation",".","If","the","user","specifies","a","name",",","the","user-specified","name","will","be","used",".","When","user","does","not","specify","a","name",",","we","automatically","generate","a","name","based","on","the","hint","string",".","Parameters","--","--","--","--","--","name",":","str","or","None","The","name","specified","by","the","user",".","hint",":","str","A","hint","string",",","which","can","be","used","to","generate","name",".","Returns","--","--","--","-","full_name",":","str","A","canonical","name","for","the","symbol","."]
code: def get(self, name, hint):
      """Get the canonical name for a symbol.
  
      This is the default implementation.
      If the user specifies a name,
      the user-specified name will be used.
  
      When user does not specify a name, we automatically generate a
      name based on the hint string.
  
      Parameters
      ----------
      name : str or None
          The name specified by the user.
  
      hint : str
          A hint string, which can be used to generate name.
  
      Returns
      -------
      full_name : str
          A canonical name for the symbol.
      """
      if name:
          return name
      if hint not in self._counter:
          self._counter[hint] = 0
      name = f"{hint}{self._counter[hint]}"
      self._counter[hint] += 1
      return name
  
file_path: mxnet/python/mxnet/name.py
imports: import contextvars
label_desc: Use image node_id 2 for calling the NameManager obj's underlying member method code with example usage: obj.get(name, hint) and returns: name, name