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

github.com/torch/torch.github.io.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaiyu Yang <yangky11@mails.tsinghua.edu.cn>2015-12-17 10:29:36 +0300
committerKaiyu Yang <yangky11@mails.tsinghua.edu.cn>2015-12-17 10:29:36 +0300
commit3a94257f4e2e347e6b040f0790f9739b306c516b (patch)
treea4cb02046ad3f6e5b92bd54e1a183fa173afbe90
parentd7b084fd2237d0d3742b5979655993a3b094d835 (diff)
Update 02-developer-docs.md
fix the parameters of updateOutput
-rw-r--r--docs/02-developer-docs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/02-developer-docs.md b/docs/02-developer-docs.md
index 60f73ee..308d407 100644
--- a/docs/02-developer-docs.md
+++ b/docs/02-developer-docs.md
@@ -67,7 +67,7 @@ It is not advised to override this function call in custom classes.
It is better to override `updateGradInput(input, gradOutput)` and `accGradParameters(input, gradOutput)` functions.
```lua
-[output] updateOutput(input, gradOutput)
+[output] updateOutput(input)
```
When defining a new module, this method should be overloaded.