Terry Heo
9b87db80e0
tflite: Prevent from reallocation of persistent tensors
...
After ResetAllocationsAfter() is called, CalculateAllocations() could be called
again for nodes which have persistent temporary tensors. The logic should
prevent from reallocation of these tensors since they're not going to be
initialized again.
This issue could be reproduced easily with hybrid quantized models since some
hybrid kernels are using persistent temporary tensors.
This PR resolves GitHub issue #44520 .
PiperOrigin-RevId: 345569003
Change-Id: I1b9777b33a664ebd0f09df8d3236c7ece0118b1a
2020-12-04 11:51:44 +09:00
..
2020-10-19 19:04:06 -07:00
2020-10-20 22:58:14 -07:00
2020-11-23 15:41:54 -08:00
2020-11-24 09:32:21 +09:00
2020-11-28 15:52:59 +09:00
2020-10-21 19:15:06 -07:00
2020-10-13 11:09:08 -07:00
2020-10-20 09:36:06 -07:00
2020-06-21 21:15:25 -07:00
2020-10-21 17:54:34 -07:00
2020-10-08 16:26:53 -07:00
2020-09-18 13:53:51 -07:00
2020-11-06 13:01:02 +00:00
2020-10-19 19:04:06 -07:00
2020-10-16 10:26:16 -07:00
2020-10-20 14:11:08 -07:00
2020-10-20 19:30:01 -07:00
2020-11-24 11:08:14 +09:00
2020-09-30 16:03:47 -07:00
2020-02-14 15:24:19 -08:00
2020-07-17 10:45:33 -07:00
2020-12-04 11:51:44 +09:00
2020-12-04 11:51:44 +09:00
2020-07-09 12:53:38 -07:00
2020-10-14 21:11:06 -07:00
2020-11-23 15:41:54 -08:00
2018-10-31 14:20:28 -07:00
2020-10-19 19:04:06 -07:00
2020-11-24 11:40:16 +09:00
2019-11-25 21:49:25 -08:00
2019-11-25 21:49:25 -08:00
2018-10-31 14:20:28 -07:00
2019-07-22 19:34:07 -07:00
2020-06-04 17:10:17 -07:00
2020-09-11 11:28:05 -07:00
2020-09-11 11:28:05 -07:00
2020-09-11 11:28:05 -07:00
2020-10-30 22:21:30 +09:00
2020-09-17 19:14:22 -07:00
2020-10-19 00:35:55 -07:00
2020-09-17 19:14:22 -07:00
2020-10-19 00:35:55 -07:00
2020-01-27 18:01:53 -08:00
2019-04-01 15:43:18 -07:00
2019-04-03 14:47:43 -07:00
2019-04-01 15:43:18 -07:00
2019-08-15 17:49:46 -07:00
2019-04-03 14:47:43 -07:00
2019-08-15 17:49:46 -07:00
2019-07-02 17:43:32 -07:00
2019-07-02 17:43:32 -07:00
2020-08-31 16:19:06 -07:00
2020-10-08 10:22:02 -07:00
2018-10-31 14:20:28 -07:00
2020-09-18 14:34:47 -07:00
2020-08-18 23:22:25 -07:00
2020-09-17 19:14:22 -07:00
2020-03-16 17:22:39 -07:00
2020-03-16 17:22:39 -07:00
2020-07-17 10:45:33 -07:00
2018-10-31 14:20:28 -07:00
2020-08-07 14:46:40 -07:00
2020-07-17 10:45:33 -07:00
2020-08-14 16:57:26 -07:00
2018-10-31 14:20:28 -07:00
2020-09-07 17:41:52 +09:00
2020-05-20 13:28:42 -07:00
2020-05-20 13:28:42 -07:00
2020-03-26 01:07:03 -07:00
2020-10-30 22:21:30 +09:00
2020-10-05 14:59:44 -07:00
2020-10-14 10:33:42 -07:00
2019-04-01 15:43:18 -07:00
2019-11-25 21:49:25 -08:00
2019-09-05 13:53:45 -07:00
2020-07-27 16:15:52 -07:00
2020-07-27 16:15:52 -07:00
2020-08-21 10:31:36 -07:00
2019-02-04 17:25:07 -08:00
2019-02-04 17:25:07 -08:00
2020-05-17 21:10:25 -07:00
2020-05-17 21:10:25 -07:00
2020-04-01 01:48:15 -07:00
2020-07-17 12:59:35 -07:00
2020-08-14 16:57:26 -07:00
2020-03-13 23:28:48 -07:00
2020-07-13 18:19:24 -07:00
2020-07-09 12:53:38 -07:00
2019-03-18 12:35:50 -07:00