code: def _T_handle_batch(T, batch=None):
      def T2(name):
          t = T(name)
          if isinstance(batch, int):
              return t[batch : batch + 1]
          else:
              return t
  
      return T2
  
file_path: lucid/lucid/optvis/objectives_util.py
imports: from __future__ import absolute_import, division, print_function
  from decorator import decorator
  import numpy
  import tensorflow
  import lucid.misc.graph_analysis.property_inference
label_desc: Use image node_id 6 for calling a global function with example usage: _T_handle_batch(T, batch) and returns: T2, t, t