提交 90eb96fe authored 作者: Jeremiah Lowin's avatar Jeremiah Lowin

update docstring to reflect that argsort is imported (and sort is shadowed)

上级 371c7a1e
...@@ -1797,7 +1797,7 @@ class _tensor_py_operators: ...@@ -1797,7 +1797,7 @@ class _tensor_py_operators:
return argmax(self, axis, keepdims=keepdims) return argmax(self, axis, keepdims=keepdims)
def argsort(self, axis=-1, kind='quicksort', order=None): def argsort(self, axis=-1, kind='quicksort', order=None):
"""See `theano.tensor.sort.argsort`""" """See `theano.tensor.argsort`"""
from theano.tensor.sort import argsort from theano.tensor.sort import argsort
return argsort(self, axis, kind, order) return argsort(self, axis, kind, order)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论