diff options
author | Alfredo Canziani <alfredo.canziani@gmail.com> | 2014-07-01 21:28:05 +0400 |
---|---|---|
committer | Alfredo Canziani <alfredo.canziani@gmail.com> | 2014-07-01 21:28:05 +0400 |
commit | ef8c3e6a376d2753580b0c52555af0637143718a (patch) | |
tree | 48fc6cc21e26e584a86e9f79031b2fe69e1b6fb4 | |
parent | f32f33b49680a6bda36e13c4a8ada2e11ef61496 (diff) |
Update module.md
Fixed broken links in `module.md`
-rw-r--r-- | doc/module.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/module.md b/doc/module.md index 39462a4..c8bf501 100644 --- a/doc/module.md +++ b/doc/module.md @@ -4,8 +4,8 @@ `Module` is an abstract class which defines fundamental methods necessary for a training a neural network. Modules are [serializable](https://github.com/torch/torch7/blob/master/doc/serialization.md#serialization). -Modules contain two states variables: [output](#nn.ModuleOutput) and -[gradInput](#nn.ModuleGradInput). +Modules contain two states variables: [output](#output) and +[gradInput](#gradinput). <a name="nn.Module.forward"/> ### [output] forward(input) ### @@ -16,7 +16,7 @@ module. In general `input` and `output` are like [table layers](table.md#nn.TableLayers) might expect something else. Please, refer to each module specification for further information. -After a `forward()`, the [ouput](#nn.ModuleOutput) state variable should +After a `forward()`, the [ouput](#output) state variable should have been updated to the new value. It is not advised to override this function. Instead, one should @@ -57,14 +57,14 @@ functions. Computes the output using the current parameter set of the class and input. This function returns the result which is stored in the -[output](#nn.Module.output) field. +[output](#output) field. <a name="nn.Module.updateGradInput"/> ### updateGradInput(input, gradOutput) ### Computing the gradient of the module with respect to its own input. This is returned in `gradInput`. Also, the -[gradInput](#nn.Module.gradInput) state variable is updated +[gradInput](#gradinput) state variable is updated accordingly. <a name="nn.Module.accGradParameters"/> |