14 #ifndef MLPACK_BINDINGS_GO_PRINT_DOC_FUNCTIONS_HPP 15 #define MLPACK_BINDINGS_GO_PRINT_DOC_FUNCTIONS_HPP 47 inline std::string
PrintValue(
const T& value,
bool quotes);
51 inline std::string
PrintValue(
const bool& value,
bool quotes);
56 inline std::string
PrintDefault(
const std::string& bindingName,
57 const std::string& paramName);
62 std::vector<std::tuple<std::string, std::string>>& );
69 template<
typename T,
typename... Args>
72 std::vector<std::tuple<std::string, std::string>>& results,
73 const std::string& paramName,
87 template<
typename T,
typename... Args>
89 const std::string& paramName,
97 template<
typename T,
typename... Args>
99 const std::string& paramName,
106 template<
typename... Args>
113 template<
typename... Args>
119 inline std::string
ProgramCall(util::Params& params,
125 inline std::string
PrintModel(
const std::string& modelName);
131 inline std::string
PrintDataset(
const std::string& datasetName);
137 inline std::string
ParamString(
const std::string& paramName);
142 inline bool IgnoreCheck(
const std::string& paramName);
148 inline bool IgnoreCheck(
const std::vector<std::string>& constraints);
155 const std::vector<std::pair<std::string, bool>>& constraints,
156 const std::string& paramName);
163 #include "print_doc_functions_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
void GetOptions(util::Params &, std::vector< std::tuple< std::string, std::string >> &)
std::string PrintOutputOptions(util::Params &)
std::string PrintDataset(const std::string &datasetName)
Given the name of a matrix, print it.
std::string GetBindingName(const std::string &bindingName)
Given the name of a binding, print its Go name.
std::string PrintModel(const std::string &modelName)
Given the name of a model, print it.
std::string PrintDefault(const std::string &bindingName, const std::string ¶mName)
Given a parameter name, print its corresponding default value.
std::string ProgramCall(const std::string &programName, Args... args)
Given a name of a binding and a variable number of arguments (and their contents), print the corresponding function call.
std::string PrintInputOptions(util::Params &)
std::string PrintInputOptionInfo()
Print any special information about input options.
std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
std::string ParamString(const std::string ¶mName)
Given the parameter name, determine what it would actually be when passed to the command line...
std::string PrintImport()
Print any import information for the Go binding.
bool IgnoreCheck(const std::string ¶mName)
Print whether or not we should ignore a check on the given parameter.
std::string PrintOptionalInputs(util::Params &)
std::string PrintOutputOptionInfo()
Print any special information about output options.