tensorflow::ops::GatherNd

tensorflow::ops::GatherNd

#include <array_ops.h>

Gather values or slices from params according to indices.

Summary

indices is an integer tensor containing indices into params. The last dimension of indices can be at most the rank of params:

indices.shape[-1] <= params.rank

The last dimension of indices corresponds to elements (if indices.shape[-1] = params.rank) or slices (if indices.shape[-1] < params.rank) along dimension indices.shape[-1] of params. The output tensor has shape

indices.shape[:-1] + params.shape[indices.shape[-1]:]

Some examples bel