提交 7379f090 编写于 作者: B barrierye

add NEW_WEB_SERVICE doc

上级 28d1ffbb
......@@ -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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册