Skip to content

Commit 2bfdca4

Browse files
authored
Remove deprecated alias numpy.bool8 (#6117)
`numpy.bool8` is just a deprecated alias of [`numpy.bool_`](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_). Removed here to get rid of the deprecation warnings (#6110). Googlers, see cl/498031924 for internal tests. #oncall
1 parent 66c07f8 commit 2bfdca4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tensorboard/compat/tensorflow_stub/dtypes.py

-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ def size(self):
323323
# Define data type range of numpy dtype
324324
dtype_range = {
325325
np.bool_: (False, True),
326-
np.bool8: (False, True),
327326
np.uint8: (0, 255),
328327
np.uint16: (0, 65535),
329328
np.int8: (-128, 127),

0 commit comments

Comments
 (0)