Commit d99c31b
authored
Add warning for deprecated to_edge() flow with CoreML
This commit adds a warning message in the CoreML partitioner's partition() method to alert users when they use the older to_edge() flow instead of the recommended to_edge_transform_and_lower() flow.
The warning informs users that:
- Using the old flow may result in performance regression
- The recommended approach is to use to_edge_transform_and_lower() with CoreML partitioner
- Provides a link to the CoreML backend documentation for more details
Fixes #159601 parent d13c789 commit d99c31b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | 235 | | |
231 | 236 | | |
| |||
0 commit comments