Commit 7590515
authored
[MLIR][TORCH] Add dtype arg support for torch.cumsum op (#4155)
This commit adds the support for dtype argument of torch.cumsum op which
specifies the desired data type of returned tensor.
Fixes #3866.
---------
Signed-off-by: Vivek Khandelwal <[email protected]>1 parent 9e91403 commit 7590515
File tree
3 files changed
+50
-13
lines changed- lib/Conversion/TorchToTMTensor
- projects/pt1
- e2e_testing
- python/torch_mlir_e2e_test/test_suite
3 files changed
+50
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
1637 | | - | |
1638 | | - | |
| 1637 | + | |
| 1638 | + | |
1639 | 1639 | | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
1645 | 1666 | | |
1646 | 1667 | | |
1647 | 1668 | | |
| |||
1650 | 1671 | | |
1651 | 1672 | | |
1652 | 1673 | | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
| 1674 | + | |
1659 | 1675 | | |
1660 | 1676 | | |
1661 | 1677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3579 | 3579 | | |
3580 | 3580 | | |
3581 | 3581 | | |
| 3582 | + | |
3582 | 3583 | | |
3583 | 3584 | | |
3584 | 3585 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5025 | 5025 | | |
5026 | 5026 | | |
5027 | 5027 | | |
| 5028 | + | |
| 5029 | + | |
| 5030 | + | |
| 5031 | + | |
| 5032 | + | |
| 5033 | + | |
| 5034 | + | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
| 5040 | + | |
| 5041 | + | |
| 5042 | + | |
| 5043 | + | |
| 5044 | + | |
| 5045 | + | |
| 5046 | + | |
| 5047 | + | |
5028 | 5048 | | |
5029 | 5049 | | |
5030 | 5050 | | |
| |||
0 commit comments