Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordavidemaz <davidemaz@gmail.com>2017-03-10 20:37:32 +0300
committerdavidemaz <davidemaz@gmail.com>2017-03-10 20:37:32 +0300
commit179133fb499483555074eaff2ea875e975508df1 (patch)
treef5ad843fa396c921d77d23178411978544df2eb6 /doc
parent1d38cbaa78a0ba7f48d168e62192292e705040ae (diff)
MapTable layer: 'share' parameter is now boolean
Diffstat (limited to 'doc')
-rw-r--r--doc/table.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/table.md b/doc/table.md
index d5174a7..b3e2e5f 100644
--- a/doc/table.md
+++ b/doc/table.md
@@ -177,7 +177,7 @@ module = nn.MapTable(m, share)
`MapTable` is a container for a single module which will be applied to all input elements. The member module is cloned as necessary to process all input elements. Call `resize(n)` to set the number of clones manually or call `clearState()` to discard all clones.
-Optionally, the module can be initialized with the contained module and with a list of parameters that are shared across all clones. By default, these parameters are `weight`, `bias`, `gradWeight` and `gradBias`.
+Optionally, the module can be initialized with the contained module and a boolean `share`. It indicates whether parameters are shared across all clones or not. By default it is set to true. The shared parameters are `weight`, `bias`, `gradWeight` and `gradBias`.
```
+----------+ +-----------+