构造函数,根据序列request_label值作为唯一序列号的创建请求体对象。
explicit InferRequestId(const std::string requestLabel);
InferRequestId(request_label)
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
request_label |
非必选 |
推理请求对象的唯一性标识,序列号。 |
合法的string类型请求序列号。 |
构造函数,通过字符串ID,构造请求对象。
1 2 | id = '123' request_id = llm_manager_python.InferRequestId(id) |