13 #ifndef MLPACK_BINDINGS_CLI_GET_ALLOCATED_MEMORY_HPP 14 #define MLPACK_BINDINGS_CLI_GET_ALLOCATED_MEMORY_HPP 26 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0)
34 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0)
42 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
47 typedef std::tuple<T*, std::string> TupleType;
48 return std::get<0>(*boost::any_cast<TupleType>(&d.
value));
57 GetAllocatedMemory<typename std::remove_pointer<T>::type>(d);
boost::any value
The actual value that is held.
Linear algebra utility functions, generally performed on matrices or vectors.
This structure holds all of the information about a single parameter, including its value (which is s...
void * GetAllocatedMemory(util::ParamData &, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0)