| --- |
| title: Clip Layer |
| --- |
| |
| # Clip Layer |
|
|
| * Layer type: `Clip` |
| * [Doxygen Documentation](http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1ClipLayer.html) |
| * Header: [`./include/caffe/layers/clip_layer.hpp`](https://github.com/BVLC/caffe/blob/master/include/caffe/layers/clip_layer.hpp) |
| * CPU implementation: [`./src/caffe/layers/clip_layer.cpp`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/clip_layer.cpp) |
| * CUDA GPU implementation: [`./src/caffe/layers/clip_layer.cu`](https://github.com/BVLC/caffe/blob/master/src/caffe/layers/clip_layer.cu) |
|
|
| ## Parameters |
|
|
| * Parameters (`ClipParameter clip_param`) |
| * From [`./src/caffe/proto/caffe.proto`](https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto): |
|
|
| {% highlight Protobuf %} |
| {% include proto/ClipParameter.txt %} |
| {% endhighlight %} |
|
|