mlpack 3.4.2
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
19namespace mlpack {
20namespace 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
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.
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.