code: def summary_writer(
      logdir,
      graph=None,
      max_queue=10,
      flush_secs=120,
      graph_def=None,
      filename_suffix=None,
      session=None,
      name=None,
  ):
      """Summary writer."""
      return tf.summary.create_file_writer(
          logdir,
          max_queue=max_queue,
          flush_millis=flush_secs * 1000,
          filename_suffix=filename_suffix,
          name=name,
      )
  
file_path: delta/delta/utils/summary.py
imports: import delta.compat
label_desc: Use image node_id 7 for calling a global function with example usage: summary_writer(logdir, graph, max_queue, flush_secs, graph_def, filename_suffix, session, name) and returns: tf