mindspore/docs/api/api_python/ops/mindspore.ops.Gather.rst

15 lines
417 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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`