提交 faceb722 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #2960 from 317070/patch-3

Upate test_nnet.py with language fixes
...@@ -27,7 +27,7 @@ def test_GpuCrossentropySoftmaxArgmax1HotWithBias(): ...@@ -27,7 +27,7 @@ def test_GpuCrossentropySoftmaxArgmax1HotWithBias():
""" """
This is basic test for GpuCrossentropySoftmaxArgmax1HotWithBias This is basic test for GpuCrossentropySoftmaxArgmax1HotWithBias
We check that we loop when their is too much threads We check that we loop when there are too many threads
""" """
...@@ -101,7 +101,7 @@ def test_GpuCrossentropySoftmax1HotWithBiasDx(): ...@@ -101,7 +101,7 @@ def test_GpuCrossentropySoftmax1HotWithBiasDx():
""" """
This is basic test for GpuCrossentropySoftmax1HotWithBiasDx This is basic test for GpuCrossentropySoftmax1HotWithBiasDx
We check that we loop when their is too much threads We check that we loop when there are too many threads
""" """
n_in = 1000 n_in = 1000
...@@ -171,7 +171,7 @@ def test_softmax_with_bias(): ...@@ -171,7 +171,7 @@ def test_softmax_with_bias():
We check that we loop when their is too much block We check that we loop when their is too much block
TODO: check that we loop when their is too much thread.(THIS IS TODO: check that we loop when there are too many threads.(THIS IS
NOT IMPLEMENTED) NOT IMPLEMENTED)
""" """
x = T.fmatrix('x') x = T.fmatrix('x')
...@@ -225,7 +225,7 @@ class test_SoftMax(unittest.TestCase): ...@@ -225,7 +225,7 @@ class test_SoftMax(unittest.TestCase):
""" """
This is basic test for GpuSoftmax and GpuDnnSoftmax This is basic test for GpuSoftmax and GpuDnnSoftmax
We check that we loop when their is too much block We check that we loop when there is too much block
We use slower code when there isn't enough shared memory We use slower code when there isn't enough shared memory
""" """
f_z_out = f_z(x) f_z_out = f_z(x)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论