提交 5dc0e713 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor comment typo fixes

上级 23070143
......@@ -978,10 +978,11 @@ SecondSameRankTester = makeTester(
def test_eye():
def check(dtype, N, M_=None, k=0):
# Theano don't accept None as a tendor
# Theano does not accept None as a tensor.
# So we must use a real value.
M = M_
# Currently DebugMode don't support None as inputs event if this is allowed.
# Currently DebugMode does not support None as inputs even if this is
# allowed.
if M is None and theano.config.mode in ['DebugMode', 'DEBUG_MODE']:
M = N
N_symb = tensor.iscalar()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论