LocallyConnected convolutional layer for Torch.
LocallyConnected convolutional layer for Torch.

Summary:
Naive C++ implementation.

This is the "first-stage" of making this filter, i.e. a naive C++
implementation and tests. In the next round of work I'll speed this up,
mostly likely using BLAS.

Test Plan: run deeplearing/torch/test/locally_connected_test.lua

Reviewed By: soumith@fb.com

Subscribers: tulloch, pamelavagata, ntv, jhj, omry, yaniv

FB internal diff: D1586482

Tasks: 5184419

soumith/thpp,linearregression/thpp,apaszke/thpp,linearregression/thpp,apaszke/thpp,soumith/thpp