Skip to main content

IndexEntry

One subscript entry: an int, a bool mask arm, a Tensor, an IndexSlice, ellipsis() or new_axis().

__init__

__init____init__(self, arg: bool, /) -> None

init(self, arg: bool, /) -> None init(self, arg: int, /) -> None init(self, arg: clika_runtime._core.Tensor, /) -> None init(self, arg: clika_runtime.IndexSlice, /) -> None

ellipsis

ellipsis(*args, **kwargs)

ellipsis() -> clika_runtime.IndexEntry

The ... entry: every dimension not named by the other entries.

new_axis

new_axis(*args, **kwargs)

new_axis() -> clika_runtime.IndexEntry

The None entry: a new axis of length one at this position.