Function TRITONSERVER_StringToDataType

Function Documentation

TRITONSERVER_DataType TRITONSERVER_StringToDataType(const char *dtype)

Get the Triton datatype corresponding to a string representation of a datatype.

Return

The Triton data type or TRITONSERVER_TYPE_INVALID if the string does not represent a data type.

Parameters
  • dtype: The datatype string representation.