From 9397a2e0c8128e2de2c8eeb8fa5d446f1a6f2f13 Mon Sep 17 00:00:00 2001 From: "yi.wu" Date: Fri, 15 Jun 2018 12:38:36 +0800 Subject: [PATCH] fix format --- python/paddle/fluid/layers/io.py | 5 +---- python/paddle/fluid/layers/nn.py | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/python/paddle/fluid/layers/io.py b/python/paddle/fluid/layers/io.py index 15be646f4..906364f69 100644 --- a/python/paddle/fluid/layers/io.py +++ b/python/paddle/fluid/layers/io.py @@ -109,7 +109,7 @@ class BlockGuardServ(BlockGuard): class ListenAndServ(object): """ - ***ListenAndServ Layer*** + **ListenAndServ Layer** ListenAndServ is used to create a rpc server bind and listen on specific TCP port, this server will run the sub-block when @@ -120,9 +120,6 @@ class ListenAndServ(object): inputs(list): a list of variables that the server will get from clients. fan_in(int): how many client are expected to report to this server, default: 1. optimizer_mode(bool): whether to run the server as a parameter server, default: True. - - Returns: - None Examples: .. code-block:: python diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 8e4780837..3704e1149 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -1049,7 +1049,7 @@ def chunk_eval(input, num_chunk_types, excluded_chunk_types=None): """ - ***Chunk Evaluator*** + **Chunk Evaluator** This function computes and outputs the precision, recall and F1-score of chunk detection. @@ -1883,7 +1883,7 @@ def conv2d_transpose(input, act=None, name=None): """ - ***Convlution2D Transpose Layer**** + **Convlution2D Transpose Layer** The convolution2D transpose layer calculates the output based on the input, filter, and dilations, strides, paddings. Input(Input) and output(Output) -- GitLab