7 #include "ngraph/op/util/gather_base.hpp"
19 NGRAPH_RTTI_DECLARATION;
20 static const int64_t AXIS_NOT_SET_VALUE = std::numeric_limits<int64_t>::max();
30 int64_t get_axis()
const override;
33 clone_with_new_inputs(
const OutputVector& new_args)
const override;
43 NGRAPH_RTTI_DECLARATION;
54 const int64_t batch_dims = 0);
58 int64_t get_batch_dims()
const;
61 clone_with_new_inputs(
const OutputVector& new_args)
const override;
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:59
A handle for one of a node's outputs.
Definition: node_output.hpp:33
GatherBase basic class for Gather v1 and v7.
Definition: gather_base.hpp:17
Gather slices from axis of params according to indices.
Definition: gather.hpp:17
Gather(const Output< Node > ¶ms, const Output< Node > &indices, const Output< Node > &axis)
Gather slices from axis of params according to indices.
Definition: gather.hpp:41
Gather(const Output< Node > &data, const Output< Node > &indices, const Output< Node > &axis, const int64_t batch_dims=0)
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16