下载
中文
注册

GetRequestId接口

接口功能

获取请求ID。

接口格式

InferRequestId GetRequestId() const

接口参数

无。

使用样例

mindie_llm::InferRequestId runtimeReqId(0);
std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId);
mindie_llm::InferRequestId RequestId = runtimeRequest->GetRequestId();

返回值

InferRequestId对象。