Fix declaration of assert_allclose function CTC test

上级 0d8f09e6
...@@ -39,7 +39,7 @@ class TestCTC(unittest.TestCase): ...@@ -39,7 +39,7 @@ class TestCTC(unittest.TestCase):
cost, grad = train() cost, grad = train()
cost, = test() cost, = test()
utt.assert_allcose(grad, softmax(activations)) utt.assert_allclose(grad, softmax(activations))
# Test obtained from Torch tutorial at: # Test obtained from Torch tutorial at:
# https://github.com/baidu-research/warp-ctc/blob/master/torch_binding/TUTORIAL.md # https://github.com/baidu-research/warp-ctc/blob/master/torch_binding/TUTORIAL.md
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论