From f2f73cfda455d941ace64294024042c602806639 Mon Sep 17 00:00:00 2001 From: Jeff Donahue Date: Fri, 29 Aug 2014 22:57:27 -0700 Subject: [PATCH] vision_layers.hpp: Doxygen \brief & TODO stubs. --- include/caffe/vision_layers.hpp | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/include/caffe/vision_layers.hpp b/include/caffe/vision_layers.hpp index 02f9e43..86a54ce 100644 --- a/include/caffe/vision_layers.hpp +++ b/include/caffe/vision_layers.hpp @@ -16,8 +16,12 @@ namespace caffe { -/* ConvolutionLayer -*/ +/** + * @brief Convolves the input image with a bank of learned filters, + * and (optionally) adds biases. + * + * TODO(dox): thorough documentation for Forward, Backward, and proto params. + */ template class ConvolutionLayer : public Layer { public: @@ -60,8 +64,13 @@ class ConvolutionLayer : public Layer { int N_; }; -/* Im2colLayer -*/ +/** + * @brief A helper for image operations that rearranges image regions into + * column vectors. Used by ConvolutionLayer to perform convolution + * by matrix multiplication. + * + * TODO(dox): thorough documentation for Forward, Backward, and proto params. + */ template class Im2colLayer : public Layer { public: @@ -98,9 +107,11 @@ class Im2colLayer : public Layer { template class PoolingLayer; template class SplitLayer; -/* LRNLayer - Local Response Normalization -*/ +/** + * @brief Normalize the input in a local region across or within feature maps. + * + * TODO(dox): thorough documentation for Forward, Backward, and proto params. + */ template class LRNLayer : public Layer { public: @@ -171,8 +182,11 @@ class LRNLayer : public Layer { }; -/* PoolingLayer -*/ +/** + * @brief Pools the input image by taking the max, average, etc. within regions. + * + * TODO(dox): thorough documentation for Forward, Backward, and proto params. + */ template class PoolingLayer : public Layer { public: -- 2.7.4