mindspore.Tensor.expand
=======================

.. 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.expand.rst
    :alt: 查看源文件


.. py:method:: mindspore.Tensor.expand(size)

    详情请参考 :func:`mindspore.ops.broadcast_to`,当前接口的参数 `size` 和参考接口中的参数 `shape` 实际为同一参数。