Ron Shapiro
aae0fc015b
Support uint32
and uint64
in tf.get_static_value()
from within a tf.function()
...
Attempting to do so without this change raises an exception:
```
File ".../tensorflow/python/ops/check_ops.py", line 672, in assert_equal
data, summarize, message, name)
File ".../tensorflow/python/ops/check_ops.py", line 369, in _binary_assert
x_static = tensor_util.constant_value(x)
File ".../tensorflow/python/framework/tensor_util.py", line 876, in constant_value
ret = _ConstantValue(tensor, partial)
File ".../tensorflow/python/framework/tensor_util.py", line 681, in _ConstantValue
return MakeNdarray(tensor.op.get_attr("value"))
File ".../tensorflow/python/framework/tensor_util.py", line 641, in MakeNdarray
raise TypeError("Unsupported tensor type: %s" % tensor.dtype)
TypeError: Unsupported tensor type: 23
```
PiperOrigin-RevId: 356437863
Change-Id: I51d9adf8727bcf01ac3a862a608fa93e2cb6a88d
2021-02-08 23:51:41 -08:00
..
2021-01-15 16:48:57 -08:00
2019-11-08 00:19:30 -08:00
2020-10-21 20:28:26 -07:00
2020-03-03 16:24:21 -08:00
2020-12-17 10:45:19 -08:00
2018-05-18 19:28:20 -07:00
2020-06-28 18:41:22 +02:00
2020-09-08 18:59:38 -07:00
2019-07-23 15:33:44 -07:00
2019-09-18 15:44:15 -07:00
2019-12-18 20:32:12 -08:00
2020-12-15 11:43:18 -08:00
2021-01-29 16:49:06 -08:00
2021-01-29 16:49:06 -08:00
2019-12-20 15:44:32 -08:00
2020-12-09 17:42:57 -08:00
2020-07-20 16:05:25 -07:00
2021-02-08 12:11:20 -08:00
2020-09-30 17:00:01 -07:00
2020-06-30 16:10:22 -07:00
2020-11-03 12:14:05 -08:00
2020-06-30 16:10:22 -07:00
2020-06-28 18:41:22 +02:00
2020-06-30 16:10:22 -07:00
2020-11-05 11:11:49 -08:00
2021-01-22 16:39:54 -08:00
2020-10-26 09:16:32 -07:00
2019-11-13 11:52:04 -08:00
2020-07-20 15:30:23 -07:00
2020-12-10 12:42:17 -08:00
2018-04-25 11:57:31 -07:00
2019-01-28 20:00:38 +01:00
2020-02-10 11:54:00 -08:00
2019-09-18 15:44:15 -07:00
2021-02-02 06:56:49 -08:00
2019-09-27 06:34:31 -07:00
2020-12-07 20:55:03 -08:00
2020-12-11 14:41:33 -08:00
2020-12-08 10:04:32 -08:00
2019-12-23 16:22:25 +00:00
2020-01-21 18:43:47 -08:00
2020-03-18 22:07:42 -07:00
2019-12-16 12:26:12 -08:00
2021-01-26 09:35:06 -08:00
2021-01-26 09:35:06 -08:00
2021-01-26 09:35:06 -08:00
2020-12-01 16:58:28 -08:00
2020-01-29 18:29:05 -08:00
2020-12-07 09:31:21 -08:00
2020-09-25 11:10:35 -07:00
2020-09-25 11:10:35 -07:00
2020-04-01 16:03:33 -07:00
2019-01-14 02:42:27 -08:00
2018-07-24 03:13:49 -07:00
2020-01-29 18:29:05 -08:00
2020-12-08 16:47:36 -08:00
2020-04-08 03:38:38 +08:00
2020-12-09 10:21:43 -08:00
2020-09-15 10:41:31 -07:00
2020-07-22 19:39:13 -07:00
2020-07-22 19:39:13 -07:00
2020-04-21 18:42:31 -07:00
2020-10-29 16:21:24 +03:00
2020-02-11 15:09:21 +09:00
2020-12-15 11:43:18 -08:00
2020-04-08 03:38:38 +08:00
2019-09-27 02:24:02 -07:00
2020-08-12 13:40:50 -07:00
2020-08-12 13:40:50 -07:00
2020-10-12 15:10:05 -07:00
2020-10-12 15:10:05 -07:00
2019-03-06 11:24:53 +05:30
2021-02-04 19:20:27 -08:00
2021-02-04 19:20:27 -08:00
2021-01-26 09:35:06 -08:00
2016-12-16 18:26:25 -08:00
2020-08-28 14:16:01 -07:00
2020-08-28 14:16:01 -07:00
2020-08-28 14:16:01 -07:00
2020-08-28 14:16:01 -07:00
2020-10-21 16:10:52 -07:00
2020-10-21 16:10:52 -07:00
2020-10-21 16:10:52 -07:00
2020-10-21 16:10:52 -07:00
2021-01-28 09:51:49 -08:00
2020-11-09 15:53:35 -08:00
2020-11-09 15:53:35 -08:00
2020-11-09 15:53:35 -08:00
2020-11-25 13:02:33 -08:00
2020-11-25 13:02:33 -08:00
2020-11-25 13:02:33 -08:00
2020-11-25 13:02:33 -08:00
2020-04-08 03:38:38 +08:00
2020-02-12 16:10:29 -08:00
2020-07-15 16:35:51 -07:00
2020-06-23 23:24:20 +00:00
2020-07-08 10:13:43 -07:00
2020-06-29 12:04:02 -07:00
2020-04-08 03:38:38 +08:00
2020-09-10 12:50:34 -07:00
2020-06-29 12:04:02 -07:00
2020-10-26 17:48:14 -07:00
2020-10-26 17:48:14 -07:00
2020-10-26 17:48:14 -07:00
2020-10-26 17:48:14 -07:00
2020-12-04 17:17:36 -08:00
2020-06-30 16:10:22 -07:00
2020-12-21 06:45:42 -08:00
2018-11-29 15:43:25 -08:00
2020-12-22 09:24:04 +11:00
2020-11-13 14:33:11 -08:00
2020-12-15 11:43:18 -08:00
2020-06-30 16:10:22 -07:00
2020-07-09 13:13:04 -07:00
2019-07-08 03:19:27 -07:00
2020-06-30 16:10:22 -07:00
2021-02-05 12:16:33 -08:00
2021-02-05 12:16:33 -08:00
2020-07-29 10:59:13 -07:00
2021-02-05 14:15:35 -08:00
2021-02-08 23:51:41 -08:00
2021-02-08 23:51:41 -08:00
2020-06-30 16:10:22 -07:00
2020-12-22 09:24:04 +11:00
2020-08-04 23:05:16 -07:00
2016-11-14 10:44:25 -08:00
2019-11-22 18:15:05 -08:00
2020-10-13 09:11:02 -07:00
2021-01-21 14:14:11 -08:00
2021-01-06 20:35:51 -08:00
2020-10-07 12:29:14 -07:00
2019-03-29 06:21:30 -07:00
2020-12-21 06:45:42 -08:00
2021-01-19 11:28:20 -08:00
2021-01-19 11:28:20 -08:00
2020-06-30 16:10:22 -07:00
2020-01-29 18:29:05 -08:00