code: def compute_mel(
      audio,
      lo_hz=0.0,
      hi_hz=8000.0,
      bins=64,
      fft_size=2048,
      overlap=0.75,
      pad_end=True,
      sample_rate=16000,
  ):
      """Calculate Mel Spectrogram."""
      mag = compute_mag(audio, fft_size, overlap, pad_end)
      num_spectrogram_bins = int(mag.shape[-1])
      linear_to_mel_matrix = tf.signal.linear_to_mel_weight_matrix(
          bins, num_spectrogram_bins, sample_rate, lo_hz, hi_hz
      )
      mel = tf.tensordot(mag, linear_to_mel_matrix, 1)
      mel.set_shape(
          mag.shape[:-1].concatenate(linear_to_mel_matrix.shape[-1:])
      )
      return mel
  
imports: import crepe
  from ddsp import core
  from ddsp.core import safe_log
  from ddsp.core import tf_float32
  import gin
  import librosa
  import numpy
  import tensorflow.compat.v2
  import tensorflow_probability
label_desc: Use image node_id 4 for calling a global function with example usage: compute_mel(audio, lo_hz, hi_hz, bins, fft_size, overlap, pad_end, sample_rate) and returns: mel