# `ExTorch.Index.Slice`

Slice index definition.

# `t`

```elixir
@type t() :: %ExTorch.Index.Slice{
  mask: integer(),
  start: integer(),
  step: integer(),
  stop: integer()
}
```

An ``ExTorch.Index.Slice`` is a struct that represents an indexing slice
with a start, stop and a number of steps between values.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
