Skip to content

array indexing #151

@glample

Description

@glample

Numpy syntax with ellipsis is sometimes useful. Could we add it to torch indexing? It's easy to find a workaround, but the syntax is nice.

a = torch.DoubleTensor(3, 4).normal_()
print(a[..., 2])

Metadata

Metadata

Assignees

Labels

todoNot as important as medium or high priority tasks, but we will work on these.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions