提交 cc45e0ac authored 作者: Jeremiah Lowin's avatar Jeremiah Lowin

fix typo in docstring

上级 eefac0b4
...@@ -3215,7 +3215,7 @@ class Nonzero(gof.Op): ...@@ -3215,7 +3215,7 @@ class Nonzero(gof.Op):
See Also See Also
-------- --------
nonzero_vaulues : Return the non-zero elements of the input array nonzero_values : Return the non-zero elements of the input array
flatnonzero : Return the indices of the non-zero elements of the flatnonzero : Return the indices of the non-zero elements of the
flattened input array. flattened input array.
...@@ -3266,7 +3266,7 @@ def nonzero(a, return_matrix=False): ...@@ -3266,7 +3266,7 @@ def nonzero(a, return_matrix=False):
See Also See Also
-------- --------
nonzero_vaulues : Return the non-zero elements of the input array nonzero_values : Return the non-zero elements of the input array
flatnonzero : Return the indices of the non-zero elements of the flatnonzero : Return the indices of the non-zero elements of the
flattened input array. flattened input array.
...@@ -3298,7 +3298,7 @@ def flatnonzero(a): ...@@ -3298,7 +3298,7 @@ def flatnonzero(a):
See Also See Also
-------- --------
nonzero : Return the indices of the non-zero elements of the input array. nonzero : Return the indices of the non-zero elements of the input array.
nonzero_vaulues : Return the non-zero elements of the input array nonzero_values : Return the non-zero elements of the input array
""" """
return nonzero(a.flatten(), return_matrix=True)[0] return nonzero(a.flatten(), return_matrix=True)[0]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论