提交 26f2112e authored 作者: Tanjay94's avatar Tanjay94

Fixed small mistake in code.

上级 fc7709fa
...@@ -699,7 +699,7 @@ class TensorConstant(_tensor_py_operators, Constant): ...@@ -699,7 +699,7 @@ class TensorConstant(_tensor_py_operators, Constant):
copy.deepcopy(self.data, memo), copy.deepcopy(self.data, memo),
copy.deepcopy(self.name, memo)) copy.deepcopy(self.name, memo))
def swapaxes(self, axis1, axis2) def swapaxes(self, axis1, axis2):
"""Return 'tensor.swapaxes(self, axis1, axis2) """Return 'tensor.swapaxes(self, axis1, axis2)
If a matrix is provided with the right axes, its transpose will be returned. If a matrix is provided with the right axes, its transpose will be returned.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论