Add ReductionLayer to reduce any number of "tail" axes to a scalar value
authorJeff Donahue <jeff.donahue@gmail.com>
Mon, 3 Nov 2014 01:21:37 +0000 (17:21 -0800)
committerJeff Donahue <jeff.donahue@gmail.com>
Wed, 3 Jun 2015 03:47:29 +0000 (20:47 -0700)
commit823d055bc927912528b0f53aa15fab6d988d4a4c
tree12c33fc04ed292d1fdb6add64767e8b85280e620
parentf3eabadb3aa597b7d6c1a7e6da4260904fe9d5b4
Add ReductionLayer to reduce any number of "tail" axes to a scalar value

Currently implements operations SUM, MEAN, ASUM (sum of absolute
values), and SUMSQ (sum of squares)
include/caffe/common_layers.hpp
src/caffe/layers/reduction_layer.cpp [new file with mode: 0644]
src/caffe/layers/reduction_layer.cu [new file with mode: 0644]
src/caffe/proto/caffe.proto
src/caffe/test/test_reduction_layer.cpp [new file with mode: 0644]