InferRequestId接口

接口功能

使用已有的InferRequestId初始化InferRequestId对象。

接口格式

InferRequestId(const InferRequestId &other)

接口参数

参数

是否必选

说明

取值要求

other

必选

已有的InferRequestId对象。

合法的请求体对象。

使用样例

mindie_llm::InferRequestId runtimeReqId1(0);
mindie_llm::InferRequestId runtimeReqId2(runtimeReqId1);

返回值

InferRequestId对象。