ExTorch.Index.Slice (extorch v0.3.0)

Copy Markdown

Slice index definition.

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.

Types

t()

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