请求是否是Decode类型。
bool IsDecodeReq() const;
无。
mindie_llm::InferRequestId runtimeReqId(0); std::shared_ptr<mindie_llm::InferRequest> runtimeRequest(runtimeReqId); runtimeRequest->SetReqType(mindie_llm::InferReqType::REQ_STAND_INFER); bool isDecode = runtimeRequest->IsDecodeReq();
bool值。