print_param_table.hpp File Reference
Include dependency graph for print_param_table.hpp:

Go to the source code of this file.


void PrintParamTable (const std::string &bindingName, const std::string &language, mlpack::util::Params &params, const std::set< std::string > &headers, std::unordered_set< std::string > &paramsSet, const bool onlyHyperParams, const bool onlyMatrixParams, const bool onlyInputParams, const bool onlyOutputParams)
 Print a table in markdown format that contains a list of parameters. More...


Detailed Description

Nippun Sharma

Prints a table with the parameters of a binding based on certain conditions.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see for more information.

Definition in file print_param_table.hpp.

Function Documentation

◆ PrintParamTable()

void PrintParamTable ( const std::string &  bindingName,
const std::string &  language,
mlpack::util::Params params,
const std::set< std::string > &  headers,
std::unordered_set< std::string > &  paramsSet,
const bool  onlyHyperParams,
const bool  onlyMatrixParams,
const bool  onlyInputParams,
const bool  onlyOutputParams 

Print a table in markdown format that contains a list of parameters.

bindingNameparameters corresponding to bindingName.
languageparameters for a particular language.
paramsParams object.
headerswhich headers to print (eg: Name, Default, etc.).
paramsSetto prevent printing a parameter more than once.
onlyHyperParamsprint only hyper-parameters.
onlyMatrixParamsprint only matrix-parameters.
onlyInputParamsprint only input-parameters.
onlyOutputParamsprint only output-parameters.