aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorcloudygoose <[email protected]>2015-06-02 14:56:36 +0800
committercloudygoose <[email protected]>2015-06-02 14:56:36 +0800
commit788ddace103237d046bc1d87edd281366e2fdcca (patch)
tree2b28e7b9ea21e631e7e9948ff6320bbce6d0ab59 /doc
parent6e58756ea75fb912c27436b5b3f556fb03e5e647 (diff)
doc change about matrix
Diffstat (limited to 'doc')
-rw-r--r--doc/nerv_matrix.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/nerv_matrix.md b/doc/nerv_matrix.md
index aedefbe..f1986a5 100644
--- a/doc/nerv_matrix.md
+++ b/doc/nerv_matrix.md
@@ -70,4 +70,9 @@ It sets the content of __Matrix__ `self` to be `beta * self + alpha * ma * mb`.
* __void Matrix.add_row(Matrix self, Matrix va, Element_type beta)__
It sets the content of __Matrix__ `self`(which should be row vector) to be `self + beta * va`.
* __void Matrix.fill(Matrix self, Element_type value)__
-Fill the content of __Matrix__ to be `value`. \ No newline at end of file
+Fill the content of __Matrix__ `self` to be `value`.
+* __void Matrix.sigmoid(Matrix self, Matrix ma)__
+Set the element of __Matrix__ `self` to be elementwise-sigmoid of `ma`.
+* __void Matrix.sigmoid_grad(Matrix self, Matrix err, Matrix output)__
+Set the element of __Matrix__ `self`, to be `self[i][j]=err[i][j]*output[i][j]*(1-output[i][j])`. This function is used to propagate sigmoid layer error.
+