GetRequestId

Function

Obtains a request ID.

Format

InferRequestId GetRequestId() const

Parameters

None

Usage Example

Constructs a request object and obtains the request ID from the request object.

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

Return Value

InferRequestId object.