提交 8e607821 authored 作者: Saizheng Zhang's avatar Saizheng Zhang

typo

上级 bcd7f141
......@@ -4772,7 +4772,7 @@ def tile(x, reps, ndim=None):
if len(reps) < ndim:
reps = [1]*(ndim-len(reps)) + reps
shape = [1]*(ndim-x.ndim) - [x.shape[i] for i in xrange(x.ndim)]
shape = [1]*(ndim-x.ndim) + [x.shape[i] for i in xrange(x.ndim)]
alloc_shape = reps + shape
y = alloc(x, *alloc_shape)
shuffle_ind = numpy.arange(ndim * 2).reshape(2, ndim)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论