From 513066bc8179b971887b21156897fa5389289763 Mon Sep 17 00:00:00 2001 From: wangjiawei04 Date: Tue, 7 Apr 2020 08:17:43 +0000 Subject: [PATCH] add abtest doc test --- doc/ABTEST_IN_PADDLE_SERVING.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/ABTEST_IN_PADDLE_SERVING.md b/doc/ABTEST_IN_PADDLE_SERVING.md index efc9e982..dd171a20 100644 --- a/doc/ABTEST_IN_PADDLE_SERVING.md +++ b/doc/ABTEST_IN_PADDLE_SERVING.md @@ -19,7 +19,7 @@ sh get_data.sh The following Python code will process the data `test_data/part-0` and write to the `processed.data` file. -[//file]:process.py +[//file]:#process.py ``` python from imdb_reader import IMDBDataset imdb_dataset = IMDBDataset() @@ -60,7 +60,7 @@ exit Run the following Python code on the host computer to start client. Make sure that the host computer is installed with the `paddle-serving-client` package. -[//file]:ab_client.py +[//file]:#ab_client.py ``` python from paddle_serving_client import Client @@ -98,14 +98,17 @@ When making prediction on the client side, if the parameter `need_variant_tag=Tr ```