class_docstr: A context where the current model is built in.
  You need to use :func:`TowerContext` to create a :class:`BaseTowerContext`.
class_docstr_tok: ["A","context","where","the","current","model","is","built","in",".","You","need","to","use",":","func",":","`","TowerContext","`","to","create","a",":","class",":","`","BaseTowerContext","`","."]
docstr: From a collection, get items that are __added__ to the collection in this tower.
  
  Note that it works by tracking the collection at the beginning and end of
  the tower function.
  Therefore it does not guarantee that the items are __created__ in this tower.
docstr_tok: ["From","a","collection",",","get","items","that","are","__added__","to","the","collection","in","this","tower",".","Note","that","it","works","by","tracking","the","collection","at","the","beginning","and","end","of","the","tower","function",".","Therefore","it","does","not","guarantee","that","the","items","are","__created__","in","this","tower","."]
code: def get_collection_in_tower(self, key):
      """
      From a collection, get items that are __added__ to the collection in this tower.
  
      Note that it works by tracking the collection at the beginning and end of
      the tower function.
      Therefore it does not guarantee that the items are __created__ in this tower.
      """
      return self._collection_guard.get_collection_in_tower(key)
  
imports: from abc import ABCMeta, abstractmethod, abstractproperty
  import six
  from ..compat import tfv1
  from ..utils import logger
  from ..utils.argtools import call_only_once
  from ..utils.develop import HIDE_DOC
  from ..utils.naming import MOVING_SUMMARY_OPS_KEY
  from .collection import CollectionGuard
  from .common import get_op_or_tensor_by_name, get_op_tensor_name
label_desc: Use image node_id 7 for calling the BaseTowerContext obj's underlying member method code with example usage: obj.get_collection_in_tower(key) and returns: self