mindspore.mint.cummin ====================== .. 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/mint/mindspore.mint.func_cummin.rst :alt: 查看源文件 .. py:function:: mindspore.mint.cummin(input, dim) 返回tensor在指定维度上的累积最小值及其索引。 .. math:: \begin{array}{ll} \\ y_{i} = \min(x_{1}, x_{2}, ... , x_{i}) \end{array} .. note:: Ascend不支持GE后端。 参数: - **input** (Tensor) - 输入tensor。 - **dim** (int) - 指定计算的维度。 返回: 两个tensor组成的tuple(min, min_indices)