Commit 0fbd6d4
authored
Qualcomm AI Engine Direct - fix LPBQ implementation (pytorch#12663)
### Summary
- fix LPBQ and make test case more general
### Test plan
```python
python backends/qualcomm/tests/test_qnn_delegate.py TestQNNQuantizedOperator.test_qnn_backend_conv2d_block -b build-android -s $DEVICE -m SM8750
```1 parent 8e84eb3 commit 0fbd6d4
File tree
3 files changed
+10
-39
lines changed- backends/qualcomm
- builders
- quantizer/observers
- tests
3 files changed
+10
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
| 166 | + | |
| 167 | + | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
Lines changed: 4 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
41 | 39 | | |
42 | 40 | | |
43 | | - | |
| 41 | + | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
1524 | | - | |
1525 | | - | |
1526 | | - | |
1527 | 1524 | | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | | - | |
1538 | 1525 | | |
1539 | 1526 | | |
1540 | 1527 | | |
| |||
1551 | 1538 | | |
1552 | 1539 | | |
1553 | 1540 | | |
1554 | | - | |
1555 | | - | |
1556 | 1541 | | |
1557 | | - | |
| 1542 | + | |
1558 | 1543 | | |
1559 | 1544 | | |
1560 | 1545 | | |
1561 | 1546 | | |
1562 | | - | |
| 1547 | + | |
1563 | 1548 | | |
1564 | 1549 | | |
1565 | 1550 | | |
1566 | 1551 | | |
1567 | | - | |
| 1552 | + | |
1568 | 1553 | | |
1569 | 1554 | | |
1570 | 1555 | | |
| |||
0 commit comments