使用已有的InferRequestId初始化InferRequestId对象。
InferRequestId(const InferRequestId &other)
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
other |
必选 |
已有的InferRequestId对象。 |
合法的请求InferRequestId对象。 |
构造一个请求ID对象,通过拷贝构造函数构造一个新的对象。
1 2 | mindie_llm::InferRequestId runtimeReqId1(0); mindie_llm::InferRequestId runtimeReqId2(runtimeReqId1); |
InferRequestId对象。