BVLC/caffe — pull request #1137 by ducha-aiki (2014-09-22 19:01:34+00:00)
Title: Top k layer

This layer implements k-sparse non-linearity from paper "k-Sparse Autoencoders" http://arxiv.org/abs/1312.5663 .
Top k values goes to the top layer, rest are set to zeros.
For now it is implemented only in CPU version.