mindspore.ops.Gather
======================

.. py:class:: mindspore.ops.Gather()

    返回输入Tensor在指定 `axis` 上 `input_indices` 索引对应的元素组成的切片。

    下图展示了Gather常用的计算过程:

    .. image:: Gather.png

    其中,params代表输入 `input_params` ,indices代表要切片的索引 `input_indices` 。

    更多参考详见 :func:`mindspore.ops.gather`。