class_docstr: Wrap a list of :class:`TowerTensorHandle`,
  to support access to them by index or names.
class_docstr_tok: ["Wrap","a","list","of",":","class",":","`","TowerTensorHandle","`",",","to","support","access","to","them","by","index","or","names","."]
docstr: Args:
      name_or_index (str or int):
  
  Returns:
      a :class:`TowerTensorHandle`.
docstr_tok: ["Args",":","name_or_index","(","str","or","int",")",":","Returns",":","a",":","class",":","`","TowerTensorHandle","`","."]
code: def __getitem__(self, name_or_index):
      """
      Args:
          name_or_index (str or int):
  
      Returns:
          a :class:`TowerTensorHandle`.
      """
      if isinstance(name_or_index, int):
          return self._handles[name_or_index]
      return self._name_to_handle[name_or_index]
  
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 3 for calling the TowerTensorHandles obj's underlying member method code with example usage: obj.__getitem__(name_or_index) and returns: self, self