Commit 9d415ba
Add roi_align_box_processor DSP op
Summary:
Add the necessary infra code to get the roi_align_box_processor DSP op implemented. This op is responsible for converting the roi_align box coordinates from {x1, y1, x2, y2} format to the 80 bytes encoded Turing format (described here: https://docs.google.com/document/d/1IwPvQeRq34rXg-v2qDYO_91PTZPUg1pO4ZaNN1GcjDQ/edit?fbclid=IwY2xjawLCeilleHRuA2FlbQIxMQABHkwVHvvUSalyry20nNFMMU7KbvpExm6i92gPvV_jO1gNI71Zn8WNTp2Rn7kf_aem_nbrzf940O3zNRhet8DJvHg&tab=t.0#heading=h.iiq3n6kursay).
This new op will run on the DSP and will execute as a predecessor of the turing::roi_align op which will now work with the Turing native box coordinates.
Reviewed By: mcremon-meta, zonglinpeng, bingcy
Differential Revision: D781974301 parent 8f062d3 commit 9d415ba
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| |||
1038 | 1046 | | |
1039 | 1047 | | |
1040 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
0 commit comments