GetRequestInner

Function

Obtains an InferRequestImpl object.

Format

 std::shared_ptr<InferRequestImpl> GetRequestInner() const

Parameters

None

Usage Example

Obtains the pointer object that points to InferRequestImpl in the request.

1
2
3
mindie_llm::InferRequestId runtimeReqId(0);
std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId);
std::shared_ptr<InferRequestImpl> request = runtimeRequest->GetRequestInner();

Return Value

Pointer object pointing to InferRequestImpl.