获取请求ID。
InferRequestId GetRequestId() const
无。
构造一个请求对象,从请求对象中获取请求ID。
1 2 3 | mindie_llm::InferRequestId runtimeReqId(0); std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId); mindie_llm::InferRequestId RequestId = runtimeRequest->GetRequestId(); |
InferRequestId对象。