Skip to content

Commit d7a65dc

Browse files
authored
Remove np.bool from dtype mapping dictionary for np compatibility
Removed np.bool mapping from NUMPY_TO_TORCH_DTYPE_DICT.
1 parent cd11558 commit d7a65dc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

dictionary_learning/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def generator():
3535

3636

3737
NUMPY_TO_TORCH_DTYPE_DICT = {
38-
np.bool: th.bool,
3938
np.uint8: th.uint8,
4039
np.int8: th.int8,
4140
np.int16: th.int16,

0 commit comments

Comments
 (0)