code: def sine_wave(frequency):
      """Emit a sine wave at the given frequency."""
      xs = tf.reshape(
          tf.range(_samples(), dtype=tf.float32), [1, _samples(), 1]
      )
      ts = xs / FLAGS.sample_rate
      return tf.sin(2 * math.pi * frequency * ts)
  
file_path: guildai/examples/tensorboard/audio.py
imports: import inspect
  import math
  import os.path
  from absl import app
  from absl import flags
  import tensorflow
  from tensorboard.plugins.audio import summary
label_desc: Use image node_id 3 for calling a global function with example usage: sine_wave(frequency) and returns: tf