Skip to content

[torchlib] Filter out (0,) shaped tensors in aten_concat #2660

@justinchuby

Description

@justinchuby

According to PyTorch doc: All tensors must either have the same shape (except in the concatenating dimension) or be a 1-D empty tensor with size (0,). We can simply filter out the values with size (0,) when converting.

cc @titaiwangms

Metadata

Metadata

Assignees

Labels

contribution welcomeWe welcome code contributions for thisgood first issueGood for newcomersmodule: torchlibRelated to the torch/aten function lib in development

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions