Class Gather

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Gather : public mindspore::ops::BaseOperator

Returns a slice of the input tensor based on the specified indices and axis. Refer to Python API mindspore.ops.Gather for more details.

Public Functions

inline Gather()

Constructor.

inline void Init() const

Init. Refer to the parameters of Python API mindspore.ops.Gather for the inputs.