mindspore.Tensor.reshape_as ============================ .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/master/docs/api/api_python/mindspore/Tensor/mindspore.Tensor.reshape_as.rst :alt: 查看源文件 .. py:method:: mindspore.Tensor.reshape_as(other) 不改变数据的情况下,将Tensor的shape改为 `other` 的shape。 参数: - **other** (Tensor) - 计算结果的shape与 `other` 的shape一致。 返回: Tensor,与 `other` 的shape一致。