kd.data.py.Gather#
- class kauldron.data.py.Gather(*, key: typing.Annotated[typing.Any, <object object at 0x7824c478ba80>] | typing.Sequence[typing.Annotated[typing.Any, <object object at 0x7824c478ba80>]] | dict[typing.Annotated[typing.Any, <object object at 0x7824c478ba80>], typing.Annotated[typing.Any, <object object at 0x7824c478ba80>]], axis: int, indices: tuple[int, ...])[source]
Bases:
kauldron.data.transforms.base.ElementWiseTransformGathers entries along a single dimension.
- axis: int
- indices: tuple[int, ...]
- map_element(
- element: kauldron.typing.array_types.XArray,
- key: kontext.Key | Sequence[kontext.Key] | dict[kontext.Key, kontext.Key]