nothing_initializer.hpp
Go to the documentation of this file.
1 
14 #ifndef MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
15 #define MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
16 
17 #include <mlpack/prereqs.hpp>
18 
19 namespace mlpack {
20 namespace sparse_coding {
21 
28 {
29  public:
35  static void Initialize(const arma::mat& /* data */,
36  const size_t /* atoms */,
37  arma::mat& /* dictionary */)
38  {
39  // Do nothing!
40  }
41 };
42 
43 } // namespace sparse_coding
44 } // namespace mlpack
45 
46 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when th...
The core includes that mlpack expects; standard C++ includes and Armadillo.
static void Initialize(const arma::mat &, const size_t, arma::mat &)
This function does not initialize the dictionary.