MCPcopy
hub / github.com/ibab/tensorflow-wavenet / testDecodeNegativeDilation

Method testDecodeNegativeDilation

test/test_mu_law.py:263–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

261 self.assertAllEqual(decoded_manual, decode)
262
263 def testDecodeNegativeDilation(self):
264 channels = 10
265 y = [0, 255, 243, 31, 156, 229, 0, 235, 202, 18]
266
267 with self.test_session() as sess:
268 self.assertRaises(TypeError, sess.run(mu_law_decode(y, channels)))
269
270
271if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

mu_law_decodeFunction · 0.90

Tested by

no test coverage detected