mirror of
https://github.com/clearml/clearml-serving
synced 2025-01-31 02:46:54 +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"
|
||||
elif np_dtype == np.float64:
|
||||
return "FP64"
|
||||
elif np_dtype == str:
|
||||
return "STRING"
|
||||
elif np_dtype == np.object_ or np_dtype.type == np.bytes_:
|
||||
return "BYTES"
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user