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

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::bindings
 
 mlpack::bindings::python
 

Functions

template
<
typename
T
>
void ImportDecl (util::ParamData &d, const size_t indent, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0, const typename std::enable_if< data::HasSerialize< T >::value >::type *=0)
 For a serializable type, print a cppclass definition. More...

 
template
<
typename
T
>
void ImportDecl (util::ParamData &, const size_t, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0)
 For a non-serializable type, print nothing. More...

 
template
<
typename
T
>
void ImportDecl (util::ParamData &, const size_t, const typename std::enable_if< arma::is_arma_type< T >::value >::type *=0)
 For a matrix type, print nothing. More...

 
template
<
typename
T
>
void ImportDecl (util::ParamData &d, const void *indent, void *)
 Print the cppclass definition for a serializable model; print nothing for a non-serializable type. More...

 

Detailed Description

Author
Ryan Curtin

For a serializable model, print the class import.

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