提交 7cac0f3b authored 作者: Frederic's avatar Frederic

Fix doc type

上级 1012360c
...@@ -510,7 +510,7 @@ TensorVariable ...@@ -510,7 +510,7 @@ TensorVariable
.. method:: diagonal(offset=0, axis1=0, axis2=1) .. method:: diagonal(offset=0, axis1=0, axis2=1)
.. method:: astype(dtype) .. method:: astype(dtype)
.. method:: take(indices, axis=None, mode='raise') .. method:: take(indices, axis=None, mode='raise')
.. method:: copy() Return an new symbolic variable that copy the variable. Do not copy the tag. .. method:: copy() Return an new symbolic variable that copy the variable. Does not copy the tag.
.. method:: norm(L, axis=None) .. method:: norm(L, axis=None)
.. method:: nonzero(self, return_matrix=False) .. method:: nonzero(self, return_matrix=False)
.. method:: nonzero_values(self) .. method:: nonzero_values(self)
......
...@@ -537,7 +537,7 @@ class _tensor_py_operators(object): ...@@ -537,7 +537,7 @@ class _tensor_py_operators(object):
def copy(self, name=None): def copy(self, name=None):
"""Return a symbolic copy and optionally assign a name. """Return a symbolic copy and optionally assign a name.
Do not copy the tags. Does not copy the tags.
""" """
copied_variable = theano.tensor.basic.tensor_copy(self) copied_variable = theano.tensor.basic.tensor_copy(self)
copied_variable.name = name copied_variable.name = name
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论