The Python option class.
More...
#include <py_option.hpp>
|
| PyOption (const T defaultValue, const std::string &identifier, const std::string &description, const std::string &alias, const std::string &cppName, const bool required=false, const bool input=true, const bool noTranspose=false, const std::string &="") |
| Construct a PyOption object. More...
|
|
template<typename T>
class mlpack::bindings::python::PyOption< T >
The Python option class.
◆ PyOption()
template<typename T >
mlpack::bindings::python::PyOption< T >::PyOption |
( |
const T |
defaultValue, |
|
|
const std::string & |
identifier, |
|
|
const std::string & |
description, |
|
|
const std::string & |
alias, |
|
|
const std::string & |
cppName, |
|
|
const bool |
required = false , |
|
|
const bool |
input = true , |
|
|
const bool |
noTranspose = false , |
|
|
const std::string & |
= "" |
|
) |
| |
|
inline |
Construct a PyOption object.
When constructed, it will register itself with IO. The testName parameter is not used and added for compatibility reasons.
The documentation for this class was generated from the following file: