mlpack
Public Member Functions | List of all members
mlpack::bindings::python::PyOption< T > Class Template Reference

The Python option class. More...

#include <py_option.hpp>

Public Member Functions

 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...
 

Detailed Description

template<typename T>
class mlpack::bindings::python::PyOption< T >

The Python option class.

Constructor & Destructor Documentation

◆ 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: