mindspore.ops.t =============== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/ops/mindspore.ops.func_t.rst :alt: 查看源文件 .. py:function:: mindspore.ops.t(input) 转置二维tensor,维度小于二的tensor按原样返回。 参数: - **input** (Tensor) - 输入tensor。 返回: Tensor