OpenANN
1.1.0
An open source library for artificial neural networks.
Main Page
Classes
Files
List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
OpenANN
CompressionMatrixFactory.h
Go to the documentation of this file.
1
#ifndef OPENANN_COMPRESSION_MATRIX_FACTORY_H_
2
#define OPENANN_COMPRESSION_MATRIX_FACTORY_H_
3
4
#include <Eigen/Core>
5
#include <vector>
6
7
namespace
OpenANN
8
{
9
18
class
CompressionMatrixFactory
19
{
20
public
:
21
bool
compress
;
22
enum
Transformation
23
{
24
DCT
,
GAUSSIAN
,
SPARSE_RANDOM
,
AVERAGE
,
EDGE
25
}
transformation
;
26
int
inputDim
;
27
int
paramDim
;
28
29
CompressionMatrixFactory
();
30
CompressionMatrixFactory
(
int
inputDim
,
int
paramDim
,
31
Transformation
transformation
=
DCT
);
32
void
createCompressionMatrix
(Eigen::MatrixXd& cm);
33
34
private
:
35
void
fillCompressionMatrix(Eigen::MatrixXd& cm);
36
};
37
38
}
// namespace OpenANN
39
40
#endif // OPENANN_COMPRESSION_MATRIX_FACTORY_H_
Generated on Wed Jul 9 2014 08:57:52 for OpenANN by
1.8.4