treelite
Main Page
Modules
Classes
Files
File List
File Members
src
compiler
native
get_num_feature.h
1
inline
std::string get_num_feature_func(
int
num_feature) {
2
std::ostringstream oss;
3
oss <<
"size_t get_num_feature(void) {\n"
4
<<
" return "
<< num_feature <<
";\n"
5
<<
"}\n"
;
6
return
oss.str();
7
}
8
9
inline
std::string get_num_feature_func_prototype() {
10
return
"size_t get_num_feature(void);\n"
;
11
}
Generated by
1.8.11