summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonathan R. Williford <jonathan@neural.vision>2017-04-05 10:03:31 +0000
committerJonathan R. Williford <jonathan@neural.vision>2017-04-05 10:03:31 +0000
commit5f1ca848f8c9daa73f61f64413e15ab2cd6602e7 (patch)
treea3f1fa959fcf000e70d7e3f531633bdbea553d4c /docs
parentc0597b1593685353ed806a05ca83a7fdb16cfb6d (diff)
downloadcaffe-5f1ca848f8c9daa73f61f64413e15ab2cd6602e7.tar.gz
caffe-5f1ca848f8c9daa73f61f64413e15ab2cd6602e7.tar.bz2
caffe-5f1ca848f8c9daa73f61f64413e15ab2cd6602e7.zip
Add example and small blurb about sigmoid layer.
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/layers/sigmoid.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/tutorial/layers/sigmoid.md b/docs/tutorial/layers/sigmoid.md
index 50531835..f18ac4b8 100644
--- a/docs/tutorial/layers/sigmoid.md
+++ b/docs/tutorial/layers/sigmoid.md
@@ -9,6 +9,16 @@ title: Sigmoid Layer
* Header: [`./include/caffe/layers/sigmoid_layer.hpp`](https://github.com/BVLC/caffe/blob/master/include/caffe/layers/sigmoid_layer.hpp)
* CPU implementation: [`./src/caffe/layers/sigmoid_layer.cpp`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/sigmoid_layer.cpp)
* CUDA GPU implementation: [`./src/caffe/layers/sigmoid_layer.cu`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/sigmoid_layer.cu)
+* Example (from [`./examples/mnist/mnist_autoencoder.prototxt`](https://github.com/BVLC/caffe/blob/master/examples/mnist/mnist_autoencoder.prototxt)):
+
+ layer {
+ name: "encode1neuron"
+ bottom: "encode1"
+ top: "encode1neuron"
+ type: "Sigmoid"
+ }
+
+The `Sigmoid` layer computes `sigmoid(x)` for each element `x` in the bottom blob.
## Parameters