code: def _setup_graph(self):
      size = len(tf.get_collection(self._key))
      logger.info(
          "Summarizing collection '{}' of size {}.".format(
              self._key, size
          )
      )
      self.summary_op = tf.summary.merge_all(self._key)
      if self.summary_op is not None:
          self._fetches = tf.train.SessionRunArgs(self.summary_op)
      else:
          self._fetches = None
  
imports: import numpy
  from collections import deque
  from ..compat import tfv1
  from ..tfutils.common import get_op_tensor_name
  from ..utils import logger
  from ..utils.naming import MOVING_SUMMARY_OPS_KEY
  from .base import Callback
label_desc: Use image node_id 2 for calling the MergeAllSummaries_RunWithOp obj's underlying member method code with example usage: obj._setup_graph() without return types