code: def tf_specgram(
      audio,
      n_fft=512,
      hop_length=None,
      mask=True,
      log_mag=True,
      re_im=False,
      dphase=True,
      mag_only=False,
  ):
      """Specgram tensorflow op (uses pyfunc)."""
      return tf.py_func(
          batch_specgram,
          [
              audio,
              n_fft,
              hop_length,
              mask,
              log_mag,
              re_im,
              dphase,
              mag_only,
          ],
          tf.float32,
      )
  
imports: import importlib
  import os
  import librosa
  import numpy
  import tensorflow.compat.v1
  import tf_slim
label_desc: Use image node_id 15 for calling a global function with example usage: tf_specgram(audio, n_fft, hop_length, mask, log_mag, re_im, dphase, mag_only) and returns: tf