12 #ifndef MLPACK_BINDINGS_PYTHON_PRINT_DEFN_HPP 13 #define MLPACK_BINDINGS_PYTHON_PRINT_DEFN_HPP 31 std::string name = (d.
name ==
"lambda") ?
"lambda_" : d.
name;
34 if (std::is_same<T, bool>::value)
35 std::cout <<
"=False";
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 PrintDefn(const util::ParamData &d, const void *, void *)
Print the definition for a Python binding parameter to stdout.
std::string name
Name of this parameter.
bool required
True if this option is required.