runn.keras.layers.gather
Gather(indices, axis=1, **kwargs)
#
Bases: Layer
Custom layer to gather the elements of a tensor based on an index tensor.
PARAMETER | DESCRIPTION |
---|---|
indices |
A tensor with the indices of the elements to gather.
TYPE:
|
axis |
The axis along which to gather the elements. Default: 1.
TYPE:
|