Commit b15beb9
authored
unchecked pointer fix (#3058)
@tensorflow/micro
Handle the failure to allocate temporary memory for a TfLiteTensor in a more graceful way. This allows most kernels in the Prepare phase to not crash due to a DCHECK on memory allocation failure.
bug=fixes #30571 parent 39209b4 commit b15beb9
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
874 | 879 | | |
875 | 880 | | |
876 | 881 | | |
| |||
0 commit comments