mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-12 07:25:04 +00:00
Add str
type to Triton type conversion
This commit is contained in:
parent
58d826e427
commit
083635c803
@ -422,6 +422,8 @@ class TritonHelper(object):
|
|||||||
return "FP32"
|
return "FP32"
|
||||||
elif np_dtype == np.float64:
|
elif np_dtype == np.float64:
|
||||||
return "FP64"
|
return "FP64"
|
||||||
|
elif np_dtype == str:
|
||||||
|
return "STRING"
|
||||||
elif np_dtype == np.object_ or np_dtype.type == np.bytes_:
|
elif np_dtype == np.object_ or np_dtype.type == np.bytes_:
|
||||||
return "BYTES"
|
return "BYTES"
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user