mindspore.ops.atleast_3d ========================= .. 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_atleast_3d.rst :alt: 查看源文件 .. py:function:: mindspore.ops.atleast_3d(inputs) 当输入中的tensor小于三维时,返回它的三维tensor。其他维度的tensor,直接返回原tensor。 参数: - **inputs** (Union[Tensor, list[Tensor]]) - 输入tensor或tensor列表。 返回: tensor或tensor列表。