mlpack
3.4.2
mlpack-3.4.2
src
mlpack
methods
sparse_coding
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
27
class
NothingInitializer
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
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
mlpack::sparse_coding::NothingInitializer::Initialize
static void Initialize(const arma::mat &, const size_t, arma::mat &)
This function does not initialize the dictionary.
Definition:
nothing_initializer.hpp:35
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
add_to_cli11.hpp:21
mlpack::sparse_coding::NothingInitializer
A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when th...
Definition:
nothing_initializer.hpp:28
Generated by
1.8.20