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
diff options
context:
space:
mode:
-rw-r--r--dok/index.dok10
1 files changed, 5 insertions, 5 deletions
diff --git a/dok/index.dok b/dok/index.dok
index be2d20d..9d720a5 100644
--- a/dok/index.dok
+++ b/dok/index.dok
@@ -415,14 +415,14 @@ wrt to the learnable parameters ''{gradWeights}''.
Custom modules should override this function if they use learnable
parameters that are stored in tensors.
-==== [{flatParameters}, {flatGradParameters}] getParameters() ====
+==== [flatParameters, flatGradParameters] getParameters() ====
{{anchor:nn.Module.getParameters}}
-This function should returns two tables. One for the flattened learnable
-parameters ''{flatParameters}'' and another for the gradients of the energy
-wrt to the learnable parameters ''{flatGradParameters}''.
+This function returns two tensors. One for the flattened learnable
+parameters ''flatParameters'' and another for the gradients of the energy
+wrt to the learnable parameters ''flatGradParameters''.
-Custom moduels should not override this function. They should instead override [[#nn.Module.getParameters|parameters(...)]] which is, in turn, called by the present function.
+Custom moduels should not override this function. They should instead override [[#nn.Module.parameters|parameters(...)]] which is, in turn, called by the present function.
===== Containers =====
{{anchor:nn.Containers}}