提交 ef9095f9 authored 作者: notoraptor's avatar notoraptor

Fix typos in test_dnn.

上级 a774bb54
...@@ -1215,7 +1215,7 @@ def test_conv3d_fwd(): ...@@ -1215,7 +1215,7 @@ def test_conv3d_fwd():
f = theano.function([], conv, mode=mode_with_gpu) f = theano.function([], conv, mode=mode_with_gpu)
# If conv_mode is 'conv' the reference implementation should use # If conv_mode is 'conv' the reference implementation should use
# filters filpped according to the width, height and time axis # filters flipped according to the width, height and time axis
if conv_mode == 'conv': if conv_mode == 'conv':
flipped_filters = filters[:, :, ::-1, ::-1, ::-1] flipped_filters = filters[:, :, ::-1, ::-1, ::-1]
else: else:
...@@ -1271,7 +1271,7 @@ def test_conv3d_bwd(): ...@@ -1271,7 +1271,7 @@ def test_conv3d_bwd():
f = theano.function([], [grad_i, grad_w], mode=mode_with_gpu) f = theano.function([], [grad_i, grad_w], mode=mode_with_gpu)
# If conv_mode is 'conv' the reference implementation should use # If conv_mode is 'conv' the reference implementation should use
# filters filpped according to the width, height and time axis # filters flipped according to the width, height and time axis
if conv_mode == 'conv': if conv_mode == 'conv':
flipped_filters = filters[:, :, ::-1, ::-1, ::-1] flipped_filters = filters[:, :, ::-1, ::-1, ::-1]
else: else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论