mindspore/docs/api/api_python/ops/mindspore.ops.func_fliplr.rst

16 lines
333 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.ops.fliplr
=====================
.. py:function:: mindspore.ops.fliplr(x)
将输入Tensor中每一行的元素沿左右进行翻转但保持矩阵的列不变。
参数:
- **x** (Tensor) - 输入tensor。
返回:
Tensor。
异常:
- **TypeError** - `x` 不是Tensor。