提交 a44a3f8f authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #6466 from nouiz/small

[BUG,DOC] Doc MILA status about Theano and don't review a view.
============================================================================================================
`MILA will stop developing Theano <https://groups.google.com/d/msg/theano-users/7Poq8BZutbY/rNCIfvAEAwAJ>`_.
============================================================================================================
To install the package, see this page: To install the package, see this page:
http://deeplearning.net/software/theano/install.html http://deeplearning.net/software/theano/install.html
......
...@@ -21,6 +21,8 @@ learning/machine learning <https://mila.umontreal.ca/en/cours/>`_ classes). ...@@ -21,6 +21,8 @@ learning/machine learning <https://mila.umontreal.ca/en/cours/>`_ classes).
News News
==== ====
* 2017/09/28: IMPORTANT: `MILA will stop developing Theano <https://groups.google.com/d/msg/theano-users/7Poq8BZutbY/rNCIfvAEAwAJ>`_ and the next release (renamed to 1.0) will be the last main release.
* 2017/09/20: Release of Theano 0.10.0beta3, new features and many bugfixes, release candidate to coming. * 2017/09/20: Release of Theano 0.10.0beta3, new features and many bugfixes, release candidate to coming.
* 2017/09/07: Release of Theano 0.10.0beta2, new features and many bugfixes, release candidate to coming. * 2017/09/07: Release of Theano 0.10.0beta2, new features and many bugfixes, release candidate to coming.
......
...@@ -1218,7 +1218,12 @@ class UnravelIndex(gof.Op): ...@@ -1218,7 +1218,12 @@ class UnravelIndex(gof.Op):
res = np.unravel_index(indices, dims) res = np.unravel_index(indices, dims)
assert len(res) == len(out) assert len(res) == len(out)
for i in xrange(len(out)): for i in xrange(len(out)):
out[i][0] = theano._asarray(res[i], node.outputs[0].dtype) ret = theano._asarray(res[i], node.outputs[0].dtype)
if ret.base is not None:
# NumPy will return a view when it can.
# But we don't want that.
ret = ret.copy()
out[i][0] = ret
def unravel_index(indices, dims, order='C', ndim=None): def unravel_index(indices, dims, order='C', ndim=None):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论