DeduceHyperParameterTypes< Args > Struct Template Reference

A type function for deducing types of hyper-parameters from types of arguments in the Optimize method in HyperParameterTuner. More...

Classes

struct  ResultHolder
 

Detailed Description


template<typename... Args>
struct mlpack::hpt::DeduceHyperParameterTypes< Args >

A type function for deducing types of hyper-parameters from types of arguments in the Optimize method in HyperParameterTuner.

We start by putting all types of the arguments into Args, and then process each of them one by one and put results into the internal struct ResultHolder. By the end Args become empty, while ResultHolder holds the tuple type of hyper-parameters.

Here we declare and define DeduceHyperParameterTypes for the end phase when Args are empty (all argument types have been processed).

Definition at line 34 of file deduce_hp_types.hpp.


The documentation for this struct was generated from the following file: