Definition in file fixedwtregion.h.
#include <assert.h>
#include <algorithm>
#include <vector>
#include <functional>
#include "genericalgs.h"
#include "robj.h"
#include "neuralregion.h"
#include "matrix.h"
#include "ipc.h"
Include dependency graph for fixedwtregion.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
class | FixedWtRegion |
NeuralRegion with a fixed, shared set of weights for all neurons. More... | |
struct | Input |
Record containing all we need to store about a given input region. More... | |
Functions | |
template<class MatrixK, class MatrixI, class MatrixO> void | convolve (const MatrixK &kernel, const MatrixI &in, MatrixO &out, const typename MatrixO::value_type size_scale=1.0, const bool overwrite=true) |
Convolves kernel with in and puts the result into out. | |
template<class MatrixK, class MatrixI, class MatrixO> void | dense_convolve (const MatrixK &kernel, const MatrixI &in, MatrixO &out, const typename MatrixO::value_type size_scale=1.0, const bool overwrite=true) |
Optimized version of convolve that assumes matrices are dense and laid out rectangularly in memory; at least when it was first coded this version was nearly three times as fast as the one above. |