From 7379f090dc259f02402da1eaf5c3c9325bafacd8 Mon Sep 17 00:00:00 2001 From: barrierye Date: Fri, 24 Apr 2020 15:09:20 +0800 Subject: [PATCH] add NEW_WEB_SERVICE doc --- doc/NEW_WEB_SERVICE.md | 2 +- doc/NEW_WEB_SERVICE_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/NEW_WEB_SERVICE.md b/doc/NEW_WEB_SERVICE.md index b76c6d42..63f62a77 100644 --- a/doc/NEW_WEB_SERVICE.md +++ b/doc/NEW_WEB_SERVICE.md @@ -11,7 +11,7 @@ Paddle Serving implements the [WebService](https://github.com/PaddlePaddle/Servi ```python class WebService(object): - def preprocess(self, feed={}, fetch=[]): + def preprocess(self, feed={}, fetch=[]): return feed, fetch def postprocess(self, feed={}, fetch=[], fetch_map=None): return fetch_map diff --git a/doc/NEW_WEB_SERVICE_CN.md b/doc/NEW_WEB_SERVICE_CN.md index 067780e3..a1797016 100644 --- a/doc/NEW_WEB_SERVICE_CN.md +++ b/doc/NEW_WEB_SERVICE_CN.md @@ -11,7 +11,7 @@ Paddle Serving实现了[WebService](https://github.com/PaddlePaddle/Serving/blob ```python class WebService(object): - def preprocess(self, feed={}, fetch=[]): + def preprocess(self, feed={}, fetch=[]): return feed, fetch def postprocess(self, feed={}, fetch=[], fetch_map=None): return fetch_map -- GitLab