DType接口
接口功能
获取推理输入张量保存的数据类型。
接口格式
LLM_ENGINE_DataType DType() const;
接口参数
无。
使用样例
LLM_ENGINE_DataType dataType = input->DType();
父主题: Input类
获取推理输入张量保存的数据类型。
LLM_ENGINE_DataType DType() const;
无。
LLM_ENGINE_DataType dataType = input->DType();