GatherElements

Description

Obtains the element at the index position to generate the output.

Input

Two inputs:

input: input tensor of rank greater than 1. Must be one of the following types: float16, float, or int32.

indices: tensor of type int32 or int64.

Output

One output:

output: tensor with the same shape as indices.

Attribute

axis: int. Defaults to 0.

ONNX Opset Support

Opset v11/v12/v13/v14/v15/v16/v17/v18