提交 9397a2e0 编写于 作者: Y yi.wu

fix format

上级 3380737c
...@@ -109,7 +109,7 @@ class BlockGuardServ(BlockGuard): ...@@ -109,7 +109,7 @@ class BlockGuardServ(BlockGuard):
class ListenAndServ(object): class ListenAndServ(object):
""" """
***ListenAndServ Layer*** **ListenAndServ Layer**
ListenAndServ is used to create a rpc server bind and listen ListenAndServ is used to create a rpc server bind and listen
on specific TCP port, this server will run the sub-block when on specific TCP port, this server will run the sub-block when
...@@ -120,9 +120,6 @@ class ListenAndServ(object): ...@@ -120,9 +120,6 @@ class ListenAndServ(object):
inputs(list): a list of variables that the server will get from clients. 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. 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. optimizer_mode(bool): whether to run the server as a parameter server, default: True.
Returns:
None
Examples: Examples:
.. code-block:: python .. code-block:: python
......
...@@ -1049,7 +1049,7 @@ def chunk_eval(input, ...@@ -1049,7 +1049,7 @@ def chunk_eval(input,
num_chunk_types, num_chunk_types,
excluded_chunk_types=None): excluded_chunk_types=None):
""" """
***Chunk Evaluator*** **Chunk Evaluator**
This function computes and outputs the precision, recall and This function computes and outputs the precision, recall and
F1-score of chunk detection. F1-score of chunk detection.
...@@ -1883,7 +1883,7 @@ def conv2d_transpose(input, ...@@ -1883,7 +1883,7 @@ def conv2d_transpose(input,
act=None, act=None,
name=None): name=None):
""" """
***Convlution2D Transpose Layer**** **Convlution2D Transpose Layer**
The convolution2D transpose layer calculates the output based on the input, The convolution2D transpose layer calculates the output based on the input,
filter, and dilations, strides, paddings. Input(Input) and output(Output) filter, and dilations, strides, paddings. Input(Input) and output(Output)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册