summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcloudygoose <[email protected]>2015-06-12 12:47:18 +0800
committercloudygoose <[email protected]>2015-06-12 12:47:18 +0800
commit6dbf9dc22c5c0fb3462df49d33f0b8ada14608be (patch)
treebc580760d7fc8e8c3fe60d71bb177d6f15714667
parent83dbefa3435b72911ee643f9f99205247d140279 (diff)
...
-rw-r--r--doc/nerv_nn.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/nerv_nn.md b/doc/nerv_nn.md
index 0f274c4..044531a 100644
--- a/doc/nerv_nn.md
+++ b/doc/nerv_nn.md
@@ -48,9 +48,12 @@ param_config : {param1 = paramID1, param2 = paramID2}
```
__LayerRepo__ will merge `param_config` into `layer_config` and construct a layer by calling `layer_type(layerid, global_conf, layer_config)`.
-* __[nerv.Layer] LayerRepo.get_layer([LayerRepo] self, [string] lid)__
-`self`, __nerv.LayerRepo__, ...
-Returns the layer with ID `lid`.
+* __LayerRepo.get_layer(self, lid)__
+ * Returns
+ __nerv.LayerRepo__ the layer with ID `lid`.
+ * Parameters
+ `self`:__nerv.LayerRepo__.
+ `lid`:__string__, the ID of the layer to fetch.
###__nerv.DAGLayer__###
* __DAGLayer:\_\_init(id, global_conf, layer_conf, [a, b, ...])__
@@ -61,5 +64,4 @@ Returns the layer with ID `lid`.
`id`: __string__, the ID of the layer.
`global_conf`:__table__,the global config.
- sasasa
\ No newline at end of file