Skip to content

__len__ for torch tensors #270

@glample

Description

@glample

Similarly to numpy, could we had an attribute to tensors / variables so that len(x) returns the size of the first dimension of x?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions