mindspore.ops.t
===============

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.3.1/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindspore/blob/r2.3.1/docs/api/api_python/ops/mindspore.ops.func_t.rst
    :alt: 查看源文件


.. py:function:: mindspore.ops.t(input)

    转置二维Tensor。一维Tensor按原样返回。

    参数:
        - **input** (Tensor) - 输入Tensor。

    返回:
        Tensor,`input` 的转置。