Commit 03fecba
authored
[Bugfix][Frontend][Keras] Add a check to reject the invalid input shape (#15335)
* reject invalid input_shape
* Update test_forward.py
* Update keras.py
* Update keras.py
* Update test_forward.py
* Update test_forward.py
* Update test_forward.py
* Update test_forward.py
* Update keras.py
* Update test_forward.py
* Update test_forward.py
* Update keras.py
* Update test_forward.py1 parent 8e33401 commit 03fecba
File tree
2 files changed
+14
-0
lines changed- python/tvm/relay/frontend
- tests/python/frontend/keras
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1439 | 1445 | | |
1440 | 1446 | | |
1441 | 1447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| 299 | + | |
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
| |||
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
307 | 315 | | |
308 | 316 | | |
309 | 317 | | |
| |||
0 commit comments