class_docstr: A context to maintain collection change in a tower.
class_docstr_tok: ["A","context","to","maintain","collection","change","in","a","tower","."]
code: def _key_name(self, name):
      return self._inverse_graphkeys.get(name, name)
  
file_path: tensorpack/tensorpack/tfutils/collection.py
imports: from contextlib import contextmanager
  from copy import copy
  import six
  from ..compat import tfv1
  from ..utils import logger
  from ..utils.argtools import memoized
label_desc: Use image node_id 3 for calling the CollectionGuard obj's underlying member method code with example usage: obj._key_name(name) and returns: self