12 #ifndef MLPACK_BINDINGS_GO_IMPORT_DECL_HPP 13 #define MLPACK_BINDINGS_GO_IMPORT_DECL_HPP 28 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
35 const std::string prefix = std::string(indent,
' ');
37 std::cout << prefix <<
"\"runtime\" " << std::endl;
38 std::cout << prefix <<
"\"unsafe\" " << std::endl;
48 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
61 const typename boost::enable_if<arma::is_arma_type<T>>::type* = 0)
79 ImportDecl<typename std::remove_pointer<T>::type>(d, *((
size_t*) indent));
The core includes that mlpack expects; standard C++ includes and Armadillo.
This structure holds all of the information about a single parameter, including its value (which is s...
void ImportDecl(const util::ParamData &, const size_t indent, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::enable_if< data::HasSerialize< T >>::type *=0)
For a serializable type, print a cppclass definition.