提交 5af536f8 authored 作者: Anatoly Belikov's avatar Anatoly Belikov

fix comments

上级 19231cc3
...@@ -122,7 +122,7 @@ class SortOp(theano.Op): ...@@ -122,7 +122,7 @@ class SortOp(theano.Op):
else: else:
index_shape = [1] * a.ndim index_shape = [1] * a.ndim
index_shape[i] = a.shape[i] index_shape[i] = a.shape[i]
# it's a way to emulate numpy.ogrid[0:, a.shape[0], 0:a.shape[1], a.shape[2]] # it's a way to emulate numpy.ogrid[0: a.shape[0], 0: a.shape[1], 0: a.shape[2]]
indices.append(theano.tensor.arange(a.shape[i]).reshape(index_shape)) indices.append(theano.tensor.arange(a.shape[i]).reshape(index_shape))
return indices return indices
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论