ExTorch.Index.Slice (extorch v0.1.0-pre0)

Slice index definition.

Link to this section Summary

Types

t()

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

Link to this section Types

@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.