code: def run_all(base_logdir):
      """Generate waves of the shapes defined above.
  
      For each wave, creates a run that contains summaries.
  
      Arguments:
        base_logdir: the directory into which to store all the runs' data
      """
      waves = [
          ("sine_wave", sine_wave),
          ("square_wave", square_wave),
          ("bisine_wave", bisine_wave),
      ]
      for wave_name, wave_constructor in waves:
          logdir = os.path.join(base_logdir, wave_name)
          writer = tf.summary.create_file_writer(logdir)
          with writer.as_default():
              for step in range(FLAGS.steps):
                  run(wave_name, wave_constructor, step)
  
file_path: tensorboard/tensorboard/plugins/audio/audio_demo.py
imports: import inspect
  import math
  import os.path
  from absl import app
  from absl import flags
  import tensorflow
label_desc: Use image node_id 6 for calling a global function with example usage: run_all(base_logdir) without return types