Browse Source

!28 use real dispatcher func for run network

Merge pull request !28 from gukecai/serving-commit
tags/v1.1.0
徐永飞 Gitee 5 years ago
parent
commit
6b36b06b50
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore_serving/ccsrc/master/restful/http_process.cc

+ 2
- 2
mindspore_serving/ccsrc/master/restful/http_process.cc View File

@@ -690,9 +690,9 @@ Status RestfulService::RunRestful(const std::shared_ptr<RestfulRequest> &restful
}

MSI_TIME_STAMP_START(Predict)
// status = dispatcher_->Dispatch(request, reply);
status = dispatcher_->Dispatch(request, reply);

FadeReply(request, reply);
// FadeReply(request, reply);
MSI_TIME_STAMP_END(Predict)
if (status != SUCCESS) {
std::string error_msg = status.StatusMessage();


Loading…
Cancel
Save