Example #1
0
 def testHertzToMel(self, freqs):
   mel = spectral_ops.hertz_to_mel(freqs)
   hz = spectral_ops.mel_to_hertz(mel)
   self.assertAllClose(hz, freqs)
Example #2
0
 def testHertzToMel(self, freqs):
   mel = spectral_ops.hertz_to_mel(freqs)
   hz = spectral_ops.mel_to_hertz(mel)
   self.assertAllClose(hz, freqs)