Commit 88b03d8
authored
Improve aten_floor_divide for int inputs (#2592)
Fix aten_floor_divide for negative int inputs and large int inputs. I
also combined the int and float overloads for
#2580
Fix #2589
---------
Signed-off-by: Justin Chu <[email protected]>1 parent 09bbd27 commit 88b03d8
File tree
3 files changed
+17
-23
lines changed- onnxscript/function_libs/torch_lib/ops
- tests/function_libs/torch_lib
3 files changed
+17
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3688 | 3688 | | |
3689 | 3689 | | |
3690 | 3690 | | |
3691 | | - | |
| 3691 | + | |
3692 | 3692 | | |
3693 | 3693 | | |
3694 | | - | |
| 3694 | + | |
| 3695 | + | |
3695 | 3696 | | |
| 3697 | + | |
3696 | 3698 | | |
3697 | | - | |
3698 | | - | |
3699 | | - | |
| 3699 | + | |
| 3700 | + | |
3700 | 3701 | | |
3701 | | - | |
3702 | | - | |
3703 | | - | |
3704 | | - | |
3705 | | - | |
3706 | | - | |
3707 | | - | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
3708 | 3712 | | |
3709 | 3713 | | |
3710 | 3714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2270 | 2270 | | |
2271 | 2271 | | |
2272 | 2272 | | |
2273 | | - | |
| 2273 | + | |
2274 | 2274 | | |
2275 | 2275 | | |
2276 | | - | |
2277 | | - | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
2285 | 2276 | | |
2286 | 2277 | | |
2287 | 2278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
798 | 797 | | |
799 | 798 | | |
800 | 799 | | |
| |||
0 commit comments