print_model_util.hpp File Reference
Include dependency graph for print_model_util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 
strip_type.hpp
 
 mlpack::bindings
 
 mlpack::bindings::go
 

Functions

template
<
typename
T
>
void PrintModelUtilCPP (const util::ParamData &, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Non-serializable models don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilCPP (const util::ParamData &, const typename boost::enable_if< arma::is_arma_type< T >>::type *=0)
 Matrices don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilCPP (const util::ParamData &, const typename boost::enable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Matrices with Info don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilCPP (const util::ParamData &d, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::enable_if< data::HasSerialize< T >>::type *=0)
 Serializable models require a special class definition. More...

 
template
<
typename
T
>
void PrintModelUtilCPP (const util::ParamData &d, const void *, void *)
 Print the function to set and get serialization models from Go to mlpack. More...

 
template
<
typename
T
>
void PrintModelUtilGo (const util::ParamData &, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Non-serializable models don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilGo (const util::ParamData &, const typename boost::enable_if< arma::is_arma_type< T >>::type *=0)
 Matrices don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilGo (const util::ParamData &, const typename boost::enable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Matrices with Info don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilGo (const util::ParamData &d, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::enable_if< data::HasSerialize< T >>::type *=0)
 Serializable models require a special class definition. More...

 
template
<
typename
T
>
void PrintModelUtilGo (const util::ParamData &d, const void *, void *)
 Print the Go struct for Go serialization model and their associated set and get methods. More...

 
template
<
typename
T
>
void PrintModelUtilH (const util::ParamData &, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Non-serializable models don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilH (const util::ParamData &, const typename boost::enable_if< arma::is_arma_type< T >>::type *=0)
 Matrices don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilH (const util::ParamData &, const typename boost::enable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
 Matrices with Info don't require any special definitions, so this prints nothing. More...

 
template
<
typename
T
>
void PrintModelUtilH (const util::ParamData &d, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::enable_if< data::HasSerialize< T >>::type *=0)
 Serializable models require a special class definition. More...

 
template
<
typename
T
>
void PrintModelUtilH (const util::ParamData &d, const void *, void *)
 Print the function to set and get serialization models from Go to mlpack. More...

 

Detailed Description

Author
Yasmine Dumouchel

Print the functions and structs associated with serializable model. for generating the .cpp, .h, and .go binding.

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 http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file print_model_util.hpp.