提交 1b11ce9a authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fix: "more then" -> "more than"

上级 530f8fb1
...@@ -199,7 +199,7 @@ import theano and print the config variable, as in: ...@@ -199,7 +199,7 @@ import theano and print the config variable, as in:
Bool value: either True or False Bool value: either True or False
Default: True if the environment variable OMP_NUM_THREADS!=1 or Default: True if the environment variable OMP_NUM_THREADS!=1 or
if we detect more then 1 CPU core. Otherwise False. if we detect more than 1 CPU core. Otherwise False.
Enable or not parallel computation on the CPU with OpenMP. Enable or not parallel computation on the CPU with OpenMP.
It is the default value used when creating an Op that support it. It is the default value used when creating an Op that support it.
......
...@@ -2304,7 +2304,7 @@ class GpuAdvancedSubtensor1(tensor.AdvancedSubtensor1, GpuOp): ...@@ -2304,7 +2304,7 @@ class GpuAdvancedSubtensor1(tensor.AdvancedSubtensor1, GpuOp):
x, idx = inp x, idx = inp
out, = out_ out, = out_
x_orig = x x_orig = x
#TODO: if more then 3 dims, reshape the inputs even if not all #TODO: if more than 3 dims, reshape the inputs even if not all
#dimensions are c contiguous #dimensions are c contiguous
if x.ndim > 3 and x.is_c_contiguous(): if x.ndim > 3 and x.is_c_contiguous():
x = x.reshape((x.shape[0], numpy.prod(x.shape[1:]))) x = x.reshape((x.shape[0], numpy.prod(x.shape[1:])))
......
...@@ -395,7 +395,7 @@ def get_valid_shapes(): ...@@ -395,7 +395,7 @@ def get_valid_shapes():
, ((20, 16, 32, 32), (1, 16, 28, 28), (1, 1), (1, 1), (1, 1)) # layer 1 backprop to weights , ((20, 16, 32, 32), (1, 16, 28, 28), (1, 1), (1, 1), (1, 1)) # layer 1 backprop to weights
, ((60,20,28,28), (10,20,5,5), (1, 1), (2,2), (1, 1))#added a test case that fail from test_nnet.py.test_conv_nnet2 , ((60,20,28,28), (10,20,5,5), (1, 1), (2,2), (1, 1))#added a test case that fail from test_nnet.py.test_conv_nnet2
, ((10,5,28,28), (10,5,5,5), (1, 1), (2,2), (1, 1))#test precedent but reduced that triger the error , ((10,5,28,28), (10,5,5,5), (1, 1), (2,2), (1, 1))#test precedent but reduced that triger the error
#Test more then maxThreadsDim0 #Test more than maxThreadsDim0
, ((2,4,13,1050), (3,4,10, 11), (1, 1), (1, 1), (1, 1)) , ((2,4,13,1050), (3,4,10, 11), (1, 1), (1, 1), (1, 1))
, ((2,4,1050,13), (3,4,10, 11), (1, 1), (1, 1), (1, 1)) , ((2,4,1050,13), (3,4,10, 11), (1, 1), (1, 1), (1, 1))
] ]
...@@ -667,7 +667,7 @@ def test_full(): ...@@ -667,7 +667,7 @@ def test_full():
, ((10,30,23,23),(20,30,7,7), (1, 1), (1, 1), (1, 1))#test_lenet_64 full , ((10,30,23,23),(20,30,7,7), (1, 1), (1, 1), (1, 1))#test_lenet_64 full
# , ((20,10,29,29),(30,10,23,23), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 1 # , ((20,10,29,29),(30,10,23,23), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 1
# , ((1,10,64,64),(20,10,58,58), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 2 # , ((1,10,64,64),(20,10,58,58), (1, 1), (1, 1), (1, 1))#test_lenet_64 bprop 2
#Test more then maxThreadsDim0 #Test more than maxThreadsDim0
, ((2,4,13,1050), (3,4,10, 11), (1, 1), (1, 1), (1, 1)) , ((2,4,13,1050), (3,4,10, 11), (1, 1), (1, 1), (1, 1))
, ((2,4,1050,13), (3,4,10, 11), (1, 1), (1, 1), (1, 1)) , ((2,4,1050,13), (3,4,10, 11), (1, 1), (1, 1), (1, 1))
] ]
......
...@@ -491,7 +491,7 @@ def fill_diagonal(a, val): ...@@ -491,7 +491,7 @@ def fill_diagonal(a, val):
2, the main diagonal is the list of locations a[i, i, ..., i] 2, the main diagonal is the list of locations a[i, i, ..., i]
(i.e. with indices all identical).) (i.e. with indices all identical).)
Support rectangular matrix and tensor with more then 2 dimensions Support rectangular matrix and tensor with more than 2 dimensions
if the later have all dimensions are equals. if the later have all dimensions are equals.
.. versionadded:: 0.6 .. versionadded:: 0.6
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论