mindspore.Tensor.ndimension
===========================

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


.. py:method:: mindspore.Tensor.ndimension()

    :attr:`mindspore.Tensor.ndim` 的别名。