提交 244ba8b8 authored 作者: Hengjean's avatar Hengjean

Fixed syntax error in ptp test

上级 e916e90e
......@@ -6794,7 +6794,7 @@ class test_ptp(unittest.TestCase):
p = ptp(x, 0)
f = theano.function([x], p)
y = rand_ranged(-1000, 1000, {100})
y = rand_ranged(-1000, 1000, [100])
result = f(y)
maxLessMin = [numpy.amax(y) - numpy.amin(y)]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论