Skip to content

Commit 4ac6443

Browse files
authored
Clip layer documentation
1 parent b56db67 commit 4ac6443

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

docs/tutorial/layers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Layers:
9393
* [Log](layers/log.html) - f(x) = log(x).
9494
* [BNLL](layers/bnll.html) - f(x) = log(1 + exp(x)).
9595
* [Threshold](layers/threshold.html) - performs step function at user defined threshold.
96+
* [Clip](layers/clip.html) - clips a blob between a fixed minimum and maximum value.
9697
* [Bias](layers/bias.html) - adds a bias to a blob that can either be learned or fixed.
9798
* [Scale](layers/scale.html) - scales a blob by an amount that can either be learned or fixed.
9899

docs/tutorial/layers/clip.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Clip Layer
3+
---
4+
5+
# Clip Layer
6+
7+
* Layer type: `Clip`
8+
* [Doxygen Documentation](http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1ClipLayer.html)
9+
* Header: [`./include/caffe/layers/clip_layer.hpp`](https://github.com/BVLC/caffe/blob/master/include/caffe/layers/clip_layer.hpp)
10+
* CPU implementation: [`./src/caffe/layers/clip_layer.cpp`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/clip_layer.cpp)
11+
* CUDA GPU implementation: [`./src/caffe/layers/clip_layer.cu`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/clip_layer.cu)
12+
13+
## Parameters
14+
15+
* Parameters (`ClipParameter clip_param`)
16+
* From [`./src/caffe/proto/caffe.proto`](https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto):
17+
18+
{% highlight Protobuf %}
19+
{% include proto/ClipParameter.txt %}
20+
{% endhighlight %}

0 commit comments

Comments
 (0)