(samples,
                 sr=8000,
                 nfft=512,
                 winlen=0.025,
                 winstep=0.010,
                 lowfreq=0,
                 highfreq=None,
                 preemph=0.97)
return feat
params:
    samples: [nsample, channels]
  returns:
    powspec: power spectrogram, shape [channels, nframe, nfft / 2 + 1]
params:
    samples: [nsample, channels]
  returns:
    powspec: power spectrogram, shape [channels, nframe, nfft / 2 + 1]
params : samples : [ nsample channels ] returns : powspec : power spectrogram shape [ channels nframe nfft / 2 + 1 ]
def powspec_feat(samples,
                 sr=8000,
                 nfft=512,
                 winlen=0.025,
                 winstep=0.010,
                 lowfreq=0,
                 highfreq=None,
                 preemph=0.97):
  '''
  params:
    samples: [nsample, channels]
  returns:
    powspec: power spectrogram, shape [channels, nframe, nfft / 2 + 1] '''
  del nfft
  del lowfreq
  del highfreq
  del preemph

  #pylint: disable=no-member
  feat = audio_ops.audio_spectrogram(
      samples,
      window_size=winlen * sr,
      stride=winstep * sr,
      magnitude_squared=True)
  return feat
def powspec_feat ( samples , sr = 8000 , nfft = 512 , winlen = 0.025 , winstep = 0.010 , lowfreq = 0 , highfreq = None , preemph = 0.97 ) : del nfft del lowfreq del highfreq del preemph #pylint: disable=no-member feat = audio_ops . audio_spectrogram ( samples , window_size = winlen * sr , stride = winstep * sr , magnitude_squared = True ) return feat