DType接口

接口功能

获取推理输入张量保存的数据类型。

接口格式

LLM_ENGINE_DataType DType() const;

接口参数

无。

使用样例

LLM_ENGINE_DataType dataType = input->DType();

返回值

LLM_ENGINE_DataType_enum枚举