提交 7fba519d authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fix pre-existing typo

上级 7bc503ac
...@@ -379,7 +379,7 @@ PyArray_SetBaseObject(%(res)s, (PyObject*)%(basename)s); ...@@ -379,7 +379,7 @@ PyArray_SetBaseObject(%(res)s, (PyObject*)%(basename)s);
if v != 'x': if v != 'x':
grad_order[v] = i grad_order[v] = i
# Do not make the DimShuffle inplace as an optimization at the # Do not make the DimShuffle inplace as an optimization at the
# canonicalization optimization phase will remove the implace. # canonicalization optimization phase will remove the inplace.
# The inplace will be reintroduced automatically later in the graph. # The inplace will be reintroduced automatically later in the graph.
return [DimShuffle(gz.type.broadcastable, grad_order)( return [DimShuffle(gz.type.broadcastable, grad_order)(
Elemwise(scalar.identity)(gz))] Elemwise(scalar.identity)(gz))]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论