Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[torch] Add edgecase for aten.shape_to_tensor for rank-0 input (llvm#…
…2962) Currently lowering uses `tensor.from_elements` which does not allow zero inputs. In this case we return a `tensor.empty` operation.
- Loading branch information