changed np.bool deprecated in numpy 1.20.0, changed to bool

This commit is contained in:
anon-it 2023-03-24 23:13:54 +00:00
parent a04d1bda03
commit c56cf6a5bd

View File

@ -252,7 +252,7 @@ class TritonPreprocessRequest(BasePreprocessRequest):
np.uint64: 'uint64_contents',
np.int32: 'int_contents',
np.uint: 'uint_contents',
np.bool: 'bool_contents',
bool: 'bool_contents',
np.float32: 'fp32_contents',
np.float64: 'fp64_contents',
}