MLPACK  1.0.11
nothing_initializer.hpp
Go to the documentation of this file.
1 
24 #ifndef __MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
25 #define __MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
26 
27 #include <mlpack/core.hpp>
28 
29 namespace mlpack {
30 namespace sparse_coding {
31 
38 {
39  public:
45  static void Initialize(const arma::mat& /* data */,
46  const size_t /* atoms */,
47  arma::mat& /* dictionary */)
48  {
49  // Do nothing!
50  }
51 };
52 
53 }; // namespace sparse_coding
54 }; // namespace mlpack
55 
56 #endif
A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when th...
static void Initialize(const arma::mat &, const size_t, arma::mat &)
This function does not initialize the dictionary.