提交 476ca809 authored 作者: Gijs van Tulder's avatar Gijs van Tulder

Remove outdated example for unravel_index.

上级 33a72bb9
...@@ -1230,12 +1230,6 @@ def unravel_index(indices, dims, order='C', ndim=None): ...@@ -1230,12 +1230,6 @@ def unravel_index(indices, dims, order='C', ndim=None):
additional ``ndim`` parameter. This parameter is required if additional ``ndim`` parameter. This parameter is required if
the length of ``dims`` cannot be determined automatically. the length of ``dims`` cannot be determined automatically.
For example:
>>> x = T.matrix()
>>> idx = T.ivector()
>>> unraveled_idx = T.unravel_index(idx, x.shape, ndim=x.ndim)
Parameters Parameters
---------- ----------
indices : Theano or NumPy array indices : Theano or NumPy array
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论