InferRequest
Function
Constructor.
Format
explicit InferRequest(InferRequestId requestId);
Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
requestId |
Mandatory |
Request ID. |
InferRequestId type. For details, see InferRequestId. |
Usage Example
Construct an InferRequestId object with the ID of 0.
1 2 | mindie_llm::InferRequestId runtimeReqId(0); std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId); |
Return Value
InferRequest object.
Parent topic: InferRequest