(audio,
                n_fft=512,
                hop_length=None,
                mask=True,
                log_mag=True,
                re_im=False,
                dphase=True,
                mag_only=False)
return tf.py_func(batch_specgram, [
      audio, n_fft, hop_length, mask, log_mag, re_im, dphase, mag_only
  ], tf.float32)
Specgram tensorflow op (uses pyfunc).
Specgram tensorflow op (uses pyfunc).
Specgram tensorflow op ( uses pyfunc ) .
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)
def tf_specgram ( audio , n_fft = 512 , hop_length = None , mask = True , log_mag = True , re_im = False , dphase = True , mag_only = False ) : return tf . py_func ( batch_specgram , [ audio , n_fft , hop_length , mask , log_mag , re_im , dphase , mag_only ] , tf . float32 )