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