Browse Source

fix doc

pull/223/head
zhangyinxia 5 years ago
parent
commit
bd83b927b7
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      mindspore_serving/worker/register/method.py

+ 2
- 4
mindspore_serving/worker/register/method.py View File

@@ -80,8 +80,7 @@ def call_preprocess_pipeline(preprocess_fun, *args):
in `preprocess` or `postprocess`, such as using MindData concurrency ability to process multiple input
images in `preprocess`, MindSpore Serving provides 'call_preprocess_pipeline' and 'call_pstprocess_pipeline'
to register such preprocessing and postprocessing. For more detail,
please refer to [Resnet50 model configuration example]
<https://gitee.com/mindspore/serving/blob/master/example/resnet/resnet50/servable_config.py>`_ .
please refer to `Resnet50 model configuration example <https://gitee.com/mindspore/serving/blob/master/example/resnet/resnet50/servable_config.py>`_.

Args:
preprocess_fun (function): Python pipeline function for preprocess.
@@ -248,8 +247,7 @@ def call_postprocess_pipeline(postprocess_fun, *args):
in `preprocess` or `postprocess`, such as using MindData concurrency ability to process multiple input
images in `preprocess`, MindSpore Serving provides 'call_preprocess_pipeline' and 'call_pstprocess_pipeline'
to register such preprocessing and postprocessing. For more detail,
please refer to [Resnet50 model configuration example]
<https://gitee.com/mindspore/serving/blob/master/example/resnet/resnet50/servable_config.py>`_ .
please refer to `Resnet50 model configuration example <https://gitee.com/mindspore/serving/blob/master/example/resnet/resnet50/servable_config.py>`_.

Args:
postprocess_fun (function): Python pipeline function for postprocess.


Loading…
Cancel
Save