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: Returns:
      A :class:`TowerTensorHandles`, containing only the inference towers.
docstr_tok: ["Returns",":","A",":","class",":","`","TowerTensorHandles","`",",","containing","only","the","inference","towers","."]
code: def inference(self):
      """
      Returns:
          A :class:`TowerTensorHandles`, containing only the inference towers.
      """
      handles = [h for h in self._handles if not h.is_training]
      return TowerTensorHandles(handles)
  
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 5 for calling the TowerTensorHandles obj's underlying member method code with example usage: obj.inference() and returns: TowerTensorHandles