获取最大输出长度。
uint32_t GetMaxOutputLen() const
无。
mindie_llm::InferRequestId runtimeReqId(0); std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId); uint32_t maxOutputLen = 1; Status ret = runtimeRequest->SetMaxOutputLen(maxOutputLen); uint32_t maxOutputLen1 = runtimeRequest->GetMaxOutputLen();
返回请求最大输出长度 类型为uint32_t。