Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
Fix readme
  • Loading branch information
suquark committed Mar 12, 2017
1 parent 624be49 commit 20a2119
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ We will soon provide you with online demos.

`demo/regression/` is a demo about regression.

![demo/regression/]()
![](demo/regression/snapshot.png)


## License
Expand Down
6 changes: 4 additions & 2 deletions layers/linear.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ class LinearLayer extends Layer {
this.dy = dy;
let x = this.in_act;
if (this.b) radd(this.db, dy);
tdotadd(this.dW, x, dy);
this.dx += this.W * transpose(dy);
matmulT2(this.batch_dW, x, dy);
mean(this.dW, this.batch_dW);
///// TODO:
matmulT2(this.dx, this.W, dy);
}

get trainables() {
Expand Down

0 comments on commit 20a2119

Please sign in to comment.