SHOGUN
v2.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
preprocessor
DensePreprocessor.cpp
Go to the documentation of this file.
1
#include <
shogun/preprocessor/DensePreprocessor.h
>
2
3
namespace
shogun
4
{
5
template
<
class
ST>
6
CDensePreprocessor<ST>::CDensePreprocessor
() :
CPreprocessor
()
7
{
8
}
9
10
template
<>
EFeatureType
CDensePreprocessor<floatmax_t>::get_feature_type
()
11
{
12
return
F_LONGREAL
;
13
}
14
15
template
<>
EFeatureType
CDensePreprocessor<float64_t>::get_feature_type
()
16
{
17
return
F_DREAL
;
18
}
19
20
template
<>
EFeatureType
CDensePreprocessor<float32_t>::get_feature_type
()
21
{
22
return
F_SHORTREAL
;
23
}
24
25
template
<>
EFeatureType
CDensePreprocessor<int16_t>::get_feature_type
()
26
{
27
return
F_SHORT
;
28
}
29
30
template
<>
EFeatureType
CDensePreprocessor<uint16_t>::get_feature_type
()
31
{
32
return
F_WORD
;
33
}
34
35
template
<>
EFeatureType
CDensePreprocessor<char>::get_feature_type
()
36
{
37
return
F_CHAR
;
38
}
39
40
template
<>
EFeatureType
CDensePreprocessor<int8_t>::get_feature_type
()
41
{
42
return
F_CHAR
;
43
}
44
45
template
<>
EFeatureType
CDensePreprocessor<uint8_t>::get_feature_type
()
46
{
47
return
F_BYTE
;
48
}
49
50
template
<>
EFeatureType
CDensePreprocessor<int32_t>::get_feature_type
()
51
{
52
return
F_INT
;
53
}
54
55
template
<>
EFeatureType
CDensePreprocessor<uint32_t>::get_feature_type
()
56
{
57
return
F_UINT
;
58
}
59
60
61
template
<>
EFeatureType
CDensePreprocessor<int64_t>::get_feature_type
()
62
{
63
return
F_LONG
;
64
}
65
66
template
<>
EFeatureType
CDensePreprocessor<uint64_t>::get_feature_type
()
67
{
68
return
F_ULONG
;
69
}
70
71
template
<>
EFeatureType
CDensePreprocessor<bool>::get_feature_type
()
72
{
73
return
F_BOOL
;
74
}
75
76
template
<
class
ST>
77
EFeatureClass
CDensePreprocessor<ST>::get_feature_class
()
78
{
79
return
C_DENSE
;
80
}
81
82
template
<
class
ST>
83
EPreprocessorType
CDensePreprocessor<ST>::get_type
()
const
84
{
85
return
P_UNKNOWN
;
86
}
87
88
template
class
CDensePreprocessor<bool>
;
89
template
class
CDensePreprocessor<char>
;
90
template
class
CDensePreprocessor<int8_t>
;
91
template
class
CDensePreprocessor<uint8_t>
;
92
template
class
CDensePreprocessor<int16_t>
;
93
template
class
CDensePreprocessor<uint16_t>
;
94
template
class
CDensePreprocessor<int32_t>
;
95
template
class
CDensePreprocessor<uint32_t>
;
96
template
class
CDensePreprocessor<int64_t>
;
97
template
class
CDensePreprocessor<uint64_t>
;
98
template
class
CDensePreprocessor<float32_t>
;
99
template
class
CDensePreprocessor<float64_t>
;
100
template
class
CDensePreprocessor<floatmax_t>
;
101
}
SHOGUN
Machine Learning Toolbox - Documentation