indexing

torch.indexing
object indexing

Attributes

Source
indexing.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
indexing.type

Members list

Type members

Classlikes

sealed class Ellipsis

Ellipsis or ... in Python syntax.

Ellipsis or ... in Python syntax.

Attributes

Companion
object
Source
indexing.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ellipsis.type
case object Ellipsis extends Ellipsis

Ellipsis or ... in Python syntax.

Ellipsis or ... in Python syntax.

Attributes

Companion
class
Source
indexing.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Ellipsis
class Object
trait Matchable
class Any
Show all
Self type
Ellipsis.type
case class Slice(start: Option[Int], end: Option[Int], step: Option[Int])

Attributes

Companion
object
Source
indexing.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Slice

Attributes

Companion
class
Source
indexing.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Slice.type

Value members

Concrete fields

val ---: Ellipsis.type

Ellipsis or ... in Python syntax.

Ellipsis or ... in Python syntax.

Attributes

Source
indexing.scala
val ::: Slice

Range (colon / :) in python syntax.

Range (colon / :) in python syntax.

Attributes

Source
indexing.scala

Extensions

Extensions

extension (start: Int | Option[Int])
def ::(step: Int | Option[Int]): Slice

Allow for

Allow for

t(1.::)

and

t(1.::(2)

Attributes

Source
indexing.scala
def ::: Slice

Allow for

Allow for

t(1.::)

and

t(1.::(2)

Attributes

Source
indexing.scala